Hi Naomi,
Thanks for the reply. What I want to do is monitor a file and know when it's being written to. I've played with the VFP API sample
that uses bindevent, but it only registers file creation/deletion not updates.
I'm hoping there is an argument to look at file update events as well as creation/deletion. I tried both substituting and adding SHCNE_UPDATEITEM to the example's WM_USER_SHNOTIFY, but I have no idea what might be the correct arg or combination.
Gary
>>Hi all,
>>
>>I'm trying to figure out how to detect an update in a text file. I want to monitor updates to a log file from a 3rd party application. I looked at the VFP 9 sample and tweaked it to point at a specific file easily enough, but it only reports file deletion/creation, not updates to the file. Does anyone know how to intercept a file update?
>>
>>Thanks.
>>
>>Gary
>
>Not sure, if this is helpful, but check
Re: Send signals to each user using same system Thread #
1293566