flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > new import macros

Author
Thread Post new topic Reply to topic
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 18 Oct 2006, 19:46
tomasz: wouldn't it be better to do "label MessageBox dword at MessageBoxA" instead of additional import named MessageBox? I am not sure if macros handle this or declare two imports, but any way, my proposal should work nicer
Post 18 Oct 2006, 19:46
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 19 Oct 2006, 15:49
You may be right. I still haven't decided for the best solution, though.

Also note that you would have to put this label inside "if used" block, as declaring such label "touches" the MessageBoxA symbols and makes the import entry for it. Perhaps some additional macro for making import aliases would be a good idea.
Post 19 Oct 2006, 15:49
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 26 Oct 2006, 19:51
I did it by adding another macro - and this way there's now only one API directory instead of APIA and APIW.
Post 26 Oct 2006, 19:51
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.