Click here to Skip to main content
15,921,905 members
Home / Discussions / COM
   

COM

 
QuestionIdentity impersonation per page - possible? Pin
minette20-Oct-05 0:08
minette20-Oct-05 0:08 
QuestionGoing insane over this Pin
odiesback19-Oct-05 5:44
odiesback19-Oct-05 5:44 
AnswerRe: Going insane over this Pin
Roger Stoltz20-Oct-05 0:07
Roger Stoltz20-Oct-05 0:07 
GeneralRe: Going insane over this Pin
odiesback20-Oct-05 7:04
odiesback20-Oct-05 7:04 
GeneralRe: Going insane over this Pin
Roger Stoltz24-Oct-05 22:22
Roger Stoltz24-Oct-05 22:22 
GeneralRe: Going insane over this Pin
odiesback25-Oct-05 5:04
odiesback25-Oct-05 5:04 
AnswerRe: Going insane over this Pin
Roger Stoltz25-Oct-05 12:03
Roger Stoltz25-Oct-05 12:03 
GeneralRe: Going insane over this Pin
odiesback25-Oct-05 13:46
odiesback25-Oct-05 13:46 
Hi Roger,

I started on a brand new lib and interfaces, coclasses, .idl etc.

I manage to trace the error to my DllGetClassObject() implementation
where I improved the code a little.

Then I created three clients: one using CoCreateObject(), the other using
CoGetClassObject()->CreateInstance() and lastly one using _com_ptr_t<>.
:-DALL WORKED GREATBig Grin | :-D

The only thing remaining:
On the OLE/COM Viewer now I can open my object under "All Object" (my constructor
MessageBox kicks in) but it shows me the "IUnknown" interface (It might be that
my reg file does not carry info for the other ifaces)

When I double click on my Type Lib icon I get this error:

LoadRegTypeLib({C3CA0811-45B1....},1,0,1033,...) failed.
Error loading type library/DLL
TYPE_E_CANTLOADLIBRARY($80029C4A)

Other than that all is fine (for nowSmile | :) )

Thanks again

Odie
GeneralRe: Going insane over this Pin
Roger Stoltz25-Oct-05 21:41
Roger Stoltz25-Oct-05 21:41 
GeneralRe: Going insane over this Pin
odiesback26-Oct-05 5:36
odiesback26-Oct-05 5:36 
QuestionHow to get the right URL before navigating the web page in the CHtmlView? Pin
superhandwolf17-Oct-05 5:53
superhandwolf17-Oct-05 5:53 
AnswerRe: How to get the right URL before navigating the web page in the CHtmlView? Pin
vishalmore20-Oct-05 0:17
vishalmore20-Oct-05 0:17 
QuestionCOM Pin
Santosh Kumar7913-Oct-05 19:12
Santosh Kumar7913-Oct-05 19:12 
AnswerRe: COM Pin
User 21559714-Oct-05 9:08
User 21559714-Oct-05 9:08 
AnswerRe: COM Pin
Brian C Hart30-Dec-05 23:30
professionalBrian C Hart30-Dec-05 23:30 
QuestionHow to Create Dll Pin
Santosh Kumar7913-Oct-05 19:06
Santosh Kumar7913-Oct-05 19:06 
QuestionWhat is tlb Pin
Santosh Kumar7913-Oct-05 19:01
Santosh Kumar7913-Oct-05 19:01 
AnswerRe: What is tlb Pin
ThatsAlok13-Oct-05 20:14
ThatsAlok13-Oct-05 20:14 
QuestionWhat is IDispatch Pin
Santosh Kumar7913-Oct-05 18:57
Santosh Kumar7913-Oct-05 18:57 
AnswerRe: What is IDispatch Pin
ThatsAlok13-Oct-05 19:54
ThatsAlok13-Oct-05 19:54 
AnswerRe: What is IDispatch Pin
Brian C Hart30-Dec-05 23:34
professionalBrian C Hart30-Dec-05 23:34 
QuestionWhat is CoCreateInstance Pin
Santosh Kumar7913-Oct-05 18:52
Santosh Kumar7913-Oct-05 18:52 
AnswerRe: What is CoCreateInstance Pin
ThatsAlok13-Oct-05 19:53
ThatsAlok13-Oct-05 19:53 
AnswerRe: What is CoCreateInstance Pin
Brian C Hart30-Dec-05 23:30
professionalBrian C Hart30-Dec-05 23:30 
QuestionDebugging COM DLL Pin
Babto13-Oct-05 11:54
Babto13-Oct-05 11:54 

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.