Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
ObjectEventAdd does not freeze events in the way the dialog function does because it deals with non-control objects that may not support the interface for freezing events. But it is still up to the object to decide what to do with an event, if another event is outstanding. You can get yourself into a lot of trouble using ObjectEvetAdd with a poorly designed COM object, if you use UDSs instead of UDFs and the UDS is not re-entrant. Among other things your script could find itself in a race condition.
Keep in mind that this is still in beta and we may change a few things before general release. Also, COM event handling is not for the faint hearted script writer. It requires a little more knowledge and understanding of basic concepts than most other WB scripting. But it does have the potential to be a powerful tool.
Article ID: W16920
File Created: 2007:07:03:14:27:04
Last Updated: 2007:07:03:14:27:04