I start 2 projects in one solution, one is .Net Framework 4.7.2
and the other one is Windows Runtime Component(C++/WinRT)
,
What I want to do is write my DirectX related code in the WindowsRuntimeComponent
and expose a certain number of classes to the .NetFramework
project.
I just add reference to the WindowsRuntimeComponent
project in the .Net project, It was a success and .Net seems to understand what is in the C++ project
However, when I try to create an instance from WindowsRuntimeComponent
,
it gives me an error saying...
Class not registered(Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG) error screenshot
Im new to COM and basically all I know about COM is form enter link description here So how I suppose to do ?