David
The COM object is based on a Form class and contains a Timer object - nothing else. I have some code in the Error method of the form which grabs the error method parameters puts them into a string and uses COMReturnError to send the string to the client. I got this from the COM Server sample available on the MS VFP site. Anyway this seems to work fine when I deliberately create an error providing I do not use the timer.
There is no error handling code in the timer object itself ... should there be?
The Timer is disabled in the very first line in its Timer method. I have the interval set to about 500.
PS I am using a form for two reasons
1) I need a container of some sort if I am to include a Timer object
2) I can set its datasession to private this would allow the COM object to be multiple-use but each use would use a separate set of tables - is this a correct assumption?
David
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only