}
void IRMViewer::CreateWidget(wxWindow* parent)
{
- char currentPath[_MAX_PATH];
- HMODULE hand = GetModuleHandle("bbcreaMaracasVisu");
- GetModuleFileName(hand, currentPath, _MAX_PATH);
- std::string path = currentPath;
- path = path.substr(0,path.find_last_of("\\"));
- std::cout << "Your application's directory is: " << path;
+ //std::cout << "Your application's directory is: " << path;
- wxMaracasIRMView* irmview = wxMaracasIRMView::getInstance(parent,path);
+ wxMaracasIRMView* irmview = wxMaracasIRMView::getInstance(parent);
//GetDllDirectory(_MAX_PATH, currentPath);
//std::cout << "Your application's directory is: " << GetDllDirectory(_MAX_PATH, currentPath)<<std::endl;