Sharing an instance of an object between classes.


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 .


set xfakt to new

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

Thanks in advance.