Subject Re: [IBO] Mangled path when using F: drive
Author Joe Martinez
FYI, I got it fixed. Turns out I wasn't setting the Protocol property to
TCP/IP. Once I did that, it worked. Still strange that it mangled the
path like that, and only for the F: drive.

-Joe

At 03:11 AM 3/25/2005, you wrote:

>At 02:01 AM 25/03/2005 -0800, you wrote:
>
> >This is bizarre. I'm not sure if it's an IBO problem or a Firebird
> >problem, but here's what it is...
> >
> >I have a TIB_Connection. I set the path to:
> >
> >f:\myfolder\mydb.fdb
> >
> >I call Connect() on the TIB_Connection, and I get the following error:
> >
> >I/O error for file "\!f$!\myfolder\mydb.fdb"
> >Error while trying to open file
> >etc....
> >
> >The strange thing is that this only happens if I use the f: drive. If I
> >change the "f" to a "c" or any other drive letter, the path doesn't get
> >mangled like that. If I change the drive letter to a "c", and it's
> >pointing to a nonexistent database, I get the same error, but with a
> >"normal" path.
> >
> >In the debugger, I put a break point just before the Connect() statement,
> >and checked the value of the Path property of the TIB_Connection, and it
> >looks correct there, but I still get the error message with the mangled
> >beginning of the path.
>
>It sounds pretty bizarre to me. I have databases on the F drives of two
>computers and they don't react any differently to other drives.
>
>Are you sure your F drive is hard-wired, i.e. is the actual designator of a
>disk or partition? What protocol do you use for connecting?
>
>Helen
>
>
>
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>Yahoo! Groups Links
>
>
>
>