CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2011
    Posts
    1

    Thumbs up Multiple Application.Run() Instances

    Hi there,
    I´m 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).

    I´ve 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 it´s clear enough and someone can help me.

    Best regards,
    D.

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

    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
  •  





Click Here to Expand Forum to Full Width

Featured