Subject | Error 335544344 -- DatabaseName strings with named offers. |
---|---|
Author | jlane_campbell |
Post date | 2011-04-04T18:44:57Z |
We're using IBObjects v4.8.7 with Delphi 7 under WinXP and Win7. Recently we added a dialog that lets users select a path to their .FDB file via a Delphi TOpenDialog, and if necessary, configuring the path returned, as the dialog's returned FileName (which includes the path) isn't always compatible with the TIBODatabase object's Connect method. In the case of returns via Network Neighborhood/Workgroups from a server with a named offer -- we would format the string as '\\<Server>\\<OfferName>\<Rest of Path>\<Filename>.FDB. Here's the thing that is weirding us out ... it works for offers defined against a path on the C: drive, but not for any other (D:, E: or F: on my box). Nor is it a specific pattern, for on one office computer it worked for an offer against the F: drive.
In Debug, I can trace it to where the function isc_attach_database() is called from within the TIB_Connection.API_Connect procedure; at that point it returns the error without any inkling of what happened internally. What gives? Is there some property of my drives or some condition of my computer's (or any other computer's) environment that would cause this? Any help greatly appreciated.
Lane Campbell
NW Software
In Debug, I can trace it to where the function isc_attach_database() is called from within the TIB_Connection.API_Connect procedure; at that point it returns the error without any inkling of what happened internally. What gives? Is there some property of my drives or some condition of my computer's (or any other computer's) environment that would cause this? Any help greatly appreciated.
Lane Campbell
NW Software