I have a class which contains a static member of another class. Foo.h class Foo { static DirectXRes dxres; }; Foo.cpp DirectXRes Foo::dxres; // may throw an exception DirectXRes.h #include <SDKDDKVer.h> #ifndef WINVER #define WINVER 0x0A00 #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0A00 #endif #define WIN32_LEAN_AND_MEAN #define NOMINMAX #include <Windows.h> #include [...] read more
I try to build an application with different AppDomains and permissions. The starting application creates a new AppDomain B and uses CreateInstanceFrom to instantiate a class from a different dll. I can also assign different (standard) permissions to the permission set i use to create the AppDomain. So far, this [...] read more