Re: dot net library from unmanaged C++




A vendor has supplied me with a DLL and .LIB of a C++ .NET wrapper around
their C API.

My immediate thought is - why - given that you have a native
application?

No header file.

How do I hook this into my existing solution?

Using current versions of VS you'd change your project properties to
add CLR support (the /clr option), the add a reference to their
managed DLL. You can then just start using things inside the namespace
of whatever they've provided - hint... the Object Browser will list
the things you've added as a reference to your project.

Dave
.



Relevant Pages

  • Re: build error The type or namespace name OpenNETCF could not be found
    ... Reference the assembly (through project properties) ... > at the creation of the first project,so I ... > project without this error message? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Difficulty importing library with VC++
    ... it tells me that it is unable to resolve the reference to ... In Visual Studio C++ .net, I went into the Project Properties and under ...
    (microsoft.public.vc.mfc)
  • Re: Difficulty importing library with VC++
    ... it tells me that it is unable to resolve the reference to ... I went into the Project Properties and under ... Did you also add a dependency to SetupAPI.lib under the solution properties ...
    (microsoft.public.vc.mfc)
  • Re: Upgrading to CF 2.0
    ... class libraries built in separate solutions. ... When in Main -> Project properties i am ... references to the class libraries they are showing up as V1.0??!!!? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Tools>References greyed out
    ... Tools>VBA project properties ... >I have a user that seems to be missing a reference for a project but the> Tools>References command is greyed out. ... > TIA. ...
    (microsoft.public.excel.misc)