devxlogo

Be Careful When Terminating OLE Servers

Be Careful When Terminating OLE Servers

Don’t provide a method that terminates your server. Let the server automaticallyterminate when no references to the server exist. If you provide an Exitmenu option in an OLE server that displays a user interface, simply unloadthe forms the user opened and free all object instances that were created.

devx-admin

Share the Post: