Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 24th, 2005, 12:23 PM   #1
vynkz
Newbie
 
Join Date: Apr 2005
Posts: 9
Rep Power: 0 vynkz is on a distinguished road
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
vynkz is offline   Reply With Quote
Old Apr 24th, 2005, 12:28 PM   #2
layer
Hobbyist Programmer
 
Join Date: Feb 2005
Posts: 112
Rep Power: 4 layer is on a distinguished road
Do you mean the Win32 GUI CreateWindowEx or the API MessageBox, or something else?
layer is offline   Reply With Quote
Old Apr 24th, 2005, 1:12 PM   #3
vynkz
Newbie
 
Join Date: Apr 2005
Posts: 9
Rep Power: 0 vynkz is on a distinguished road
I followed some tutorials at http://www.winprog.org/tutorial/ and they call it Win32 API programming.
vynkz is offline   Reply With Quote
Old Apr 24th, 2005, 1:23 PM   #4
Eggbert
Professional Programmer
 
Eggbert's Avatar
 
Join Date: Nov 2004
Posts: 250
Rep Power: 5 Eggbert is on a distinguished road
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.
Eggbert is offline   Reply With Quote
Old Apr 24th, 2005, 1:33 PM   #5
vynkz
Newbie
 
Join Date: Apr 2005
Posts: 9
Rep Power: 0 vynkz is on a distinguished road
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!
vynkz is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:31 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC