You Can’t Create An OLE DLL With A Public Class Set To Creatable – Single Use

Only one copy of a DLL can exist in memory at a time. For this reason, VB doesn’t allow you to create DLLs exposing single use instancing classes. An EXE, however, allows you to create OLE servers that can be instanced multiple times for multiple clients. If you need a new instance of the server for each client you must create an out-of-process server in an EXE file instead of a DLL.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: