Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> How to build a C++ cartridge under Oracle Web 3 and HP-UX
Hi,
I need to write a C++ cartridge for oracle web 3.x under hp-ux 10.20.
According to some on-line oracle documentation it seems to be possible...
I made several attempts...
I initially linked together C entry points routines for the cartridge with my C++ (hello world) application code.
It didn't work. C++ static are not initialized while the lib is loaded by oracle web.
So I made a number of attempts trying to embed all the C++ code inside another shared lib. This second lib is loaded under application control by the C entry points of the cartridge. The load is made using the HP-UX (poorly) documented cxxshl_load system (?) call.
Seems to link fine but when any call is made from C to C++ the symbol cxxshl_load is not resolved and the program crashes.
Does anyone have any hint on how to solve this problem???
Tnx
sb
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Sat May 09 1998 - 04:03:46 CDT