Including a DLL in a project

  • Thread starter Thread starter TGF
  • Start date Start date
T

TGF

Hello,

I have a .NET C++ Project that I would like to include a dll file with
about 20 convenience functions. It seems every time I try to so this, I
wind up not doing something right. Can someone please tell me where I can
find instructions on exactly how to do this? The .NET app I am using needs
these functions and I do not want to just copy them into this .NET project.
Having them in a DLL is much more efficient as many other project I have
need these functions as well.
 
This is C++? Do you have experience writing applications (non-.NET ones)
with C++? It works the same way. If what you're referencing is not a .NET
assembly but a normal DLL it gets complicated. You need to have a header for
the compiler and a .lib file for the linker. Referencing .NET assemblies is
completely different.

OTOH, why not just #include the file(s)?
 
Back
Top