I need to place and run managed controls in a simply unmanaged C ++ application. How to do it?
To run unlicensed controls is usually simple:
if (SUCCEEDED(ClrCreateManagedInstance(type, iid, &obj)))
{
// do something with obj
}
However, when using a licensed control, we need to somehow introduce the .licx file (ref application licensing ) into the project . In an unmanaged C ++ application, the required glue does not work. It is assumed that the lc.exe tool will be able to implement the license as an assembly resource, but either we do not wave the correct call, or it worked silently. Any help would be appreciated.
source
share