Subject | AW: [firebird-support] Re: Embedded gds32.dll IBX Incompatability |
---|---|
Author | Alexander Gräf |
Post date | 2005-03-07T23:47:55Z |
> -----Ursprüngliche Nachricht-----Download this:
> Von: hc08jb8 [mailto:hc08jb8@...]
> Gesendet: Montag, 7. März 2005 22:13
> An: firebird-support@yahoogroups.com
> Betreff: [firebird-support] Re: Embedded gds32.dll IBX Incompatability
>
> 5.) When I run the exe, I get "I/O Error for file
> xyz.fdb....The process cannot access the file because it is
> used by another process"
>
> Any particular place I should look into resolving this?
>
> Thanks
> Jay
>
http://www.sysinternals.com/ntw2k/freeware/procexp.shtml
It has a "Search Handle" function, where you can enter a file name, and see who has opened the file currently. Also on the same site, there is a tool called NtFileMon:
http://www.sysinternals.com/ntw2k/source/filemon.shtml
It essentially displays a log of all files beeing accessed. Simply start the tool, and then your exe, and you can see which files exactly got accessed, and which caused the I/O-Error. Then you can use the ProcessExplorer above to find out who's locking your file. There is also an issue with the file suffix ".gdb", as it is used by the Windows Shadow Copy service (right?), maybe you simply switch to using another file suffix, for instance ".fdb".
Hope that helps,
Regards