|
-
Yet another DDraw Question
Alright so here's the problem...
I am trying to plot some pixels (and i'm completely new at this) using direct draw. I create the surface, have locked it and have the pitch and pointer to the surface. I defined a function plotPixel32 in a separate file uColor.cpp, with header uColor.h and have the uColor as an include in my main.cpp. When I try to call plotPixel32, i get the following error
main.obj : error LNK2001: unresolved external symbol "void __cdecl PlotPixel32(int,int,unsigned int,unsigned int *,int)" (?PlotPixel32@@YAXHHIPAIH@Z)
I figured that there was something wrong with the way i'm including it or anything. Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|