How to call DoEvents in a class file? The project is compiled into a DLL and the class has no access to any forms.