|
-
Jul 1st, 2007, 04:04 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Innot Setup: Detect Process, How?
Hello,
Can anyone help me detect a process with Inno Setup?
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

-
Jul 1st, 2007, 04:18 PM
#2
Thread Starter
Frenzied Member
Re: Innot Setup: Detect Process, How?
Never mind.. found it... in the help file.
'Place in Declarations section:
Private Declare Function CreateMutex Lib "kernel32" _
Alias "CreateMutexA" _
(ByVal lpMutexAttributes As Long, _
ByVal bInitialOwner As Long, _
ByVal lpName As String) As Long
'Place in startup code (Form_Load or Sub Main):
CreateMutex 0&, 0&, "MyProgramsMutexName"
Example:
AppMutex=MyProgramsMutexName
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|