Message board for the users of flat assembler.
> Windows > Beginner and undefined symbol error
When I typed in Sulaiman Chang's version Iczelion's
A Simple Window I got a few errors,
First was: include '%fasminc%\win32a.inc'
which I fixed with: include '%include%\win32a.inc'
Next was a return which I fixed with ret and
now another problem,
X Error: undefined symbol
I tracked proc32.inc to c:\fasmw\include\MACRO
which didn't contain any LoadCursor.
It tried replacing it from the TEMPLATE found
in the EXAMPLES folder without success?
; invoke LoadCursor, NULL, IDC_ARROW
The TEMPLATE example does compile and run ok.
|16 Sep 2005, 23:39||
change the line:
|17 Sep 2005, 08:23||
hi casey... sorry for all the troubles
i guess 90% of the translated code don't work already.. coz some changes in fasm.
i try to see if i could do an update...
but.. that means. everytime fasm updates, i need to update also
|17 Sep 2005, 10:35||
It is working now. Apart from a need to change %fasminc% to %include%
and return to ret, the only problem was a typo. I left out the line in the
section '.idata' containing the LoadCursor! I typed the source in with
the idea that I was learning better that way instead of a simple cut,paste.
|17 Sep 2005, 11:10||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.