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