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

Thread: Runtime error

  1. #1
    Join Date
    Jul 2010
    Posts
    5

    Runtime error

    I get runtime error when I run the application

    Thread ^readThread = gcnew Thread(gcnew System::Threading::ThreadStart(this, &PipeServer::Read));

    readThread->IsBackground = true;
    readThread->Start(client);

    The Error is:
    The thread was created with a ThreadStart delegate that does not accept a parameter


    Please help me to solve it,

    Thanks in advance.

    Regards,

    Rupendra

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: Runtime error

    Please help me to solve it
    Your code is managed C++, not native C++. Try asking your question here.

  3. #3
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Runtime error

    [ redirected ]
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

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