Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debuggin COM Objects
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00433537
Message ID:
00435050
Views:
16
>If you do it in an InProcess server it will cause major problems because you're changing the path of the host application which might (most likely will) screw it up.
>
Understood.

>In out of process servers it's just poor practice but I still wouldn't do it just for consistency. General rule: A COM object should never change the environment of its calling processes and if it does, always reset it upon return of any method calls.

This is what I'm currently doing ( resetting dir ), but will switch to SET PATH in the future.

Thanks for the info.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform