View Single Post
V10
Senior Member
Join Date: Jan 2010
Location: Russia
Old 08-04-2013 , 10:57   Re: [EXTENSION] [L4D2] Melee Control (spawn) (1.0.0.0)(BETA)
Reply With Quote #7

Quote:
Originally Posted by psychonic View Post
It's because of freeing memory that was allocated on a different heap.

Both the game and the extension are compiled with /MT, statically linking the msvcrt (instead of dynamically linking [/MD] and sharing the heap).

You'll have to directly call the game's copy of KeyValues::SetString for a KeyValue* allocated by the game.
Thanks.
__________________
Sry for my english.
I good speak on russian =)
V10 is offline