Original Post
Trying to convert a WCHAR to a char *. I've just never dealt with WCHAR's before. assume I have this code char *myName = "blah"; WCHAR wstr[MAX_PATH] = myName; I get this error for obvious reasons: error C2664: 'LoadObjectFromFile' : cannot convert parameter 3 from 'unsigned short *[260]' to 'unsigned short *' thanks ^_^