lTz 12 Posted November 27, 2018 Share Posted November 27, 2018 hi, i just got this err and idk why , if someone can see and help me i will ty you int CInputP2P::BulkWhisperSend(LPDESC d, const char * c_pData, size_t uiBytes) { TPacketGGBulkWhisper * p = (TPacketGGBulkWhisper *)c_pData; if (uiBytes < sizeof(TPacketGGBulkWhisper) + p->lSize) return -1; if (p->lSize < 0) { sys_err("invalid packet length %d", p->lSize); d->SetPhase(PHASE_CLOSE); return -1; } char szBuf[CHAT_MAX_LEN + 1]; strlcpy(szBuf, c_pData + sizeof(TPacketGGBulkWhisper), MIN(p->lSize + 1, sizeof(szBuf))); SendBulkWhisper(szBuf); return (p->lSize); } input_p2p.cpp:128: error: no 'int CInputP2P::BulkWhisperSend(DESC*, const char*, size_t)' member function declared in class 'CInputP2P' Link to comment Share on other sites More sharing options...
lTz 12 Posted November 27, 2018 Author Share Posted November 27, 2018 nevermind , i just forgot to add that function in input.h ... sorry for this Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now