Click here to Skip to main content
15,907,281 members
Home / Discussions / COM
   

COM

 
GeneralRe: Windows Management Instrumentation Pin
MailtoGops22-Aug-05 5:57
MailtoGops22-Aug-05 5:57 
GeneralRe: Windows Management Instrumentation Pin
MailtoGops22-Aug-05 5:57
MailtoGops22-Aug-05 5:57 
GeneralEx2K : Event Sink Registration - Access Denied Pin
Michael B. Hansen22-Aug-05 0:28
Michael B. Hansen22-Aug-05 0:28 
GeneralLoad printers using COM+ from user profile Pin
Member 77854319-Aug-05 11:01
Member 77854319-Aug-05 11:01 
GeneralDifference in the compiling modes Pin
Logan from Singapore18-Aug-05 17:55
Logan from Singapore18-Aug-05 17:55 
GeneralRe: Difference in the compiling modes Pin
Steve S22-Aug-05 1:01
Steve S22-Aug-05 1:01 
GeneralRe: Difference in the compiling modes Pin
Logan from Singapore22-Aug-05 15:41
Logan from Singapore22-Aug-05 15:41 
GeneralMarshalling problem Pin
David_Leikis18-Aug-05 11:31
David_Leikis18-Aug-05 11:31 
I am trying to get an array created in a COM Server and passed back to the client by the mechanism: [out, size_is(,*pNum_ROI_nodes)] float **pROI_coords

from the .idl file.

Where the pNum_ROI_nodes is the size of the array and pROI_coords is the name of the array.

Problem: I am receiving only one value back in this array on the client side. I have verified that only one value is being allocated in the array by the marshaller in the client side. All data is being loaded into the server side of this array (where it is being created by (float*) CoTaskMemAlloc((resultNodes * 2) * sizeof(float))) The data on the client side is the very first value loaded into it by the server and nothing else except 0x0d f0 ad ba in the second location. (bad food)

Is there some setting for the COM that is confusing the marshaller? The above [out, size_is(,*pNum_ROI_nodes)] float **pROI_coords is only in the *.idl file. Should it be somewhere else as well??

The marshaller just doesn't seem to be getting the idea that there is an array, rather a single value.


Thanks in advance,
David
GeneralRe: Marshalling problem Pin
Vi218-Aug-05 19:54
Vi218-Aug-05 19:54 
GeneralRe: Marshalling problem Pin
David_Leikis19-Aug-05 3:26
David_Leikis19-Aug-05 3:26 
GeneralRe: Marshalling problem Pin
Vi219-Aug-05 4:17
Vi219-Aug-05 4:17 
GeneralRe: Marshalling problem Pin
David_Leikis19-Aug-05 4:42
David_Leikis19-Aug-05 4:42 
GeneralRe: Marshalling problem Pin
Vi222-Aug-05 21:59
Vi222-Aug-05 21:59 
GeneralRe: Marshalling problem Pin
RikaBoy26-Aug-05 21:45
RikaBoy26-Aug-05 21:45 
General[Message Deleted] Pin
RikaBoy26-Aug-05 21:18
RikaBoy26-Aug-05 21:18 
GeneralRe: Marshalling problem Pin
Lim Bio Liong19-Aug-05 3:12
Lim Bio Liong19-Aug-05 3:12 
GeneralRe: Marshalling problem Pin
David_Leikis19-Aug-05 3:38
David_Leikis19-Aug-05 3:38 
GeneralRe: Marshalling problem Pin
Lim Bio Liong19-Aug-05 4:04
Lim Bio Liong19-Aug-05 4:04 
GeneralRe: Marshalling problem Pin
David_Leikis19-Aug-05 4:13
David_Leikis19-Aug-05 4:13 
GeneralRe: Marshalling problem Pin
Lim Bio Liong19-Aug-05 4:44
Lim Bio Liong19-Aug-05 4:44 
GeneralRe: Marshalling problem Pin
David_Leikis19-Aug-05 5:01
David_Leikis19-Aug-05 5:01 
GeneralRe: Marshalling problem Pin
Lim Bio Liong19-Aug-05 5:20
Lim Bio Liong19-Aug-05 5:20 
GeneralRe: Marshalling problem Pin
Lim Bio Liong19-Aug-05 4:52
Lim Bio Liong19-Aug-05 4:52 
Generalmshtml programming Pin
softty18-Aug-05 9:46
softty18-Aug-05 9:46 
GeneralAdding a new Interface to Existing component Pin
BicycleTheif18-Aug-05 1:50
BicycleTheif18-Aug-05 1:50 

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.