On Saturday 23 July 2005 02:04 pm, Skyler York wrote: > You can't just declare a pointer and then try to make a function call > from it. It doesn't point to anything! > > The proper way is to use the localize() function: > > wchar_t *token_modelName_localized = localize()->Find(token_modelname); In other words: you're declaring *token_modelName as a pointer, not a char array. Thus you're not allocating storage for it at all. Either do what he says, or declare it as:
char token_modelName[SIZE] -- I think poem that never as a I shall see a lovely as binary tree _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders