<?xml version="1.0" encoding="windows-1252"?>
<node id="784813" title="Re^3: Check whether the file is in use by an other user" created="2009-07-31 01:51:10" updated="2009-07-31 01:51:10">
<type id="11">
note</type>
<author id="784525">
fish</author>
<data>
<field name="doctext">
For those of you who are interessted in the topic. I solved the problem by myself.&lt;br/&gt;&lt;br /&gt;
&lt;code&gt;sysopen(FH, $file, O_WRONLY|O_EXCL) or die $!;&lt;/code&gt;

works fine for me and it even works if the file is opened via a shared folder.&lt;br /&gt;&lt;br /&gt;

Finally I want to apologize for my offtopic-postings. I thougt the "fileInUse"-check would be possible with a Win32::OLE-function and because of that I posted here and did not create a new thread. I hope I will do better in future.&lt;br /&gt;&lt;br /&gt;

Best regards from sunny Germany.</field>
<field name="root_node">
153486</field>
<field name="parent_node">
784588</field>
</data>
</node>
