HI all!
i have a program! i know just a few about win32 asm!
know i have a question:
i need the path of the current opend file!
i mean, like "app.path+app.name+".exe" in visual basic!
can anybody helps me???
thanks alot!
hellsbells!
i have a program! i know just a few about win32 asm!
know i have a question:
i need the path of the current opend file!
i mean, like "app.path+app.name+".exe" in visual basic!
can anybody helps me???
thanks alot!
hellsbells!
Try this
.data?
szBuffer db 512 dup (?)
.code
invoke GetModuleFileName,NULL,offset szBuffer,sizeof szBuffer
invoke MessageBox,hWin,offset szBuffer,offset szBuffer, MB_OK
Hi!
ok, i'm going to try in the next minutes!
much thanks!
HellsBells
ok, i'm going to try in the next minutes!
much thanks!
HellsBells