Skip to content
⌘ NSIS Forum Archive

FindProc oddity

3 posts

BoscoBilly#

FindProc oddity

Hello - FYI on FindProc

I was having trouble with FindProc - the rtn var was an empty string, not 1 or 0, despite a running target exe.
I figured out that I needed to call this twice - the first call did nothing, except maybe load it?
The 2nd call and subsequent calls all work.
Also, FindProc is case sensitive.
These tests were done on Windows server 2003.
Afrow UK#
Just to confirm you do realise the return code is stored in $R0 and no Pop $R0 is needed at all.

Stu