I just meant that mdlLevel_getIdFromName, for the fourth argument takes an MSWCharCP, but
mdlLevel_getIdFromName(&levid, modelRef, LEVEL_NULL_ID, levelName.c_str()); gives it a const char *. I didn't know you could send a const char * instead of a MSWCharCP.
mdlLevel_getIdFromName(&levid, modelRef, LEVEL_NULL_ID, levelName.c_str()); gives it a const char *. I didn't know you could send a const char * instead of a MSWCharCP.