L
Loopy Lou
An application (written in Visual C++) resides on machine A. Data used
by this application also resides on machine A.
We want to execute this application from machine B. The executable and
data will reside only on machine A. Both machines are running Windows
XP.
A shortcut has been created on machine B to the shared folder on
machine A which contains the executable. When this shortcut is clicked,
the application starts properly on machine B. However, attempting to
read the data gives errors.
The application specifies a full path to the data (e g,
C:\MyDirectory\MyData.txt). From the viewpoint of machine B, that
probably means B's drive C:. That is wrong, because the data is on A's
drive C:.
How can the application specify that the path resides on the same
machine as the executable? I have tried prefixing the path with the
hostname of machine A (e g, \\MyHost\C:\MyDirectory\MyData.txt), but
this gives an error when application is started on machine A.
Can anyone explain how to accomplish this remote access to the data?
by this application also resides on machine A.
We want to execute this application from machine B. The executable and
data will reside only on machine A. Both machines are running Windows
XP.
A shortcut has been created on machine B to the shared folder on
machine A which contains the executable. When this shortcut is clicked,
the application starts properly on machine B. However, attempting to
read the data gives errors.
The application specifies a full path to the data (e g,
C:\MyDirectory\MyData.txt). From the viewpoint of machine B, that
probably means B's drive C:. That is wrong, because the data is on A's
drive C:.
How can the application specify that the path resides on the same
machine as the executable? I have tried prefixing the path with the
hostname of machine A (e g, \\MyHost\C:\MyDirectory\MyData.txt), but
this gives an error when application is started on machine A.
Can anyone explain how to accomplish this remote access to the data?