flat assembler
Message board for the users of flat assembler.

Index > IDE Development > problem with 'begin' when using fasm macros, without libs

Author
Thread Post new topic Reply to topic
skingston



Joined: 11 Dec 2004
Posts: 19
skingston 12 Dec 2004, 06:02
Hi,
I am new to fasm & fresh.
I'm currently trying to use fresh's win32 macros, without using the libraries, but I have a compiler error at 'begin' in the first (and only) proc/endp procedure.

I get the error message: Error: undefined symbol << if .info.frame >> xedit.asm [78]
StdCallEx.inc [78]

Can anyone help?


Description: The main file
Download
Filename: xedit.asm
Filesize: 2.21 KB
Downloaded: 685 Time(s)

Post 12 Dec 2004, 06:02
View user's profile Send private message Reply with quote
skingston



Joined: 11 Dec 2004
Posts: 19
skingston 12 Dec 2004, 06:05
I should have mentioned that the error is in the aWndProc proc. If I rename it to something else and comment out the 'mov [wc.lpfnWndProc],aWndProc' line, it compiles without an error. But if I uncomment that line, and change the proc name, the error occurs again.
Post 12 Dec 2004, 06:05
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 12 Dec 2004, 07:22
In aWndProc, there is internal label "defwndproc", that is global label. In Fresh StdCallEx.inc proc macroses, you can't use global labels inside the procedure.
The solution is simple - rename the label to ".defwndproc". If you want to use this label outside aWndProc procedure you still can do it with: "aWndProc.defwndproc"

Regards.
Post 12 Dec 2004, 07:22
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
skingston



Joined: 11 Dec 2004
Posts: 19
skingston 12 Dec 2004, 08:03
Thanks
Post 12 Dec 2004, 08:03
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.