extern "C" DllExport void GetInfo( wchar_t * dataptr){ wchar_t * test = L"test"; wcscpy(dataptr, test); }