The MASM Forum Archive 2004 to 2012

Project Support Forums => GoAsm Assembler and Tools => Topic started by: donkey on February 22, 2009, 08:29:49 PM

Title: Quotes in invoke problem
Post by: donkey on February 22, 2009, 08:29:49 PM
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
Title: Re: Quotes in invoke problem
Post by: jorgon on February 28, 2009, 11:21:36 AM
Hi Edgar

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

Title: Re: Quotes in invoke problem
Post by: jorgon on February 28, 2009, 05:43:35 PM
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]
Title: Re: Quotes in invoke problem
Post by: donkey on March 01, 2009, 12:00:44 AM
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.
Title: Re: Quotes in invoke problem
Post by: jorgon on March 01, 2009, 11:15:59 AM
Thanks very much for letting me know, Edgar.