Hi all,
I want to kill an exe using KillProc.Dll. But I want to call this DLL from my source path and not from NSIS Plugin directory. I tried by calling it as
System::Call '$EXEDIR\MyDLL\KillProc:🙁"MyExe.exe") i(r0).r1'
Plz tell me, where am I wrong?
Regards
VCR
Calling KillProc.dll from source location
6 posts
why do you want to call it from install location?
don't understand that ...
also, for the right syntax see the readme.txt from killproc (or archive page)
think it must be something like this:
KillProc::Kill "myprog.exe"
don't understand that ...
also, for the right syntax see the readme.txt from killproc (or archive page)
think it must be something like this:
KillProc::Kill "myprog.exe"
Thanks for reply..
I don't want to call it from $INSTDIR, I want to call it from $EXEDIR.
Means generally If a user try to compile my delivered NSIS source code without keeping KillProcDll in his NSIS Plug-in directory, he will get an error as Dll not found.
So I want to keep the KillProcDLL in my source path DLL, means my code will always search the KillProcDLL from its source path and not from NSIS Plugin directory.
Regards
VCR
I don't want to call it from $INSTDIR, I want to call it from $EXEDIR.
Means generally If a user try to compile my delivered NSIS source code without keeping KillProcDll in his NSIS Plug-in directory, he will get an error as Dll not found.
So I want to keep the KillProcDLL in my source path DLL, means my code will always search the KillProcDLL from its source path and not from NSIS Plugin directory.
Regards
VCR
Like I said before, use CallInstDLL...
-StuFile "/oname=$EXEDIR\KillProc.dll" "KillProc.dll"
Push "myprog.exe"
CallInstDir "$EXEDIR\KillProc.dll" "Kill"
Thanks for reply.
Its working fine now.
Regards
VCR
Its working fine now.
Regards
VCR