I have a VC++ project that is currently a COM library that is being used by another VB.NET project. Apparently, COM is a headache in terms of version and registration. So I am going to build it into a non-Com library that doesn't require register. My questions are below:
1. I am using MS VC++ 2005 pro compiler. I made a new project that is CLR+class Library. I plan to add codes from the original project into this new one in the hope of starting a clean new project that is .NET managed DLL (so it is not com), is this a viable way to do it?
2. right after I created the project, I did a compile, it gives this error:
fatal error C1189: #error: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
Any suggestions, please.