Results 1 to 3 of 3

Thread: [2.0] Interacting with my app, other instance

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2003
    Posts
    89

    Resolved [2.0] Interacting with my app, other instance

    Hello,
    I restricted my application to only one instance. When the app is running and the user tries to launch it again, the new instance is not created and Application.Exit() is invoked instead.

    Now, here's the problem: just before invoking Application.Exit(), I want to send a string message to the main, running instance. How can I do this with some Win32 API or other managed -more elegant- way? I'd like to avoid .NET Remoting.

    Thanks for helping.
    Last edited by BrightSoul; Jan 2nd, 2007 at 09:03 AM.
    - mo! I said MOOOOOOO!!
    - ...yep, that's a cow, alright.

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