Hello guys,
args(0) does not give the name of the executable alike in C.
apppath give the path without the exe name.
Any idea to retrieve the .exe name ?
a little explanation : my goal is to copy the same exe with different names for launching them with voicedial, and after the exe has retrieved his own name, it will push it in the registry and activate another always running prg that, on feeling activated, will get the registry parameter and do something.
Looks complicated but will end up like this :
after launching voicedial with the PTT button on the wired headset of my HTC Artemis : I say "next" and my own mp3 player will play the next song.
so easy
Thanks for any idea, I will try. René
args(0) does not give the name of the executable alike in C.
apppath give the path without the exe name.
Any idea to retrieve the .exe name ?
a little explanation : my goal is to copy the same exe with different names for launching them with voicedial, and after the exe has retrieved his own name, it will push it in the registry and activate another always running prg that, on feeling activated, will get the registry parameter and do something.
Looks complicated but will end up like this :
after launching voicedial with the PTT button on the wired headset of my HTC Artemis : I say "next" and my own mp3 player will play the next song.
so easy
Thanks for any idea, I will try. René