Same problem, won't get past Find().

John Sheu wrote:

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






--
Kamran A
Get Firefox! Safer, Faster, Better.
<http://www.spreadfirefox.com/?q=affiliates&id=0&t=85>
Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to