Click here to Skip to main content
15,559,640 members
Home / Discussions / COM
   

COM

 
AnswerRe: CoInitialize return code [modified] Pin
Sauro Viti15-Oct-10 0:46
professionalSauro Viti15-Oct-10 0:46 
GeneralRe: CoInitialize return code Pin
alex__b15-Oct-10 1:05
professionalalex__b15-Oct-10 1:05 
QuestionInvoke methods in OCX in c# Pin
Viratsaran11-Oct-10 21:18
Viratsaran11-Oct-10 21:18 
AnswerRe: Invoke methods in OCX in c# Pin
«_Superman_»13-Oct-10 21:31
professional«_Superman_»13-Oct-10 21:31 
QuestionConvert document to PDF format Pin
hemananthan15-Sep-10 20:29
hemananthan15-Sep-10 20:29 
AnswerRe: Convert document to PDF format Pin
Member 45243333-Jul-11 23:40
Member 45243333-Jul-11 23:40 
GeneralRe: Convert document to PDF format Pin
Nitin K. Kawale12-Jul-11 1:34
professionalNitin K. Kawale12-Jul-11 1:34 
QuestionGetting an access to idispatch member of idispatch interface Pin
Altankhuu11-Sep-10 22:25
Altankhuu11-Sep-10 22:25 
Hi. I am a physicist. I am trying to work with an imported activex control (ocx file) on Delphi. There are 3 automation interfaces in the library: IGraph, IGraphAxes and IAxis. The structure of the library is such that:

===IGraph’s properties:===
Idispatch* IGraphAxes;
... //other members

===IGraphAxes’ properties:===
Idispatch* XAxis;
Idispatch* YAxis;
Idispatch* ZAxis;
integer Color;
integer Style;
… //other members

===IAxis properties:===
float Min, Max;
Boolean ShowNumbers;
… //other members

From IGraph, I am able to get an access to simple members of IGraphAxes (Color and Style) using GetIDsOfNames() and Invoke() functions. But when I try to get an access to XAxis (or YAxis, Zaxis) it generates an error. First, I use GetIDsOfNames() and it returns the dispid of XAxis without any problem. But when I call Invoke with that dispid there is an error “Access violation at address …”. It seems, the idispatch pointer Xaxis points to nothing. How can I solve this? How to make
Idispatch* Xaxis
and
IAxis interface attached to each other (or how to make idispatch* XAxis point to IAxis)?
Thanks in advance.
AnswerRe: Getting an access to idispatch member of idispatch interface Pin
«_Superman_»12-Sep-10 20:21
professional«_Superman_»12-Sep-10 20:21 
GeneralRe: Getting an access to idispatch member of idispatch interface Pin
Altankhuu19-Sep-10 22:56
Altankhuu19-Sep-10 22:56 
AnswerRe: Getting an access to idispatch member of idispatch interface Pin
Lim Bio Liong26-Oct-10 2:38
Lim Bio Liong26-Oct-10 2:38 
QuestionreportAppFactory.OpenDocument throws Invalid Cast exception (No such interfaces supported) [modified] Pin
amitcoder836-Sep-10 18:54
amitcoder836-Sep-10 18:54 
AnswerCrosspost - ignore Pin
Richard MacCutchan6-Sep-10 22:37
mveRichard MacCutchan6-Sep-10 22:37 
QuestionHow to send NULL to a IUnknown** parameter when COM object is surrogate hosted Pin
Per Nilsson2-Sep-10 20:58
Per Nilsson2-Sep-10 20:58 
AnswerRe: How to send NULL to a IUnknown** parameter when COM object is surrogate hosted Pin
tolw2-Sep-10 21:33
tolw2-Sep-10 21:33 
GeneralRe: How to send NULL to a IUnknown** parameter when COM object is surrogate hosted Pin
Per Nilsson2-Sep-10 21:42
Per Nilsson2-Sep-10 21:42 
AnswerRe: How to send NULL to a IUnknown** parameter when COM object is surrogate hosted [modified] Pin
tolw2-Sep-10 22:16
tolw2-Sep-10 22:16 
GeneralRe: How to send NULL to a IUnknown** parameter when COM object is surrogate hosted Pin
Per Nilsson3-Sep-10 0:07
Per Nilsson3-Sep-10 0:07 
QuestionWSACancelBlockingCall Pin
Bedke2-Sep-10 2:51
Bedke2-Sep-10 2:51 
QuestionHow to deal with such situation?(Need pass STL vector to dll under vs2008) [modified] Pin
fantasy121523-Aug-10 18:04
fantasy121523-Aug-10 18:04 
AnswerRe: How to deal with such situation?(Need pass STL vector to dll under vs2008) Pin
KingsGambit23-Aug-10 22:00
KingsGambit23-Aug-10 22:00 
QuestionQuestion about IOleObject::GetClipboardData Pin
edward barbu18-Aug-10 1:51
edward barbu18-Aug-10 1:51 
QuestionObject Initialization Problem Pin
pjdriverdude6-Aug-10 5:17
pjdriverdude6-Aug-10 5:17 
AnswerRe: Object Initialization Problem Pin
Sauro Viti6-Aug-10 5:42
professionalSauro Viti6-Aug-10 5:42 
GeneralRe: Object Initialization Problem Pin
pjdriverdude6-Aug-10 6:17
pjdriverdude6-Aug-10 6:17 

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.