PDA

View Full Version : SetPixel linker error



madmardigan53
09-18-2003, 10:01 PM
When I use the SetPixel function w/ dev-cpp, it gives me a linker error. The SetPixel prototype is in wingdi.h.

VirtualAce
09-18-2003, 10:31 PM
Your compiler cannot find the actual code for SetPixel(). You need to link in the library that has the body of that function in it. Just including the header w/o linking the library won't work.