flat assembler
Message board for the users of flat assembler.

Index > Windows > odd error assembling (undefined symbols)

Author
Thread Post new topic Reply to topic
tangent



Joined: 21 Nov 2007
Posts: 9
tangent 06 Sep 2009, 18:08
dlgtest.asm [30]:
cmp [wparam],BN_CLICKED shl 16 + IDTEST
error: undefined symbol 'IDTEST'.

which is pretty odd to me, considering that IDCANCEL is defined the same way and is referenced before IDTEST, though fasm doesn't have any problem with it.. i've received this error with fasm 1.69.04 and 1.68
thanks for the help


Description:
Download
Filename: dlgtest.asm
Filesize: 1.67 KB
Downloaded: 1725 Time(s)


_________________
arg
Post 06 Sep 2009, 18:08
View user's profile Send private message AIM Address MSN Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20478
Location: In your JS exploiting you and your system
revolution 07 Sep 2009, 00:52
IDCANCEL is defined in equates/user32.inc (included by win32a.inc)

But you have not defined the value of IDTEST anywhere in your code.

Add this line somewhere:
Code:
IDTEST = 1000    
Post 07 Sep 2009, 00:52
View user's profile Send private message Visit poster's website 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.