News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Quotes in invoke problem

Started by donkey, February 22, 2009, 08:29:49 PM

Previous topic - Next topic

donkey

Hi Jeremy,

I was using the html help library and ran into the following bug..

This works fine
push 0
push HH_DISPLAY_TOPIC
push offset szHelpFile
push 0
call 'C:\Program Files\HTML Help Workshop\Lib\Htmlhelp.lib':HtmlHelpA


This doesn't
invoke 'C:\Program Files\HTML Help Workshop\Lib\Htmlhelp.lib':HtmlHelpA,0,offset szHelpFile,HH_DISPLAY_TOPIC,0

GoAsm.Exe Version 0.56.4n - Copyright Jeremy Gordon 2001/9 - JG@JGnet.co.uk

Error!
Line 27 of assembler source file (testbed.asm):-
Misplaced quoted string:-
'C:\Program Files\HTML Help Workshop\Lib\Htmlhelp.lib':HtmlHelpA,0,offset szHelpFile,HH_DISPLAY_TOPIC,0
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

jorgon

Hi Edgar

Thanks for the bug report - I'll look into this.

Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)

jorgon

Hi Edgar

Here is a fix for this problem.
GoAsm Version 0.56.5a.

The jump from 0.56.4 to 0.56.5 was not because we were getting near the end of the alphabet, but because of the 64-bit bug found by daver and reported on 3rd February  2009.




[attachment deleted by admin]
Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)

donkey

Hi Jeremy,

Works great. Eventually I used hhctrl.ocx and called the function directly and then scrapped even that and I'm now writing my own implementation of the HHelp 1.3 reader (so I can open CHM files in Help2 viewer) using the ITS storage class but it's good to know its fixed.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

jorgon

Thanks very much for letting me know, Edgar.

Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)