yeah the ( was to get intelisence to tell me what it wanted, i did remove it before i ran it i just forgot to take it out there
i have added the resources in manually... i think this is right and i have made sure that they are there and used break points to make sure the folders are being added.
FileSystem=../../media
FileSystem=../../media/fonts
FileSystem=../../media/materials/programs
FileSystem=../../media/materials/scripts
FileSystem=../../media/materials/textures
FileSystem=../../media/models
FileSystem=../../media/overlays
FileSystem=../../media/particle
FileSystem=../../media/gui
FileSystem=../../media/DeferredShadingMedia
FileSystem=../../FooBar
FileSystem=../../LayoutEditor
FileSystem=../../Demo_itemBox
FileSystem=../../MyGUI_Media
FileSystem=../../vector
FileSystem=../../Media/TestApp
FileSystem=../../media/packs/cubemap.zip
Zip=../../media/packs/cubemapsJS.zip
Zip=../../media/packs/dragon.zip
Zip=../../media/packs/fresneldemo.zip
Zip=../../media/packs/ogretestmap.zip
Zip=../../media/packs/skybox.zip
the code i am using is
mGUI = new MyGUI::Gui();
mGUI->initialise(Game::getGame()->getRClass()->GetRWindow());
MyGUI::ButtonPtr button = mGUI->createWidget<MyGUI::Button>("Button", 10, 10, 300, 26, MyGUI::ALIGN_DEFAULT, "Main"); ////Crashes here
button->eventMouseButtonClick = MyGUI::newDelegate(this, &GUIClass::ButtonCallBack);
Thank you for your help, if i was not on the ground floor my pc would be out the window