When an EXE-File is executed, the code is loaded into memory and processed there I think.
So it is possible to get the name of an EXE-File which was executed.
I ask this at the background of reading information from an EXE even if the user changed the name of the EXE. So the code which is executed needs to get the name of the EXE "to which it belongs".

hope someone will understand my trash

thx for any help
Posted on 2003-10-12 07:50:51 by ChigpA
GetModuleFileName ?
Posted on 2003-10-12 07:57:23 by roticv
thats it ... I am stupid
thx roticv
Posted on 2003-10-12 12:43:48 by ChigpA