The windows forms control library project (C++) I writes uses an unmanaged dll. The unmanaged dll has a header file (a Cheshire cat). And I just include it in the control library project. And calls functions in the unmanaged dll (of course with proper marshaling). This compiles and builds. The problem is when I go ahead to add the control to the tool box of my scaffolding, which is a Managed C++ winform application, VS2005 complains that it is not a .Net module.
I have seen people converting using MFC dlls as windows forms controls. What am I doing wrong?.