View Single Post
Old 19th June 2011, 22:56   #12
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,961
Send a message via Skype™ to thinktink
Zomg I'm a f'ing blind boning bone-head. It said it right there in the SDK and I didn't even see it or even to think to check for it while debugging:

#define GETFILEINFO_TITLE_LENGTH 2048
void (*GetFileInfo)(const in_char *file, in_char *title, int *length_in_ms); // if file == NULL, current playing is used

I never checked for NULL file parameter. GAH!!!!! I've finally got it working right without the /class hack.
thinktink is online now   Reply With Quote