I am trying to figure out how to create a managed wrapper class. I have a DBX project, and for that I want a managed wrapper. I created and empty Visual c++ CLR class library project. I have copied some of the headers from the asdkmgPoly sample. I have pointed to the inc and lib directories for both win32 and 64 bit versions (currently active - 64). I am getting the error "could not find assembly "acdbmgd.dll". I have located this dll in the Autocad installation directory and added that path to the "Additional Library Directories" in the properties window.
Is there any way someone can post or point me to a step-by-step example of how to create a .Net wrapper for a dbx project. I am having a very dificult time with it. I have reviewed the Polysamp project and tried my best to follow it, but I just can't seem to get a simple project to compile.
I have created a c++/clr dll. I have added the required linker options and paths to the /inc and /lib files for both 32 and 64 bit builds. I have tried to create the acrxEntryPoint as shown in the polysamp problem, but when I try to add the call to acrxRegisterAppMDIAware(...) I get linker error LNK2028: Unresolved token "bool __cdecl acrxRegisterAppMDIAware ...". Any ideas?????