|
Home > Archive > Getting Started with dBASE > April 2006 > get bdealias error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
get bdealias error
|
|
|
| when i use BDEalias to get the path of EMP,it work wrong.
datealias:EMP path:"\\openfly\e\emp"
set procedure to bdealias.cc additive
b = new BDEAlias()
M=B.databasedir("EMP")
The result is M=null
Can anybody help me?
| |
| Ronnie MacGregor 2006-04-07, 9:24 am |
|
On Fri, 07 Apr 2006 06:12:10 -0400
jack said :
> when i use BDEalias to get the path of EMP,it work wrong.
> datealias:EMP path:"\\openfly\e\emp"
>
> set procedure to bdealias.cc additive
> b = new BDEAlias()
> M=B.databasedir("EMP")
>
> The result is M=null
>
> Can anybody help me?
The reason for your problem is that the indirect method used in this class to
get the path information fails with a UNC path. That is, if the path starts
with "\\".
I have a bug fixed and much enhanced class which will overcome this problem
amongst others, but haven't had time to finish tidying it up for publication.
I'll try to do this over the weekend if possible, and will post back here once
done.
--
Ronnie MacGregor
Scotland
Ronnie at
dBASEdeveloper
dot co dot uk
www.dBASEdeveloper.co.uk
| |
|
|
| Ken Mayer [dBVIPS] 2006-04-07, 8:23 pm |
| Ronnie MacGregor wrote:
> On Fri, 07 Apr 2006 06:12:10 -0400
> jack said :
>
>
>
>
> The reason for your problem is that the indirect method used in this class to
> get the path information fails with a UNC path. That is, if the path starts
> with "\\".
>
> I have a bug fixed and much enhanced class which will overcome this problem
> amongst others, but haven't had time to finish tidying it up for publication.
> I'll try to do this over the weekend if possible, and will post back here once
> done.
Ah. Can you make sure I get a copy ...?
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
|
|
|
|
|