Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Sharing an instance of an object between classes.

$
0
0

Hi,

I have a program consisting of 2 forms and several classes, i.e. customerclass, materialclass etc. These call an interop xfakt.dll which requires a new login for each new created instance.

What I need is to share one call with all forms and classes like:

01 xfakt.  type xfakt.app .

Method...

set xfakt to new xfakt.app()

I need to share this instance of xfakt with all other classes.

Thanks in advance.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>