Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OVariables and memory space...
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00128435
Message ID:
00128492
Views:
23
>I need to have an object that is accessable from any instance of the program on our LAN. In other words I need to instantiate an object at login of the first user to execute the .exe from whatever workstation, Win95, Win98, or WinNT. The program will reside on an NT workstation or NTServer. Subsequent executions of the same program will need to access methods and properties of the original object. Then, when the last user quits the program, the object will be released. My question is, before I create a mountain of code that doesn't work across platforms, do all the platforms mentioned use the memory space on the box where the program resides? Or do some use local memory space? Also, is the scope of an object limited to the application that created it even if declared public? I've never tried this before, but I noticed with one of our 2.6 projects, we had to copy the foxlibs to the local machine in Win98 but do not have to do this with Win95. This makes me wonder if programs are
>executed differently across the LAN after Win95.
>
>Eric K.

All users will run in their own address space on whatever box they are using.
Take a look at COM objects running in MTS. (Yes, I know there are currently multi-use issues). You can't really do what you want, but MTS will create the object when needed, then release it when done. If multi-use issues, you can create a VFP pool manager (example code ships with VFP).
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform