Runtime error

Discussion in 'C' started by benshrupendra, Jul 19, 2010.

  1. benshrupendra

    benshrupendra New Member

    Joined:
    Jul 19, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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. Ancient Dragon

    Ancient Dragon New Member

    Joined:
    Jul 23, 2010
    Messages:
    26
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    part time cashier at WalMart
    Location:
    near St Louis, IL, USA
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice