FoundProgramEXE: ;Check and see if client is running
StrCpy $PROCEDURE "FoundProgramEXE"
Call DebugHeader
FindProcDLL::FindProc $PROGRAMEXECUTABLE
StrCmp $R0 "1" "" ProfileWork
;=== client is already running, check if it is using
; the portable profile
MessageBox MB_YESNO|MB_ICONQUESTION|MB_TOPMOST `${APP} is \
already running. Close ${APP} and continue starting \
${FULLNAME}?` IDNO UnloadTorpark IDYES KeepLoadingTorpark
Mb_yesno
I'm having a small problem with a YESNO box. Sometimes it doesn't pop-up and goes directly to the IDNO value.