I do have problems with WINDOWS 7 against WINDOWS 7 or 2008 SERVER.
This is my test environment.
I am connected with MSTSC to the server where I copy a file to a folder.
(if I copy the file from the local PC to the server folder there is no problem!)
On my WINDOWS 7 PC I run the attached test.exe.
I check the for the file. I takes from 3 to 7 sec. till the test – program gets notice.
Could someone please make a similar test?
Thanks in advance
Otto
Here is a short video to demonstrate the behavior.
http://www.atzwanger-software.com/fw/directory_test/index.html
- Code: Select all Expand view
- #include "FiveWin.ch"
static oTmr
function Main()
local oDlg, oProg
DEFINE DIALOG oDlg TITLE "Progress and timer"
@ 2.5, 10 BUTTON "End" ACTION oDlg:End()
ACTIVATE DIALOG oDlg CENTER ;
ON INIT ( Timer( oDlg, oProg ) )
return nil
//----------------------------------------------------------------------------//
function Timer( oDlg, oProg )
DEFINE TIMER oTmr INTERVAL 300 ;
ACTION ( checkDir() ) OF oDlg
ACTIVATE TIMER oTmr
return nil
//----------------------------------------------------------------------------//
function checkDir()
local aDirServ := {}
oTmr:Deactivate()
aDirServ := directory( "r:\itouch\bills\" + "*.dbf", "D" )
if len(aDirServ) > 0
msginfo( UPPER( aDirServ[1,1] ) )
endif
oTmr:activate()
return nil