How do you make WIN32 Apps in Visual C++?

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
clessoulis
DCEmu Uncool Newbie
DCEmu Uncool Newbie
Posts: 2718
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Tue Apr 09, 2002 8:09 pm
Location: On top of the World
Has thanked: 0
Been thanked: 0

How do you make WIN32 Apps in Visual C++?

Post by clessoulis »

I only know how to use Code warrior so visual C++ seems a lot different getting it set up. Where do I add my own indepent file and code the file?

I got it working for dos but have no clue why it doesnt work for windows.
DNR the current kickass dc programer. Thanks
for the emulator I've been waiting 2 years for.

Thanks to Reaper2k2 also for showing interest into WSC emulation.

Selfbooting for Noobs
User avatar
toastman
Iron Fist of Justice
Iron Fist of Justice
Posts: 4933
Joined: Sat Nov 10, 2001 3:08 am
Location: New Orleans
Has thanked: 0
Been thanked: 0
Contact:

Post by toastman »

File->New

Works like a champ.
No signature.
clessoulis
DCEmu Uncool Newbie
DCEmu Uncool Newbie
Posts: 2718
Joined: Tue Apr 09, 2002 8:09 pm
Location: On top of the World
Has thanked: 0
Been thanked: 0

Post by clessoulis »

toastman wrote:File->New

Works like a champ.
Dude there so many files to choose from to start as new mind telling me a better than just new and file?
DNR the current kickass dc programer. Thanks
for the emulator I've been waiting 2 years for.

Thanks to Reaper2k2 also for showing interest into WSC emulation.

Selfbooting for Noobs
AmadeusZull
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4085
Joined: Wed Oct 17, 2001 7:44 pm
Location: NYC
Has thanked: 0
Been thanked: 0
Contact:

Post by AmadeusZull »

heh, does you program just does print something then exits?

well then of course once that process is terminated, windows will close that exe file.

so the program never really looks like it ran.
Image

I am no longer an ACE@ite. Never will I kiss his feet is what I don't. And that I don't, is good I do.
User avatar
toastman
Iron Fist of Justice
Iron Fist of Justice
Posts: 4933
Joined: Sat Nov 10, 2001 3:08 am
Location: New Orleans
Has thanked: 0
Been thanked: 0
Contact:

Post by toastman »

clessoulis wrote:
toastman wrote:File->New

Works like a champ.
Dude there so many files to choose from to start as new mind telling me a better than just new and file?
Just do what I do. Pull out that trusty old manual I know you have at your side and look it up. (Hint: It comes in the box with all of the CDs)
No signature.
clessoulis
DCEmu Uncool Newbie
DCEmu Uncool Newbie
Posts: 2718
Joined: Tue Apr 09, 2002 8:09 pm
Location: On top of the World
Has thanked: 0
Been thanked: 0

Post by clessoulis »

toastman wrote:
clessoulis wrote:
toastman wrote:File->New

Works like a champ.
Dude there so many files to choose from to start as new mind telling me a better than just new and file?
Just do what I do. Pull out that trusty old manual I know you have at your side and look it up. (Hint: It comes in the box with all of the CDs)
Damnit you know I didnt have box with my cd.
DNR the current kickass dc programer. Thanks
for the emulator I've been waiting 2 years for.

Thanks to Reaper2k2 also for showing interest into WSC emulation.

Selfbooting for Noobs
reaper2k2
DC Developer
DC Developer
Posts: 2648
Joined: Sun Mar 24, 2002 7:48 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by reaper2k2 »

Never admit to warez people do scan these forums for warez and the ip number is posted with your posts.....


It's never wize i know some one that went down for warez and they take every think in your house


even your wierd ass porn vcd's under your bed
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *

http://r2k2gate.topcities.com *dev site and my releases*
Image
Im' a Commodorian are you?
NightHammer
Psychotic DCEmu
Psychotic DCEmu
Posts: 747
Joined: Tue Oct 08, 2002 11:37 am
Location: Back in my little hole in Russ Engineering Center
Has thanked: 0
Been thanked: 0
Contact:

Post by NightHammer »

What version did you ste...I mean buy? That's inportant you know....

Later!
NightHammer
All your systems are belong to me
clessoulis
DCEmu Uncool Newbie
DCEmu Uncool Newbie
Posts: 2718
Joined: Tue Apr 09, 2002 8:09 pm
Location: On top of the World
Has thanked: 0
Been thanked: 0

Post by clessoulis »

Its version is and its not warez copy belive it or not. Do i just set up win 32 stationary app?
DNR the current kickass dc programer. Thanks
for the emulator I've been waiting 2 years for.

Thanks to Reaper2k2 also for showing interest into WSC emulation.

Selfbooting for Noobs
ninja
DCEmu's own ninja
DCEmu's own ninja
Posts: 2381
Joined: Fri Sep 27, 2002 12:48 am
Has thanked: 0
Been thanked: 0

Post by ninja »

clessoulis wrote:
toastman wrote:
clessoulis wrote:
toastman wrote:File->New

Works like a champ.
Dude there so many files to choose from to start as new mind telling me a better than just new and file?
Just do what I do. Pull out that trusty old manual I know you have at your side and look it up. (Hint: It comes in the box with all of the CDs)
Damnit you know I didnt have box with my cd.
Yupp, we know where cless got his copy at :x
clessoulis wrote:Its version is and its not warez copy belive it or not. Do i just set up win 32 stationary app?
i choose not :twisted:
Delete my posting account.

Thanks.
ssj4goku128
Insane DCEmu
Insane DCEmu
Posts: 290
Joined: Wed Oct 17, 2001 7:44 pm
Has thanked: 0
Been thanked: 0

Post by ssj4goku128 »

Just add a new c++ source file after creating the app for adding new methods/functions that your program will use.
"So I gotta be carefull, can't let tha evil of tha money trap me
so when ya see me #@#$%
ya better holla at me "

Tupac Shakur[1971-1996]
Makaveli[1996-????]
ssj4goku128
Insane DCEmu
Insane DCEmu
Posts: 290
Joined: Wed Oct 17, 2001 7:44 pm
Has thanked: 0
Been thanked: 0

Post by ssj4goku128 »

Oh yeah, and use winmain for your main function.
"So I gotta be carefull, can't let tha evil of tha money trap me
so when ya see me #@#$%
ya better holla at me "

Tupac Shakur[1971-1996]
Makaveli[1996-????]
ReGex
FrNES Creator
FrNES Creator
Posts: 63
Joined: Wed Oct 17, 2001 7:44 pm
Location: Calgary, Alberta Canada
Has thanked: 0
Been thanked: 1 time
Contact:

Post by ReGex »

There's some tutorials here, that I used when I was learning to program the Win32 API. If you use these (alongside the MSDN knowledgebase, and a fairly thorough knowledge of C/C++ coding and debugging) you shouldn't have too much problems creating real Win32 apps.

http://www.relisoft.com

These tutorials became the base of my personal windows API app framework.

-ReGex
reaper2k2
DC Developer
DC Developer
Posts: 2648
Joined: Sun Mar 24, 2002 7:48 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by reaper2k2 »

ReGex wrote:There's some tutorials here, that I used when I was learning to program the Win32 API. If you use these (alongside the MSDN knowledgebase, and a fairly thorough knowledge of C/C++ coding and debugging) you shouldn't have too much problems creating real Win32 apps.

http://www.relisoft.com

These tutorials became the base of my personal windows API app framework.

-ReGex
cless has a problem using notepad HEH!
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *

http://r2k2gate.topcities.com *dev site and my releases*
Image
Im' a Commodorian are you?
Post Reply