Win32/MFC Question

Started by
1 comment, last by progrmr 20 years, 11 months ago
This might be stupid, but it wouldn''t be the first time I''ve asked a stupid question so here goes: I''ve done some MFC programming in VC++, not alot but some and a couple of years ago. Now in this new book I bought (Focus on 2D in Direct3d) the first code sample is using the Win32 API, rather than MFC to do the work of creating the window for the first project. Here''s the entry point: int WINAPI WinMain ( HINSTANCE hInstance , HINSTANCE hPrevInstance , LPSTR lpCmdLine , int nShowCmd ) Now, I''ve never done any WINAPI C++ and I think that I''m going to need to understand it to get further in this book. This is WINAPI programming and NOT MFC code right? Are there any freebies out there on programming Win32 applications in VC++ using the WINAPI? And where does one get the function prototypes for the methods that are in the API that I can use? Thanks - perhaps a beginning VC++ w/ WINAPI course will be necessary. ------------------------ Don''''t follow me - I''''m lost!
------------------------Don''t follow me - I''m lost!
Advertisement
For the benefit of others, the above code is the entry point into a Windows application that DOES NOT use MFC - MFC just wraps up most of the Win32 API.

If your interested in a tutorial for the Win32 API in C++, checkout this site:

http://www.relisoft.com/win32/

------------------------
Don''t follow me - I''m lost!

[edited by - progrmr on May 8, 2003 2:52:48 PM]
------------------------Don''t follow me - I''m lost!
Try this site: http://www.bloodshed.net/dev/doc/index.html.
It''s got the link to the win32.hlp file which contains I think all of the Win32 API calls. And there''s also a link on that site to theForger''s Win32 API Tutorial. Hope that helps.

This topic is closed to new replies.

Advertisement