Click here to Skip to main content
16,006,475 members
Home / Discussions / COM
   

COM

 
GeneralRe: Catching Events Pin
20-Jun-02 6:32
suss20-Jun-02 6:32 
GeneralRe: Catching Events Pin
Anonymous27-Aug-02 9:15
Anonymous27-Aug-02 9:15 
GeneralRe: Catching Events Pin
Amit Dey27-Aug-02 13:52
Amit Dey27-Aug-02 13:52 
GeneralException Handling Error Pin
soup15-Jun-02 6:00
soup15-Jun-02 6:00 
GeneralRe: Exception Handling Error Pin
Tim Smith15-Jun-02 6:20
Tim Smith15-Jun-02 6:20 
GeneralRe: Exception Handling Error Pin
soup15-Jun-02 14:25
soup15-Jun-02 14:25 
GeneralRe: Exception Handling Error Pin
Tim Smith15-Jun-02 14:58
Tim Smith15-Jun-02 14:58 
QuestionHow to pass out an array from a com+ object? Pin
Lizp13-Jun-02 23:43
Lizp13-Jun-02 23:43 
I am developing an application which need to pass an
array from a com+ object to the client,the object runs at
the server and the client app runs at a workstation.the
problem is i can't get the actual array at the client's
side.
some represetative code follows:
//.idl
[id(15), helpstring("method GetAllPolicyID")] HRESULT
GetAllPolicyID([in,out]long* size,[out,size_is(,*size)]
long** PolicyID);
//.cpp
*size=pRst->RecordCount;
*PolicyID=(ULONG*)CoTaskMemAlloc(*size*sizeof(ULONG));
for(long i=0;i<*size;i++)
{
if(!pRst->adoEOF)
{
vt=pRst->GetCollect("POLICYID");
(*PolicyID)[i]=vt.lVal;
pRst->MoveNext();
}
}


Scratch
AnswerRe: How to pass out an array from a com+ object? Pin
soptest14-Jun-02 9:40
soptest14-Jun-02 9:40 
GeneralRe: How to pass out an array from a com+ object? Pin
Lizp14-Jun-02 16:09
Lizp14-Jun-02 16:09 
GeneralPlease help (Events) Pin
Jason Troitsky (was Hattingh)13-Jun-02 21:30
Jason Troitsky (was Hattingh)13-Jun-02 21:30 
GeneralRe: Please help (Events) Pin
Amit Dey15-Jun-02 5:55
Amit Dey15-Jun-02 5:55 
GeneralRe: Please help (Events) Pin
Jason Troitsky (was Hattingh)15-Jun-02 6:19
Jason Troitsky (was Hattingh)15-Jun-02 6:19 
GeneralRe: Please help (Events) Pin
Amit Dey15-Jun-02 14:56
Amit Dey15-Jun-02 14:56 
GeneralRe: Please help (Events) Pin
Jason Troitsky (was Hattingh)15-Jun-02 22:28
Jason Troitsky (was Hattingh)15-Jun-02 22:28 
GeneralRe: Please help (Events) Pin
Amit Dey18-Jun-02 11:26
Amit Dey18-Jun-02 11:26 
GeneralRe: Please help (Events) Pin
Jason Troitsky (was Hattingh)18-Jun-02 11:42
Jason Troitsky (was Hattingh)18-Jun-02 11:42 
GeneralRe: Please help (Events) Pin
Amit Dey21-Jun-02 6:42
Amit Dey21-Jun-02 6:42 
GeneralRe: Please help (Events) Pin
Jason Troitsky (was Hattingh)27-Jun-02 0:09
Jason Troitsky (was Hattingh)27-Jun-02 0:09 
GeneralReminders in Outlook Pin
SHaroz13-Jun-02 6:12
SHaroz13-Jun-02 6:12 
GeneralRe: Reminders in Outlook Pin
SHaroz19-Jun-02 5:35
SHaroz19-Jun-02 5:35 
GeneralHelp! Word Document Pin
13-Jun-02 3:42
suss13-Jun-02 3:42 
GeneralRe: Help! Word Document Pin
SHaroz13-Jun-02 6:03
SHaroz13-Jun-02 6:03 
GeneralRe: Help! Word Document Pin
13-Jun-02 7:52
suss13-Jun-02 7:52 
GeneralRe: Help! Word Document Pin
SHaroz13-Jun-02 8:00
SHaroz13-Jun-02 8:00 

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.