devxlogo

Improve the Speed and Catch Syntax Errors in OLE Automation Code at Compile Time

Improve the Speed and Catch Syntax Errors in OLE Automation Code at Compile Time

Depending on what the code is doing, early binding may significantly improve the speed of the code. Also, syntax errors in OLE Automation code, which otherwise fail at run time, gets caught at compile time. As early binding occurs at compile time rather than run time, so if code is saved in a compiled state, binding is complete before the code is even run. It eliminates the need to continually verify object information while using the object.

devx-admin

Share the Post: