Anyway, I'll send you the source to my DirectDraw graphics library if you want it. I personally think its pretty nice myself (I use it in all my projects), but theres plenty of room for improvement.
--TheGoop
Anyway, I'll send you the source to my DirectDraw graphics library if you want it. I personally think its pretty nice myself (I use it in all my projects), but theres plenty of room for improvement.
--TheGoop
In a windows program you should never use main, only WinMain(). Although you can create a window from a console app its not good style -- and from what your saying it doesn't sound like it works all the time.
--TheGoop
Former Microsoft XNA and Xbox MVP | Check out my blog for random ramblings on game development
And I do agree with an earlier post about getting "Windows Game Programming for Dummies". Don't let the "Dummies" fool ya as Andre Lamothe does quite well in explaining DirectX components DirectDraw,Sound,Input as well as Windows GDI. No Direct3D but he covers that in some of his other books (I think).
Wesley Liu
"just create a new WIN32 Console Application project, insert your dos code (using main()), #include windows.h & windowsx.h and it should fire right up."
Wesley Liu
------------------
~~~~~~~~~~~~~~~~~~~~~~~~
Currently Network Engineer but soon to be full-time Game Developer!!