Original Post
Hi there,
I think this question can be added to the "dumb question top 10,000" but I''ll ask it anyway.
I bought the book Tricks of The Windows Game Programming Gurus by andre Lamothe and I''m in the chapter where he starts with some simple GDI operations. So I wrote a simple program that does what the explained to me. Just to print some plain text in a random color in the window. But when I compile I get an undeclared symbol ''GetDC'' and ''ReleaseDC''
I included MMSYSTEM.H and WINMM.LIB in my workspace. I don''t use MFC(#define WIN32_LEAN_AND_MEAN). I use Visual C++ 6 Enterprise with Service Pack 5. I looked in the book, overlooked the sources provided on the CD, but I don''t get it!
Sand Hawk
Member of the Stupid Coders.
http://www.stupidcoders.cjb.net
-Earth is 98% full. Please delete anybody you can.