when i update to the svn 1306,my code can't pass.
Code: Select all
void CModel::addShape(const c8* cpShapePath,const c8* cImage )
{
IAnimatedMesh* mesh = smgr->getMesh(cpShapePath); ////error this!
node = smgr->addAnimatedMeshSceneNode( mesh );
if (node)
......
}
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
when compile irrlicht dll,set UNICODE version,catch exception.
it tell me that "cannot convert parameter 1 from 'irr::c8 *' to 'LPCWSTR'"
how can i deel with it?OH,bad luck!