Talk:COM Object Instancing Types

From RAD Studio
Jump to: navigation, search

"Note: Instancing is ignored when your COM object is used only as an in-process server." is wrong. If you have an in-process server and set Instancing to "ciInternal", then when you run "regsvr32" or otherwise register the server, it does not actually register any objects that were set to ciInternal. (I believe this is the correct behaviour, however the documentation should not say that the setting is ignored).

Suggest that the line be changed to (assuming that this is what it was supposed to mean):

   Note: ciSingleInstance is treated as ciMultiInstance if your COM object is used in an in-process server.

It would also be useful to add something like:

   Note: ciInternal also means that the class will not be registered in the registry.

Response

We are investigating and will make the necessary changes.

Many thanks for your contribution to the docwiki.

KrisHouser (talk) 14:12, 6 June 2014 (PDT)

RS-51583