Re: [Samba] Re: Different behaviour of samba share in XP and Windows 2003 Server

2005-03-25 Thread Kiran VM
On Thu, 24 Mar 2005 11:01:02 -0800, Jeremy Allison [EMAIL PROTECTED] wrote: On Thu, Mar 24, 2005 at 11:11:44PM +0530, Kiran VM wrote: Hello Jerry, No CloseHandle() call is made in both the case. CFile (or for that reason CStdioFile) Close() method will close the OS file handle.

Re: [Samba] Re: Different behaviour of samba share in XP and Windows 2003 Server

2005-03-25 Thread Kiran VM
Hello Jeremy, Hello Jerry, I have attached a test exe (tester.exe) which will reproduce the problem. ( rename the tester.exe1 to tester.exe inside the zip file tester.zip1) Just run tester with the remote file name (from the samba share) as the parameter. (eg. Tester.exe

[Samba] Re: Different behaviour of samba share in XP and Windows 2003 Server

2005-03-24 Thread Kiran VM
Hello Jerry, No CloseHandle() call is made in both the case. CFile (or for that reason CStdioFile) Close() method will close the OS file handle. (closehandle() in the sample code is commented given can be ignored) Just to make it a bit more clearer, the executable (for testing i just put the

Re: [Samba] Re: Different behaviour of samba share in XP and Windows 2003 Server

2005-03-24 Thread Jeremy Allison
On Thu, Mar 24, 2005 at 11:11:44PM +0530, Kiran VM wrote: Hello Jerry, No CloseHandle() call is made in both the case. CFile (or for that reason CStdioFile) Close() method will close the OS file handle. (closehandle() in the sample code is commented given can be ignored) Just to make it a