The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Tokman on December 03, 2008, 04:21:21 AM

Title: masm32 console appier
Post by: Tokman on December 03, 2008, 04:21:21 AM
Hi I try to learning masm32 version 10 I have Vista x64 OS
Well I downloaded a tutorial but I have got a problem.
I start the exe file and program work correctly only appier a clear form.
Well I open the asm file and I click to build all.
Build successful.
After This I try to run the program and I see my form but I see also a blank console.
If I close the blank console the program(my clear form) will close also.
I upload my sourcecode obj file and exe file.
Pls help me

[attachment deleted by admin]
Title: Re: masm32 console appier
Post by: BogdanOntanu on December 03, 2008, 08:28:48 AM
How did you build it?
As a console application or as a GUI application?
Title: Re: masm32 console appier
Post by: Vortex on December 03, 2008, 06:20:09 PM
Hi Tokman,

You built your project as console application and this is why you see a blank console. Try to build the executable as GUI application and the console will disappear.

link /SUBSYSTEM:WINDOWS Form.obj