Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Calling external C++ shared lib or DLL ?
Hi Leopold.
Yes this is possible. You have to make a thin C interface on top of your C++ code and export that interface from the DLL, for instance:
extern "C" void __declspec(dllexport) __cdecl MyFunc()
{
// C++ code
}
HTH. Finn
-- --------------------------------------------------------------------------- Finn Ellebaek Nielsen ChangeGroup ApS Product Manager, Principal Consultant, Partner Kronprinsessegade 54, 4. E-mail: finn.ellebaek.nielsen_at_changegroup.dk DK-1306 Koebenhavn K Mobile: +45 20 32 49 25 Denmark Phone: +45 33 32 77 78 http://www.changegroup.dk --------------------------------------------------------------------------- ChangeGroup PL/SQL Server Pages: Web-enable PL/SQL code and developers ChangeGroup Open System Documentary: Oracle system documentation generator "Leopold Zyka" <leopold.zyka_at_igel.at> wrote in message news:3E7F0F8D.293A3710_at_igel.at...Received on Mon Mar 24 2003 - 09:29:28 CST
> Dear Oracle Gurus,
>
> Is it possible under Oracle8i to make an external call to a shared
> library or DLL which is written in C++ ?
> Or does this only work with C ?
>
> regards, Leopold
>
>