CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: instance

  1. #1
    Join Date
    Jan 2003
    Location
    Colombia
    Posts
    15

    Angry instance

    I am using:
    dddd2 = ShellExecute(Me.hwnd, "", sfile2, sCommand, sWorkDir, whoto)

    I need to know what is the application instance number so I con close it. On what variable do I get this instance number?
    It is not dddd2.....

    Help
    THanks

  2. #2
    Join Date
    Dec 2001
    Posts
    6,332
    Get the API viewer and guide from allapi.net. They will tell you what you need to know.
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

  3. #3
    Join Date
    Apr 2003
    Posts
    1,755

    Smile

    Use ShellExecuteEx or CreateProcess. They will give you the handle to the process you run.

    Hope this will help you

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

Featured