Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DLL support in z/OS V1R2 c/c++ compiler

46 views
Skip to first unread message

Amanda Hall

unread,
Jan 23, 2002, 10:57:27 AM1/23/02
to
Hello

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" --------------------------------


One Hand Clapping

unread,
Jan 23, 2002, 1:44:28 PM1/23/02
to
it would be handy to know the abend code and reason code... and whether
any forward-compatible options are being used (ie: not supported in 2.9
load modules).

Amanda Hall wrote:
>
> Hello
>
> I have a C++ program which I compiled on the z/OS V1R2 compiler but the

> program abends <snip>

Amanda Hall

unread,
Jan 24, 2002, 6:41:03 AM1/24/02
to
Hi

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...

Alan Ammentorp

unread,
Jan 24, 2002, 1:56:16 PM1/24/02
to
Amanda

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

0 new messages