View Single Post
Old 24th June 2012, 07:39   #2
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,060
Send a message via Skype™ to thinktink
If you look at the IN2.h header definition from the latest SDK you'll see that the parameter is not defined as char * but as in_char * instead:



#ifdef UNICODE_INPUT_PLUGIN
#define in_char wchar_t
#define IN_VER (IN_UNICODE | 0x100)
#else
#define in_char char
#define IN_VER 0x100
#endif



...

int (*Play)(const in_char *fn);




You need to define a global compiler directive UNICODE_INPUT_PLUGIN somewhere in your plugin project.
thinktink is offline   Reply With Quote