Re: Using a C++ library.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Simon Jefferies" <simon@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eu4wB9tVFHA.612@xxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> How do I use a C++ library in a C# project? Can it be done under 2005? Do
> I need to anything special, I remember reading somewhere that they
> included this feature in the latest .NET.
>
> Cheers,
> Simon.
>

Please be more explicit, what do you mean with library, if it's a dll then
you can call exported C style functions, anything else can't be used
directly.

Willy.


.



Relevant Pages

  • Re: Calling C# COM from C (not C++)
    ... why don't you write a simple dll in C++ that deals with the COM object, ... exports C style functions that you can call from your C code? ... > REAL example of how to call CoInitialize, CoCreateInstance, etc from C ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Help Constructing Fictional Cross-Religious Movement
    ... notion that the story is false is either explicit or present ... by implication. ... Brian ... Prev by Date: ...
    (rec.arts.sf.composition)
  • Re: DBD DBI Problem
    ... >>> I'm having a trouble when i try to execute a simple perl program. ... >>> Perhaps a required shared library or dll isn't installed where expected ... >> Which part of the error message don't you understand? ... Prev by Date: ...
    (perl.dbi.users)
  • Re: LoadLibrary and AfxLoadLibrary
    ... Anyway this gives me two lines of approach: write an explicit ... manifest without publicKeyToken or make it a proper resource only DLL ...
    (microsoft.public.vc.mfc)
  • DIBAPI32.DLL
    ... The problem I'm having is that this DLL seems to be quite old and doesn't ... Does anyone know of a modern replacement? ... Jeff ... Prev by Date: ...
    (microsoft.public.fox.programmer.exchange)