Jump to content

Compile Problem


Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.