Unmanaged DLL in Managed Project

Hi,

I have followed the steps laid forth in other sources but couldn't figure out my problem. I've built an unmanaged DLL that I now wish to use this DLL in a managed project but I am having trouble including it. I flagged everything I want to export with __declspec(dllexport). Following the other sources, I added the unmanaged project as a dependency of the managed project under Build Dependencies > Project Dependencies. I also added the .lib as a dependency under Properties > Configuration Properties > Linker > Input > Additional Dependencies and added the path to the .lib under ... > Linker > General > Additional Library Dependencies. Any suggestions as to what I'm doing wrong?
Last edited on
Do you get any error messages ?
Topic archived. No new replies allowed.