Click here to Skip to main content
15,886,518 members
Home / Discussions / COM
   

COM

 
QuestionEcxel.dll is not working Pin
ersinsivaz20-Jul-06 10:00
ersinsivaz20-Jul-06 10:00 
Questionsafearray access returns junk pls help Pin
nikhil_ag198520-Jul-06 2:07
nikhil_ag198520-Jul-06 2:07 
QuestionGUID [modified] Pin
RRRB20-Jul-06 0:09
RRRB20-Jul-06 0:09 
AnswerRe: GUID Pin
nikhil_ag198520-Jul-06 2:14
nikhil_ag198520-Jul-06 2:14 
GeneralRe: GUID Pin
RRRB20-Jul-06 2:26
RRRB20-Jul-06 2:26 
AnswerRe: GUID [modified] Pin
sudeesh26-Jul-06 3:07
sudeesh26-Jul-06 3:07 
QuestionPlease help. Problem with including .idl file [modified] Pin
Kiran Pinjala19-Jul-06 21:35
Kiran Pinjala19-Jul-06 21:35 
AnswerRe: Please help. Problem with including .idl file Pin
Steve S19-Jul-06 21:59
Steve S19-Jul-06 21:59 
I can help you with the first error;
You need to alter your project settings for the .c file so that it specifies "Not using precompiled headers".

If you're using VC6, you can right-click on file in FileView and select settings, you need C++ tab, category 'precompiled headers'. HINT: change it for 'All configurations' or you'll forget later!

Can't tell you how toi use the classes, since I have no idea what component you have. General stuff though :-

Make sure that you call either OleInitialize (or AfxOleInit if it's an MFC app) or CoInitialize/CoInitializeEx, or you won't be able to do anything.

To get an interface to an instance of the component, you need to call

CoCreateInstance( CLSID_xxxxx, NULL, CLSCTX_ALL, IID_zzzzzz, reinterpret_cast<void**>(&ptr));

where you have IMyInterface* ptr;

Check your return codes, and of course, if that works, eventually you'll need to call

ptr->Release();

Enjoy Smile | :)

Steve S
Developer for hire
GeneralRe: Please help. Problem with including .idl file Pin
Kiran Pinjala19-Jul-06 23:47
Kiran Pinjala19-Jul-06 23:47 
Questionhow to use activeX inside ActiveX [modified] Pin
Chetan Sheladiya19-Jul-06 19:38
professionalChetan Sheladiya19-Jul-06 19:38 
AnswerRe: how to use activeX inside ActiveX Pin
Prakash Nadar1-Aug-06 1:18
Prakash Nadar1-Aug-06 1:18 
Questionhow to login Pin
With_problem19-Jul-06 17:48
With_problem19-Jul-06 17:48 
Questionstarting problem with Netmeeting sdk program Pin
Kiran Pinjala19-Jul-06 2:28
Kiran Pinjala19-Jul-06 2:28 
Questionstarting problem with Netmeeting sdk program Pin
Kiran Pinjala19-Jul-06 2:43
Kiran Pinjala19-Jul-06 2:43 
Questiona way around constructor arguments Pin
nikhil_ag198518-Jul-06 21:07
nikhil_ag198518-Jul-06 21:07 
QuestionProblem in debugging COM+ DLL Pin
Findingnimmo18-Jul-06 20:37
Findingnimmo18-Jul-06 20:37 
QuestionDifficulty in creating object of IMAPI Pin
kanduripavan18-Jul-06 18:48
kanduripavan18-Jul-06 18:48 
AnswerRe: Difficulty in creating object of IMAPI Pin
Steve S18-Jul-06 21:48
Steve S18-Jul-06 21:48 
GeneralRe: Difficulty in creating object of IMAPI Pin
kanduripavan19-Jul-06 20:22
kanduripavan19-Jul-06 20:22 
QuestionPING using WMI Pin
abhiramsss18-Jul-06 18:18
abhiramsss18-Jul-06 18:18 
Questiongreetings Pin
PatrickDGreat18-Jul-06 16:06
PatrickDGreat18-Jul-06 16:06 
AnswerRe: greetings Pin
RRRB20-Jul-06 0:25
RRRB20-Jul-06 0:25 
QuestionBrowser Helper Object (BHO) not loading on some machines Pin
alianyn18-Jul-06 3:49
alianyn18-Jul-06 3:49 
QuestionActivex control and IE Pin
sunita ramesh18-Jul-06 1:39
sunita ramesh18-Jul-06 1:39 
AnswerRe: Activex control and IE Pin
Mike Dimmick18-Jul-06 6:35
Mike Dimmick18-Jul-06 6:35 

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.