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