Results 1 to 2 of 2

Thread: [RESOLVED] Innot Setup: Detect Process, How?

  1. #1

    Thread Starter
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Resolved [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.



  2. #2

    Thread Starter
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    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
  •  



Click Here to Expand Forum to Full Width