Page 1 of 1

Kernelcad in C#

Posted: Mon Jul 29, 2013 3:04 am
by Giang_G_Chui
Hello

I try create new C# project using kernelcad. When I start application I see:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in System.Windows.Forms.dll
Additional information: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

What I do? Help please
Giang Ho

Re: Kernelcad in C#

Posted: Mon Jul 29, 2013 3:09 am
by gerard12
Hello Giang Ho

In project properties go to Build page and In Platform Target select x86. This should fix it

I also recommend clearing the "Enable the Visual Studio hosting process" check box on Debug page

Regards
Gerard