Hello, I have a managed C++ project which uses an unmanaged C++ DLL.
Normally when I'd have an EXE or DLL which uses another DLL, I'd link
the DLL's .LIB into the project but I don't see a way to do this
within my MCPP project (so I'm left with a bunch of "unresolved
externals" errors).
Now, I could use PInvoke but this would mean having to redeclare every
function, and I'd like to not have to do this (I'm lazy and the
approach is prone to errors anyway).
There sure seems like there should be a way to do this with MCPP but I
can't figure out how.
Any suggestions (or solutions)?
Thanks,
Mark
mark.sanders.03@gmail.com - 14 Mar 2007 00:11 GMT
OK, I figured it out. When I looked at the Linker\Input section of my
MC++ project, all I saw was $(NOINHERIT) and I didn't notice that I
could add a .LIB here, just like I normally would for an unmaged C++
project, so problem solved.
Mark
On Mar 13, 3:11 pm, mark.sanders...@gmail.com wrote:
> Hello, I have a managed C++ project which uses an unmanaged C++ DLL.
> Normally when I'd have an EXE or DLL which uses another DLL, I'd link
[quoted text clipped - 14 lines]
>
> Mark