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

Thread: Multiple Application.Run() Instances

  1. #1
    Join Date
    Aug 2011

    Thumbs up Multiple Application.Run() Instances

    Hi there,
    Im developing an API that may connect with an external server.
    Initially, It only was neccesary to run an individual instance, but now, because of that server supports until 8 different connections from the same client (just changing the ID_Client), I have to run up to 8 different API (not just winforms, but APIs).

    Ive been trying to call Application.Run() several times from the Main() of my program, but it seems they are called in a sequencial mode, and I need them to be multiple-parallel called.

    Any ideas of what can I do?

    I hope its clear enough and someone can help me.

    Best regards,

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004

    Re: Multiple Application.Run() Instances

    Generally you'll create multiple threads to solve this sort of problem.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)