Click here to Skip to main content
15,925,255 members
Home / Discussions / COM
   

COM

 
QuestionExtending Active Directory UI ? Pin
Hendrik Kurniawan27-Nov-01 16:33
Hendrik Kurniawan27-Nov-01 16:33 
GeneralActiveX control looses TAB key Veeerrry Strange Pin
Bill Wilson27-Nov-01 12:44
Bill Wilson27-Nov-01 12:44 
GeneralAutomation Error Pin
Firoz27-Nov-01 0:43
Firoz27-Nov-01 0:43 
GeneralRe: Automation Error Pin
Shadi Al-Kahwaji27-Nov-01 22:29
Shadi Al-Kahwaji27-Nov-01 22:29 
GeneralNEW Guy Needs Help w/COM Pin
21-Nov-01 17:31
suss21-Nov-01 17:31 
GeneralRe: NEW Guy Needs Help w/COM Pin
Firoz21-Nov-01 18:37
Firoz21-Nov-01 18:37 
GeneralRe: NEW Guy Needs Help w/COM Pin
27-Nov-01 2:10
suss27-Nov-01 2:10 
GeneralRe: NEW Guy Needs Help w/COM Pin
Brian van der Beek27-Nov-01 10:19
Brian van der Beek27-Nov-01 10:19 
The problem your having is that the compiler does not know the CLSID and IID. This means that you did not include them. This has absolutely nothing to do with the COM object not being registered, this would only cause a runtime error -> CoCreateInstance returns a class or interface not registered error.

There are two way to use a COM object.
1. Import the type library (.tlb file), just as you would include a header file, e.g. #import "component.tlb" at the top of your .h or .cpp file.

2. Add the _i.c file generated by the components .idl file to your product and include the generated .h file into your .h or .cpp file. This is probably not the way for you as you wil probably not have these files and do not have the source files (read .idl file) to generate them.
GeneralRe: NEW Guy Needs Help w/COM Pin
Bill Wilson27-Nov-01 13:09
Bill Wilson27-Nov-01 13:09 
GeneralUnresolved External Link Pin
Adam Arthur21-Nov-01 8:46
Adam Arthur21-Nov-01 8:46 
GeneralRe: Unresolved External Link Pin
Michael Dunn21-Nov-01 17:59
sitebuilderMichael Dunn21-Nov-01 17:59 
GeneralError in COM Pin
19-Nov-01 18:31
suss19-Nov-01 18:31 
GeneralRe: Error in COM Pin
Henrik Sternberg20-Nov-01 5:33
Henrik Sternberg20-Nov-01 5:33 
GeneralRe: Error in COM Pin
Carlos Antollini20-Nov-01 5:51
Carlos Antollini20-Nov-01 5:51 
GeneralRe: Error in COM Pin
Michael P Butler21-Nov-01 1:54
Michael P Butler21-Nov-01 1:54 
GeneralRe: Error in COM Pin
Rashid Thadha21-Nov-01 4:36
Rashid Thadha21-Nov-01 4:36 
GeneralRe: Error in COM Pin
22-Nov-01 19:11
suss22-Nov-01 19:11 
QuestionHow to implement COM Add-ins in our application? Pin
yufu16-Nov-01 18:11
yufu16-Nov-01 18:11 
AnswerRe: How to implement COM Add-ins in our application? Pin
Michael P Butler21-Nov-01 1:48
Michael P Butler21-Nov-01 1:48 
GeneralATL server exception throwing problem in release mode. Please Help! Pin
George Anescu16-Nov-01 4:08
George Anescu16-Nov-01 4:08 
GeneralRe: ATL server exception throwing problem in release mode. Please Help! Pin
Bill Wilson16-Nov-01 13:20
Bill Wilson16-Nov-01 13:20 
GeneralRe: ATL server exception throwing problem in release mode. Please Help! Pin
George Anescu19-Nov-01 3:39
George Anescu19-Nov-01 3:39 
GeneralClient server Communication Pin
AndyC15-Nov-01 23:08
AndyC15-Nov-01 23:08 
GeneralRe: Client server Communication Pin
Bill Wilson16-Nov-01 7:30
Bill Wilson16-Nov-01 7:30 
GeneralRe: Client server Communication Pin
AndyC3-Dec-01 3:37
AndyC3-Dec-01 3:37 

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.