Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

VC++ bug?

Options
  • 13-08-2001 5:05pm
    #1
    Registered Users Posts: 7,314 ✭✭✭


    char *pBuf = new char[1025];
    int iBufSize = 1024;
    int iRcvd;
    CString strRecvd;
    UINT sockports = 0; // remote port
    CString sockky; // ip address

    // Receive the message
    iRcvd = masterserver.ReceiveFrom(pBuf,iBufSize,sockky,sockports);


    i've used this exact code in about 6 diff programs and in my latest its throwing an error not being able to write to the unsigned int sockports of the remote port, since i didn't require the remote details for this program i tried recieve i'm just getting access violations any ideas?


Advertisement