Global Variables in DLLs

R

Ramz

Hi

I am facing a peculiar problem. Our programs(C/C++) runs on mainframes
z/Os and is organized in the form of DLLs.

We are running a batch job and have declared a Global variable in a
file. The value of the variable gets set in a program P1 from which,
another function F1() is being called.

In F1, when i access the value of the Global variable,it's coming out
as 0. However, when i run the same program as a job on AIX, i am able
to see the exact value.

Pls. suggest whether there's any different way in which it should be
carried out with a DLL concept ?

Pls. help asap.
 
R

Raymond Martineau

Hi

I am facing a peculiar problem. Our programs(C/C++) runs on mainframes
z/Os and is organized in the form of DLLs.

You need to ask on the newsgroup for the operating system you are
programming on. C/C++ doesn't define anything about DLL files, nor does it
directly support IPC (that's normally used to handle this sort of stuff.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top