getMesh: problems with C++
Posted: Fri Oct 20, 2006 7:53 pm
Hi,
i said it weeks ago in nother words: "I am a delphi programmer".
Cause i have sometimes little problems with C++. It's a simple question: How must i change the getMesh-Parameters so that nothing errors appears ?
error: no matching function for call to 'irr::scene::ISceneManager::getMesh(const wchar_t*)
i said it weeks ago in nother words: "I am a delphi programmer".
Cause i have sometimes little problems with C++. It's a simple question: How must i change the getMesh-Parameters so that nothing errors appears ?
error: no matching function for call to 'irr::scene::ISceneManager::getMesh(const wchar_t*)
Code: Select all
IGUIFileOpenDialog* dialog = (IGUIFileOpenDialog*)event.GUIEvent.Caller;
scene::IAnimatedMesh* tower = smgr->getMesh(dialog->getFilename());