C#开发的metro app 调用winRT编写的DLL出错
第一次编写WinRT dll库,
namespace mywinrt
{
public ref class winrtWraper sealed
{
public:
static property winrtWraper ^ Instance
{
winrtWraper ^ get()
{
static winrtWraper ^ instance = ref new winrtWraper ();
return instance;
}
}
private:
winrtWraper () { }
};
}
mywinrt.winrtWraper wraper = mywinrt.winrtWraper.Instance;