Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Com Singletons

Status
Not open for further replies.

grangrad

Technical User
Jun 18, 2003
2
GB
I have just started playing with NetCobol and PowerCobol v 7
and have been attempting to rewrite some VB6 stuff in powercobol.

In VB6, I have used the technique of creating an activeX .EXE containing a single instance single use class. Once an instance of the class has been instantiated, you can then use 'get object' to connect to that same instance, even from another application running on the same machine. I have discovered that you can't actually create an activeX .EXE in Fujitsu cobol, so has anybody got any ideas on how I might achieve this. If you try to use get-object rather that create-object it still creates a new instance.

I have actually used the simple server interface features to get around the problem, but it would be nice to know whether it is achievable.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top