I have a C++ program which I compiled on the z/OS V1R2 compiler but the
program abends when it makes a call to load a DLL which was compiled with
the OS/390 c/c++ V2R9 compiler. Does anyone know if the z/OS V1R2 c/c++
compiler supports the loading of DLLs compiled using older versions of the
compiler?
BTW, the same program works fine if I use the OS/390 c/c++ V2R10 compiler
which was also shipped with z/OS V1R2.
Thank you
Amanda
----------------------------------------------------------------------------
----------------
Amanda Hall Phone: +353-1-6372220
IONA Fax: +353-1-6372889
The IONA Building E-Mail: Amand...@iona.com
Shelbourne Road
Dublin 4, Ireland. Web: www.iona.com Ftp: ftp.iona.com
---------------------------- "END 2
ANYWHERE" --------------------------------
Amanda Hall wrote:
>
> Hello
>
> I have a C++ program which I compiled on the z/OS V1R2 compiler but the
> program abends <snip>
Well, we get a S0C4 abend with the following message:
CEE3204S The system detected a protection exception (System Completion
Code=0C4).
From entry point __dllstaticinit at compile unit ......
and I just compiled the C++ program using the same options that I had used
on the V2R10 compiler. So, all other options would be the defaults.
Amanda
"One Hand Clapping" <notreallyan...@noparticularplace.com> wrote in
message
news:776239FB95D248B0.53615E21...@lp.airnews.net...
We had the same abend when we started using the XPLINK option with V2R10. The
solution in our case was to move any char constants (e.g. an array of message
text values) out of the global namespace into the C++ member functions that used
them.
Al