The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Big Duke 6 on July 26, 2009, 07:29:43 PM

Title: Win32 API
Post by: Big Duke 6 on July 26, 2009, 07:29:43 PM
After much studying of MASM32, I have come to the conclusion that I am terribly lacking in understanding/knowing Win32 API. I do have a very solid foundation in ASM programming, and I have no trouble at all with finding info on that area.

Are there any texts, books, websites etc. that can help me learn API and how to employ it within the context of MASM32?

Thank you.
Title: Re: Win32 API
Post by: dedndave on July 26, 2009, 07:35:28 PM
well - microsoft has an online reference for API functions
i keep a list in my browser "favorites"
if there is one i do not have, i type it into google and look for the result that takes you to msdn
then, i open it and add it to the favorites
there are many offline references, but they do not get updated as often
and, of course, the database is rather large
so far, i have only played with console mode stuff (i am almost ready to graduate to gui, i think - lol)
but, i have taken my API favorites folder and zipped it for you, Duke
unzip it and stick it in your browser favorites folder - it will get you started
i also have an instruction set reference and Ray's FPU tutorial added in there

[attachment deleted by admin]
Title: Re: Win32 API
Post by: Vortex on July 26, 2009, 07:56:44 PM
Hi Big Duke 6,

Try to study Iczelion's Win32 Assembly tutorial set. It's one of the best sources to learn about how to use Win32 API with assembly :

http://win32assembly.online.fr/tutorials.html
Title: Re: Win32 API
Post by: MichaelW on July 26, 2009, 09:08:31 PM
You could install one of the available PSDKs, for example:  Windows® Server 2003 SP1 Platform SDK Full Download (http://www.microsoft.com/downloads/details.aspx?familyid=EBA0128F-A770-45F1-86F3-7AB010B398A3&displaylang=en)
Title: Re: Win32 API
Post by: Astro on July 27, 2009, 01:39:56 AM
Great link Michael! I could only find the Vista PSDK.

Best regards,
Astro.
Title: Re: Win32 API
Post by: GregL on July 27, 2009, 03:44:32 AM
Astro,

MSDN (http://msdn.microsoft.com/en-us/library/aa139672.aspx) is your friend.
Title: Re: Win32 API
Post by: chlankboot on July 27, 2009, 06:04:31 AM
Here is a chm compiled file on windows apis: Windows_API.chm - 1.3 Mb (http://www.nineshare.com/dl/9tku6e2vqtq5/Windows_API.chm)
Title: Re: Win32 API
Post by: sinsi on July 27, 2009, 06:31:29 AM
Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1: RC (http://www.microsoft.com/downloads/details.aspx?FamilyID=f75f2ca8-c1e4-4801-9281-2f5f28f12dbd&displaylang=en)

That's the web setup, there is a link on that page for the full dvd-iso.
Title: Re: Win32 API
Post by: hutch-- on July 27, 2009, 08:47:37 AM
If you can still find it, get the old WIN32.HLP file as it is a lot faster than the later stuff but note that some of it is out of date.
Title: Re: Win32 API
Post by: donkey on July 27, 2009, 09:35:24 AM
Quote from: hutch-- on July 27, 2009, 08:47:37 AM
If you can still find it, get the old WIN32.HLP file as it is a lot faster than the later stuff but note that some of it is out of date.

It is in the older HLP format and Vista no longer supports it, you'll have to download and install WinHelp32.

http://support.microsoft.com/kb/917607

The win32.hlp help file is grossly out of date, contains errors and is missing pretty much everything that comes after Windows 95 so I would suggest you look elsewhere for a help file, the MSDN library (http://www.microsoft.com/downloads/details.aspx?FamilyID=7BBE5EDA-5062-4EBB-83C7-D3C5FF92A373&displaylang=en) is excellent, free and my help viewer for it is fast and easy to use.
Title: Re: Win32 API
Post by: rags on July 27, 2009, 09:38:03 AM
Michael's link seems to work for me.
Title: Re: Win32 API
Post by: Astro on July 27, 2009, 10:06:04 AM
Yes - been using MSDN for years.  :U

Needed the PSDK for a sample.

Best regards,
Astro.
Title: Re: Win32 API
Post by: Slugsnack on July 27, 2009, 12:07:07 PM
downloaded MSDN library is good if you have a fast computer. else it'll probably slow you down cause it takes ages to load. in which case you'd probably be better off getting one of the smaller libraries or just doing it off the internet
Title: Re: Win32 API
Post by: Big Duke 6 on August 07, 2009, 05:10:47 PM
Thank you so very much to all of you.

I was really missing this place in a big way. Life kinda sorta has gotten in the way lately. I've been taking care of a family member who had surgery.

I'll be back! :bg
Title: Re: Win32 API
Post by: zjw on August 08, 2009, 05:15:59 AM
Old API download URL:
http://www.pediy.com/document/API/win32api.zip
Title: Re: Win32 API
Post by: BATSoftware on August 12, 2009, 06:08:30 AM
Get a copy of the Visual Studio 6.0A/B MSDN documentation. Propbably THE best WinAPI resource. Examples abound and normally are in either Visual BASIC, C or some C++ - mostly C and Visual BASIC. Probably the last real WINAPI documentation provided by Microcrap before they decided to lie and use J++ C# and .NET crap. Infact the newer version of documentation MSDN provids that still talk about the WinAPI is often stolen hook and sinker from the 6.0 documentation. Of course improvements are missing, but not many. The ones that are tend to be XP/VISTA specfic and quite frankly can be ignored or replicated some other way.

Learn a bit and u can have a 100% UNICODE application that runs on any Windows OS 95 and later. You know, Windows 98 is fully capable of UNICODE, Microsoft just doent what you to know how, cuts into their meglomanic world domination schick.