devxlogo

Simultaneous Debug for Server and Calling Application

Simultaneous Debug for Server and Calling Application

VB4 not only allows you to create OLE Automation servers, butto debug the server and the calling application simultaneously.If you want to create a remote OLE server, set the Instancingproperty of the class modules to Creatable SingleUse. This willmake debugging more interesting.

Each time you call that class, the calling application will tryto create another instance (process) of that server. The serveris running in design mode, and VB will not start another copyof itself and load the server app again. The solution is to temporarilyset the instancing of the class modules to Creatable MultiUsefor testing purposes. Don’t forget to set the instancing backto SingleUse before compiling the OLE server.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist