Re: create a DLL from LIB file




<dentalan@xxxxxxxxx> wrote in message
news:1168023828.212347.14890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a static lbrary (em2800.lib) and a header file (em2800.h) from
an SDK that comes with a USB camera. I now nothing about C, or C++ or
VC or Borland C. Can someone guide me on how to create a DLL that will
export the functions of the LIB, so that I can use them in VB ?


"I know nothing about C, or C++ or VC or Borland C."

Well, then you are about to learn. You will need one of them to create
either an ActiveX Dll or a 'regular Dll' for use with VB.

Which product do you have?

-ralph


.



Relevant Pages

  • Re: DLL operating on complex array (VC++)
    ... Borland C++ Builder 6, but there were errors with access to complex ... I've changed compilator on MS Visual C++ 6.0 and here also ... This means that a DLL created with Visual C will ...
    (comp.lang.labview)
  • Re: Ping through the Windows SDK?
    ... I used the Borland tool implib.exe to create an lib file from the ... The borland help said that I need ... I can't figure out what I'm doing wrong as I've listed the .lib file in the ... > libray from the DLL. ...
    (microsoft.public.vc.language)
  • Re: Export C++ class from a Borland DLL and use it in Microsoft VC
    ... Borland uses a different C runtime (including a different memory ... Use a C-style DLL. ... use pure extern "C" exports, but the functions themselves can accept and ... You must either not use enums in your interface, ...
    (microsoft.public.dotnet.languages.vc)
  • Parameter passing between C and VB
    ... I need to expose some complex computation performed by ... split the code into an EXE using the Borland GUI ... in a plain old DLL, ... What is not so clear is structs. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Export C++ class from a Borland DLL and use it in Microsoft VC
    ... Borland uses a different C runtime than Visual Studio. ... Of course, it is not impossible to use a DLL across compilers, even across different languages. ... You still need to use pure extern "C" exports, but the functions themselves can accept and return C++ classes. ... You must either not use enums in your interface, or modify Borland's compiler settings for your particular cpp file. ...
    (microsoft.public.dotnet.languages.vc)

Loading