Ahhhh,

Wrong parameter….

Don’t use

FSEventsMBS.kFSEventStreamEventIdSinceNow

But use 

FSEventsMBS.GetCurrentEventId

Nothing wrong with the Constructor.

Lee

On 23 Jan 2014, at 10:51, Mr Lee Badham <le...@bodoni.co.uk> wrote:

> Hi I’m trying to subclass a FSEvents class so I can use the Callback event to 
> talk to a timer.
> 
> When I use this I get a ‘This method requires more parameters’ error.
> 
> Private Sub Constructor(argpath as folderitem, argtimer as hotfolderpolltmer)
>  // Calling the overridden superclass constructor.
>  // Note that this may need modifications if there are multiple constructor 
> choices.
>  // Possible constructor calls:
>  // Constructor(path As folderitem, sinceWhen As UInt64, latency As double, 
> flags As integer) -- From FSEventsMBS
>  // Constructor(paths() As folderitem, sinceWhen As UInt64, latency As 
> double, flags As integer) -- From FSEventsMBS
>  // Constructor(path As string, sinceWhen As UInt64, latency As double, flags 
> As integer) -- From FSEventsMBS
>  // Constructor(paths() As string, sinceWhen As UInt64, latency As double, 
> flags As integer) -- From FSEventsMBS
>  // Constructor(DeviceToWatch As integer, path As string, sinceWhen As 
> UInt64, latency As double, flags As integer) -- From FSEventsMBS
>  // Constructor(DeviceToWatch As integer, paths() As string, sinceWhen As 
> UInt64, latency As double, flags As integer) -- From FSEventsMBS
> 
>  me.hottimer = argtimer
>  
> Super.Constructor(argpath,FSEventsMBS.kFSEventStreamEventIdSinceNow,1,FSEventsMBS.kFSEventStreamCreateFlagNone)
> 
> End Sub
> 
> Not sure what’s wrong, any ideas?
> 
> Regards,
> 
> Lee Badham
> 
> Bodoni Systems Ltd
> 
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> mbsplugins@monkeybreadsoftware.info
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Regards,

Lee Badham

Bodoni Systems Ltd


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to