Click here to Skip to main content
15,915,501 members
Home / Discussions / COM
   

COM

 
AnswerRe: Retrive COM Interfaces Pin
User 21559711-Oct-05 8:37
User 21559711-Oct-05 8:37 
GeneralRe: Retrive COM Interfaces Pin
benjamin2311-Oct-05 16:53
benjamin2311-Oct-05 16:53 
GeneralRe: Retrive COM Interfaces Pin
User 21559711-Oct-05 21:03
User 21559711-Oct-05 21:03 
QuestionOPC Pin
Marc Soleda10-Oct-05 4:29
Marc Soleda10-Oct-05 4:29 
Questioninsert a object when the activex container Initializing Pin
ccto6-Oct-05 6:46
ccto6-Oct-05 6:46 
QuestionWebBrowserControl & DISPID_AMBIENT_DLCONTROL Pin
AlexR1236-Oct-05 6:28
AlexR1236-Oct-05 6:28 
QuestionSafeArrayCreate(Ex) Failure.... Pin
morenz6-Oct-05 2:46
morenz6-Oct-05 2:46 
AnswerRe: SafeArrayCreate(Ex) Failure.... Pin
David_Leikis6-Oct-05 5:17
David_Leikis6-Oct-05 5:17 
A suggestion for you on your SafeArray init.

I believe that you need to init the vt (first param) with a data type, that is, VT_R4 or something such as that. I am not certain if you are putting in Array addresses in the safearray itself. It looks like you want data values such as floats or integers. I have used several safearrays and my inits always work with a VT_R4 for float instead of your Dest->vt.

The documentation states:
>>
vt
The base type of the array (the VARTYPE of each element of the array). The VARTYPE is restricted to a subset of the variant types. Neither the VT_ARRAY nor the VT_BYREF flag can be set. VT_EMPTY and VT_NULL are not valid base types for the array. All other types are legal.
>>

The other suggestion is that this array is for two dimensions ((Source.columns * Source.rows) by 6), is it not? Therefore the second parameter of the SafeArrayCreate should be 2.
GeneralRe: SafeArrayCreate(Ex) Failure.... Pin
morenz7-Oct-05 0:21
morenz7-Oct-05 0:21 
QuestionAccessing COM componenets from Java Pin
kozu5-Oct-05 8:07
kozu5-Oct-05 8:07 
AnswerRe: Accessing COM componenets from Java Pin
Carsten Leue21-Oct-05 22:45
Carsten Leue21-Oct-05 22:45 
QuestionCOM objects in VC#...client in VC++6... how??? Pin
nonothing5-Oct-05 7:55
nonothing5-Oct-05 7:55 
QuestionRegistering Proxy/stub DLL Pin
David_Leikis5-Oct-05 4:34
David_Leikis5-Oct-05 4:34 
AnswerRe: Registering Proxy/stub DLL Pin
Roger Stoltz11-Oct-05 2:31
Roger Stoltz11-Oct-05 2:31 
GeneralRe: Registering Proxy/stub DLL Pin
David_Leikis11-Oct-05 2:59
David_Leikis11-Oct-05 2:59 
GeneralRe: Registering Proxy/stub DLL Pin
Roger Stoltz11-Oct-05 3:24
Roger Stoltz11-Oct-05 3:24 
QuestionCoCreateInstance Pin
Chirag_Saglani5-Oct-05 0:46
Chirag_Saglani5-Oct-05 0:46 
AnswerRe: CoCreateInstance Pin
Jörgen Sigvardsson5-Oct-05 2:19
Jörgen Sigvardsson5-Oct-05 2:19 
GeneralRe: CoCreateInstance Pin
Chirag_Saglani5-Oct-05 17:30
Chirag_Saglani5-Oct-05 17:30 
AnswerRe: CoCreateInstance Pin
vishalmore11-Oct-05 2:07
vishalmore11-Oct-05 2:07 
QuestionQuestion to Gurus Pin
Jagadeesh VN4-Oct-05 20:35
Jagadeesh VN4-Oct-05 20:35 
AnswerRe: Question to Gurus Pin
vishalmore11-Oct-05 2:24
vishalmore11-Oct-05 2:24 
QuestionStrange, even stranger errors with my DCOM... (Long MSG) Pin
morenz4-Oct-05 3:29
morenz4-Oct-05 3:29 
AnswerRe: Strange, even stranger errors with my DCOM... (Long MSG) Pin
morenz5-Oct-05 4:31
morenz5-Oct-05 4:31 
Questionhelp for COM ebooks Pin
rohanr2p4-Oct-05 1:58
rohanr2p4-Oct-05 1:58 

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.