diff -r bc0ed99e49c7 -r 135920fe441b ui/wpf/UIwrapper/UIwrapper/window.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/wpf/UIwrapper/UIwrapper/window.cpp Sat Jan 24 19:14:29 2015 +0100 @@ -0,0 +1,13 @@ + + +#include "stdafx.h" +#include + +#include "window.h" + +#using "UIcore.dll" + +UI_EXPORT void* UIwindow(char *title, void *uiobj) { + UI::MainWindow ^window = UI::MainWindow::CreateMainWindow(gcnew String(title)); + return ObjectToPtr(window); +}