![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Apr 2005
Posts: 9
Rep Power: 0
![]() |
Windows API programming quick question
Hello all, i have a quick question about win32 api programming using the IDE DevC++. Everytime i compile it comes out ok and everything but it's always accompanied by a command prompt everytime i run the exe. Am i doing something wrong? It happens with every single file i run. Thanks in advance
![]() |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Feb 2005
Posts: 112
Rep Power: 4
![]() |
Do you mean the Win32 GUI CreateWindowEx or the API MessageBox, or something else?
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Apr 2005
Posts: 9
Rep Power: 0
![]() |
I followed some tutorials at http://www.winprog.org/tutorial/ and they call it Win32 API programming.
|
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Nov 2004
Posts: 250
Rep Power: 4
![]() |
When you created your project, was it a Console Application or a Windows Application? The former will always spawn a console window while the latter will require you to define your own WinMain to build a window manually if you so choose.
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Apr 2005
Posts: 9
Rep Power: 0
![]() |
Whow I see what the problem is now lol, I kept using the new "source file" option instead of "project". I just re did the code in the project section and no dos prompt comes up anymore thanks for the help!
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|