Subject Re: [ib-support] Re: --* Please Help*--- Database corruption and cannot backup & restore
Author Ivan Prenosil
> Therefore, according to this you have to set the current drive and
> directory first, then call GetFullPathName.

To avoid problems with ambiguous connect strings,
it is not much important what default values will be used
by the algorithm for creating fully specified path,
the values just need to be consistent during lifetime of server process (for superserver).
So if the server itself does not change current drive/directory,
GetFullPathName should work.

> If you are going to do that
> then you might as well parse the file name yourself!

Yes. (avoiding WinAPI calls is always good thing :-)

Ivan
prenosil@...
http://www.volny.cz/iprenosil/interbase