Re: Asm for Windows



On Tue, 26 Feb 2008 23:26:18 -0800 (PST), Muscipula
<spamtrap@xxxxxxxxxx> wrote:

Hi Folks

Can anybody recommend a book that explains the Windows API. I wish to
use A386, so preferably a book that covers low level programming.

TIA

Muscipula


The tutorials that came with MASM32 were quite helpful in getting me
started. I particularly recommend the Iczelion tutorials, which you
can find separately via a Google search.

If you are not using MASM32 you may need to replace the INVOKE
directive with your own variable pushes, etc. INVOKE is a lot cleaner
and safer, especially if you are starting out, IMHO.

As far as the Win32 API itself, I don't know of any printed books
that are aimed at assembler, but you really don't need that. A good
C book should tell you what you need. Petzold is the classic,
but there are others. I found that Petzold was useful for
understanding certain fundamental Windows approaches, but
for me it spent too much time on topics I didn't need.

A more useful resource is the original WinHelp API (or, if you have
a fast connection, MSDN itself). The Help file came with Borland's
Delphi and is still available. A quick Google search turns up this
link:

http://www.borland.com/devsupport/borlandcpp/patches/BC52HLP1.ZIP

It's about 5.5 MB and contains info on all original Win95 and NT API
functions. This should be adequate for almost all "normal"
programming (whatever that is!). It lacks certain Shell Extension
commands and other things I never use, but will surely get you
off to a good start even if you later decide you need those.

It is REALLY handy to be able to instantly pop this up while you are
coding, to check parameter order, structures, etc. But it also
contains quite a lot of basic "how to" information.

Between this and the Iczelion tutorials you can probably get off to a
decent flying start without any paper books at all.

Best regards,



Bob Masta

DAQARTA v3.50
Data AcQuisition And Real-Time Analysis
www.daqarta.com
Scope, Spectrum, Spectrogram, FREE Signal Generator
Science with your sound card!

.



Relevant Pages

  • Re: QbnEndPreProcessor
    ... We recommend that API qbnAddAssociatedSpaceEntry not be used. ... exports of the srvpgm before it was recreated. ...
    (comp.sys.ibm.as400.misc)
  • Re: how to get physical RAM size
    ... And I wouldn't either ever recommend to do so as this ... > might fail in future OS versions. ... Do we have API atleast in user mode so that I can pass it to my ...
    (microsoft.public.development.device.drivers)
  • Re: question about DES API
    ... >Anyone can explain this to me or recommend any detail document about ... >these API? ... Canadian Mind Products, Roedy Green. ...
    (comp.lang.java.programmer)
  • Re: CRC check on files
    ... AD> recommend? ... there's no suitable solution at the moment. ... If you want to create some piracy protection, ... protection using that solution and it's API. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: VBA / VBS to get Desktop folder string
    ... How I am supposed to know how reliable the API is, ... programmers who design these applications make use of environment variables ... bypassing the Windows API set up for just this purpose, ... written will always be more secure than the Windows Registry, ...
    (microsoft.public.access.modulesdaovba)