Click here to Skip to main content
15,907,687 members
Home / Discussions / COM
   

COM

 
GeneralRe: displaying the ActiveX Composite control Pin
manish.patel25-Mar-08 23:08
manish.patel25-Mar-08 23:08 
Questionembedding WMP and changing it's skin Pin
H.R21-Oct-07 10:07
H.R21-Oct-07 10:07 
QuestionRegister browser helper object Pin
conman11019-Oct-07 5:28
conman11019-Oct-07 5:28 
AnswerRe: Register browser helper object Pin
User 21559719-Oct-07 7:05
User 21559719-Oct-07 7:05 
GeneralRe: Register browser helper object Pin
conman11020-Oct-07 0:08
conman11020-Oct-07 0:08 
GeneralRe: Register browser helper object Pin
User 21559721-Oct-07 1:48
User 21559721-Oct-07 1:48 
GeneralRe: Register browser helper object Pin
conman11021-Oct-07 3:53
conman11021-Oct-07 3:53 
GeneralRe: Register browser helper object Pin
User 21559721-Oct-07 5:51
User 21559721-Oct-07 5:51 
conman110 wrote:
what steps have to be done in the registry) and what has to be done to register this COM object as an BHO (also which steps are required in the registry, but I guess it's the key you were refering to in your link)?

Since its a COM server, you have to register it in a way all other COM server are registered. Now this is a special server/component that is also a BHO, so for Explorer to recognize it as BHO some special registry key is required in the Registry. This special registry entry is to be made under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects
as shown in the link I gave you.

conman110 wrote:
You see, it seems the COM object gets automatically registered by Visual Studio when building the project and this has to be done by the setup project when installing the BHO on another machine also.

Are you using ATL for building your COM server? If yes then there is a .RGS file in ATL projects that contains details of registration. ATL Registrar object takes care of registration. See DllRegisterServer and DllUnregisterServer function code in your ATL project. The code is autogenerated by wizard.

If you want to manually register COM DLL servers, we can use a Windows utility - regsvr32.exe

In the MSI package, if you open it in Orca tool for editing, you will find a table called SelfReg[^]. Any self registering component can have an entry in this table which results in auto-registration during intallation.
If you are using any other tool for creating the Installation setup then consult how it handle SelfRegistration of components.

Does following link help -
http://support.microsoft.com/?id=307367[^]

Sohail


modified 21-Apr-21 21:01pm.

GeneralRe: Register browser helper object Pin
conman11021-Oct-07 22:28
conman11021-Oct-07 22:28 
GeneralRe: Register browser helper object Pin
User 21559722-Oct-07 1:19
User 21559722-Oct-07 1:19 
QuestionCOM Pin
Catharin18-Oct-07 1:09
Catharin18-Oct-07 1:09 
AnswerRe: COM Pin
User 21559718-Oct-07 6:00
User 21559718-Oct-07 6:00 
GeneralRe: COM Pin
Catharin19-Oct-07 1:16
Catharin19-Oct-07 1:16 
GeneralRe: COM [modified] Pin
User 21559719-Oct-07 5:25
User 21559719-Oct-07 5:25 
GeneralRe: COM Pin
User 21559721-Oct-07 22:39
User 21559721-Oct-07 22:39 
GeneralRe: COM Pin
Catharin22-Oct-07 0:02
Catharin22-Oct-07 0:02 
GeneralRe: COM [modified] Pin
User 21559722-Oct-07 1:04
User 21559722-Oct-07 1:04 
GeneralRe: COM Pin
Catharin22-Oct-07 2:00
Catharin22-Oct-07 2:00 
GeneralRe: COM Pin
User 21559722-Oct-07 2:36
User 21559722-Oct-07 2:36 
QuestionHow to get Close event of WORD? (COM) Pin
PhanMinhDuy17-Oct-07 20:52
PhanMinhDuy17-Oct-07 20:52 
QuestionCOM interfaces Pin
DanyCode17-Oct-07 9:37
DanyCode17-Oct-07 9:37 
QuestionCOM Pin
Catharin16-Oct-07 0:09
Catharin16-Oct-07 0:09 
AnswerRe: COM [modified] Pin
User 21559716-Oct-07 6:14
User 21559716-Oct-07 6:14 
GeneralRe: COM Pin
Catharin16-Oct-07 23:53
Catharin16-Oct-07 23:53 
QuestionWindows Media Player Control Pin
SonicMouse13-Oct-07 12:22
SonicMouse13-Oct-07 12:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.