The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Astro on October 05, 2011, 09:04:21 PM

Title: Building Windows Forms Apps in MASM
Post by: Astro on October 05, 2011, 09:04:21 PM
Anyone any tips on writing winform apps in assembler? I quit with C++ PERMANENTLY !!!!!!!!! I can't even open an open source resource file as part of a VS9 project without errors.

I've done quite a bit in console, and happy with most things I think (though I have been away from it for long enough to forget a few things already  :red ) but now I need to go all-out on writing a Windows GUI app.

I know about Iczelion's tutorials so will go over those again from the top (they were very useful), but looking for any tips, good editors to use (I did get a GUI editor for MASM but can't remember what it was called).

Thanks in advance!
Title: Re: Building Windows Forms Apps in MASM
Post by: hutch-- on October 05, 2011, 09:18:51 PM
Robin,

At the risk of sounding partisan, try the code generators in the MASM32 project. Editors are like girlfriends, you pick the one(s) that best suit your programming style but GUI windows in MASM are no big deal and you can do anything that API code can do with  real precision. i have attached a simple template for a bare window with a manifest file and a version control block. It comes in at a bloated 6k.  :bg
Title: Re: Building Windows Forms Apps in MASM
Post by: dedndave on October 05, 2011, 11:26:11 PM
i thought the term "forms" implied dotNOT in MS speak   :P
Title: Re: Building Windows Forms Apps in MASM
Post by: hutch-- on October 06, 2011, 02:22:25 AM
Nah,

Windows were called "Forms" in VB 1.
Title: Re: Building Windows Forms Apps in MASM
Post by: Astro on October 06, 2011, 12:37:43 PM
Thanks for the sample Hutch!

Learning VB was the worst thing I ever did.  :eek  I think I'm also dyslexic and struggle with all the brackets and braces.  :boohoo: