| Author |
file does not exist
|
|
| Winston Doyle 2005-12-12, 2:49 am |
| I have seeker.cc in c:\\myfolder\\dblclasses\\formcontrols
I have added a source alias formcontrols to C:\\myfolder\\dblclasses\\formControls
My program running from C:\\myfolder reads
set procedure to :FormControls:seeker.cc additive
and runs perfectly under plus.exe.
After building an executable and running that from c:\\myfolder\\
the error message is
file does not exist
c:\\myfolder\\:formcontrols:seeker.co
What am I not understanding?
Is it the plus.ini file?
Am I on the right track?
| |
| Bruce Beacham 2005-12-12, 7:48 am |
| Winston Doyle wrote:
> file does not exist
> c:\\myfolder\\:formcontrols:seeker.co
You need to define an ObjectPath for the path on which the file
seeker.co (the compiled file) lies on the client's machines.
This definition needs to be in your app's ini file - if you look at the
place your executable (say winstonapp.exe) is stored (and run from), you
will see a file (winstonapp.ini) and it is in that file that you need a
line:
[ObjectPath]
ObjPath0=c:\myfolder\dblclasses\formcont
rols
But that needs to exist on your clients' machines as well.
Look up Dynamic External Objects in the OnLine Help in PLUS.
Why do you use \\ instead of \?
Bruce Beacham
| |
| Winston Doyle 2005-12-12, 7:48 am |
| Bruce Beacham Wrote:
> Winston Doyle wrote:
>
>
> You need to define an ObjectPath for the path on which the file
> seeker.co (the compiled file) lies on the client's machines.
>
> This definition needs to be in your app's ini file - if you look at the
> place your executable (say winstonapp.exe) is stored (and run from), you
> will see a file (winstonapp.ini) and it is in that file that you need a
> line:
>
> [ObjectPath]
> ObjPath0=c:\myfolder\dblclasses\formcont
rols
>
> But that needs to exist on your clients' machines as well.
>
> Look up Dynamic External Objects in the OnLine Help in PLUS.
>
> Why do you use \\ instead of \?
>
>
> Bruce Beacham
Thanks heaps!
Now done and fixed!
\\ was a typo.
| |
| Bruce Beacham 2005-12-12, 7:48 am |
| Winston Doyle wrote:
> Now done and fixed!
Glad to hear that.
Bruce
|
|
|
|