Witam,
mam pewien problem . Przy inicjalizacji łańcucha znaków clist_start wywala mi .
First-chance exception at 0x000C77C1 in Game_Server_Project.exe: 0xC0000005: Access violation reading location 0xCDDBF0A9.
Unhandled exception at 0x000C77C1 in Game_Server_Project.exe: 0xC0000005: Access violation reading location 0xCDDBF0A9.
http://i.imgur.com/slFtf6Q.png
Czasami tak mam jak podaje co ma być w tym łańcuchu . I właśnie niewiem dlaczego.
Kod:
std::vector<TCharacter> characters;
LoadCharacters(client,characters, account);
std::string clist_start = "clist_start 0";
send(Client[client->clients], Encrypt(clist_start).c_str(), Encrypt(clist_start).size(), 0);