Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a Custom Class Method for SPT call
Message
From
27/06/2005 10:03:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Using a Custom Class Method for SPT call
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01026700
Message ID:
01026700
Views:
61
How is it possible to send a connection handle established in one app to a custom class method in another app that it can use to do a SPT call?

Birds eye view. I have two apps that use common code to access AS400 table data that holds status information the app require to function. I have a third app that controls the AS400 table data.

I realize that a solution is have the app that contains the custom class to establish a static connection when it is active or the class could make the connection itself. The problem with the first solution is the app may not be running all the time, and the second solution is, I have approx 100 users that will be accessing the class method every few seconds, this many connects/disconnects would not be efficent. I need the connection running static on each users instance and use that connection in the class.
Next
Reply
Map
View

Click here to load this message in the networking platform