flat assembler
Message board for the users of flat assembler.

Index > Windows > Obtaining program's directory

Author
Thread Post new topic Reply to topic
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 15 Nov 2005, 19:26
What's the best way of obtaining program's directory? From GetCommandLine (but does it always contain full application's path?)?
Post 15 Nov 2005, 19:26
View user's profile Send private message Visit poster's website Reply with quote
ronware



Joined: 08 Jan 2004
Posts: 179
Location: Israel
ronware 15 Nov 2005, 20:44
invoke GetModuleHandle, 0
invoke GetModuleFileName, eax, app_file_name, 255
Post 15 Nov 2005, 20:44
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 15 Nov 2005, 21:45
thanks!
Post 15 Nov 2005, 21:45
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.