Advertisement

Win32 Windows

Started by January 09, 2003 05:14 PM
1 comment, last by dopamine 21 years, 10 months ago
If I want to create a Win32 application without using MS Visual Studio. How would I create a standard windows "window" instead of a console application? I can''t figure it out for the life of me. Thanks in advance.
Is your problem with the code to create a window, or compiling it? If you need the code i suggest http://winprog.org/tutorial if the problem is the compiler which compiler are you using?
Advertisement
You need a compiler/linker that is compatible with the Win32 libs - DevC++ works (AFAIK).

Then, you just set up your windows app in the normal way, with a WinMain() function etc. Include <windows.h>. Link to kernel32.lib, user32.lib, and gdi32.lib - and that should be all.

Superpig
- saving pigs from untimely fates, and when he''s not doing that, runs The Binary Refinery.

Richard "Superpig" Fine - saving pigs from untimely fates - Microsoft DirectX MVP 2006/2007/2008/2009
"Shaders are not meant to do everything. Of course you can try to use it for everything, but it's like playing football using cabbage." - MickeyMouse

This topic is closed to new replies.

Advertisement