1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,292
    Likes Received:
    365
    Trophy Points:
    83

Share This Page