flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > resource bug?

Author
Thread Post new topic Reply to topic
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
Hi Tomasz, it seems there are bug in 'dialogitem' macro or somewhere in resource.inc (i don't know)

check attached source code, after compiling our resource section is broken (take a look on resource section with resource editor)

thanks for attention


Description: bug reproduction
Download
Filename: res_bug.asm
Filesize: 1.87 KB
Downloaded: 67 Time(s)


_________________
[not enough memory]
Post 25 Nov 2006, 14:56
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7721
Location: Kraków, Poland
Tomasz Grysztar
You should have written:
Code:
dialog dlg,'',...    

instead of
Code:
dialog dlg,0,...    

The second parameter is a caption, so it must be a string (those macros are perhaps the oldest fasm's macros for Win32, almost unchanged since then - and so they do little checking of parameters).
Post 25 Nov 2006, 15:12
View user's profile Send private message Visit poster's website Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
thanks
Post 25 Nov 2006, 19:44
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-2020, Tomasz Grysztar.

Powered by rwasa.