Use MSVC Dll (occi9.dll) with Namespaces in CBuilder

From: akush (Berlin3010_at_web.de)
Date: 12/03/03


Date: Wed, 03 Dec 2003 16:19:33 +0100

Hi!

I am trying to use the Oracle 9i C++ Call interface in a Borland C
Builder project. But it seems that i have a some big problems with this.

To use the occi9.dll ( made from msvc ) i converted it with the implib
program. But in the method definitions in the dll are namespaces or
something like that.

e.g.:

?createEnviroment@Environment@occi@oracle@@SAPAV123@W4Mode@123@PAXP&APAX....

how can i convert the dll that i can use it without problems in Borland
CBuilder? I get there always the error:

unresolved external
'oracle::occi::Environment::createEnvironment(oracle::occi:Environment::Mode,
void*......

Thx for help

     akush



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)
  • Re: Cant compile with Turbo C 4.5 Winsock
    ... Even when I downloaded the winsock dev from ... I don't recall if Turbo C had this utility but later Borland C/C++ ... versions included an "implib" utility that would build an import library ... from a given DLL into the format that Borland used. ...
    (comp.lang.c)
  • Re: Export C++ class from a Borland DLL and use it in Microsoft VC
    ... Usually here's how you implement a DLL-ready interface: ... This goes to the DLL, and this is what the EXE has to call to create the instance. ... I have defined this methods pointer with the borland ...
    (microsoft.public.dotnet.languages.vc)