Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ARGHHH!! Web Service Hell
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00729156
Message ID:
00729586
Views:
17
>>>3. You COM.Server will always start at C:\WINNT\SYSTEM32 no matter where it actually is.

Ok, I reviewed again this .. and you are right .. I was mixing the default dir with Application.ServerName. By default the SYS(5)+SYS(2003) is what you said (C:\WINNT\SYSTEM32).

From the Help (Object Application):
"The ServerName property makes it possible for you to determine the directory from which an in-process .dll or an out-of-process .exe Automation server was started, facilitating referencing of other files in distributed applications"

But just for facilitating.

So I use in the Init of my Webservice DLLS the following:
THIS.cAppStartPath = JustPath(Application.ServerName)+"\"
SET DEFA TO THIS.cappstartpath
So my Application.ServerName matchs always with SYS(5)+SYS(2003)

Anyway what I replied you before (registering) applies for Application.ServerName.

I hope now I explained me better than previously. <s>
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform