Click here to Skip to main content
15,889,266 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralConceptual doubt Pin
yeluri4-Dec-03 2:09
yeluri4-Dec-03 2:09 
GeneralAccessing Managed From Extended Proc Pin
Shaun Becker3-Dec-03 10:25
Shaun Becker3-Dec-03 10:25 
GeneralReading from a USB port with Win32 API Pin
sixefftee2-Dec-03 8:39
sixefftee2-Dec-03 8:39 
GeneralRe: Reading from a USB port with Win32 API Pin
Chris Barrell2-Dec-03 9:21
Chris Barrell2-Dec-03 9:21 
GeneralRe: Reading from a USB port with Win32 API Pin
John M. Drescher9-Dec-03 7:18
John M. Drescher9-Dec-03 7:18 
Questionhow i save bitmap file by use VC++ .net Pin
kritsadakorn30-Nov-03 14:18
kritsadakorn30-Nov-03 14:18 
AnswerRe: how i save bitmap file by use VC++ .net Pin
RafMar2-Dec-03 7:26
RafMar2-Dec-03 7:26 
General** Array with C# Pin
Relampago25-Nov-03 10:07
Relampago25-Nov-03 10:07 
Hi
Im try to get the icq api to work in c# but i trapped into a big problem.

The dll-function:

ICQAPICall_GetOnlineListDetails

BOOL WINAPI ICQAPICall_GetOnlineListDetails(int &iCount, BPSICQAPI_User **ppUsers);

In (Arguments): None
Out (Returns): iCount, ppUsers
iCount - the number of Users to follow
ppUsers - a pointer to the users’ array.
Description: The data returned is in the order of the online list, top to bottom. The users array is initialized with the user’s ICQ# (m_iUIN field) and the Window Handle (m_hFloatWindow) if the user is “floating”. The users array should be freed by calling ICQAPIUtil_FreeUsers to free each user structure and the array itself.

The iCount Parameter i get correctly with passing "out iCount" to the function (it will return the exact count), but the array gets size 1 and consists garbage. I used this:

[MarshalAs(UnmanagedType.LPArray)]
BSICQAPI_User[] ppUsers //its a array of structs.

It doesnt matter if i do ref or not in the function header.


Does somone know how i can get the right parameter for BPSICQAPI_User **ppUsers ?

THX

sorry for my bad english



GeneralRe: ** Array with C# Pin
Relampago25-Nov-03 10:26
Relampago25-Nov-03 10:26 
QuestionAnyone attempting Managed Wrapper for XP P2P sdk? Pin
schnee2k325-Nov-03 7:19
schnee2k325-Nov-03 7:19 
GeneralProblem choosing collection…. Pin
d00_ape24-Nov-03 22:05
sussd00_ape24-Nov-03 22:05 
QuestionWill the free Borland Compiler have everything I need? Pin
Anonymous24-Nov-03 13:37
Anonymous24-Nov-03 13:37 
AnswerRe: Will the free Borland Compiler have everything I need? Pin
Anonymous24-Nov-03 13:39
Anonymous24-Nov-03 13:39 
GeneralRe: Will the free Borland Compiler have everything I need? Pin
Brian Olej3-Jan-04 20:19
Brian Olej3-Jan-04 20:19 
GeneralError after changing default application icon Pin
tfitz24-Nov-03 13:13
tfitz24-Nov-03 13:13 
GeneralConvert data stored in a DataTable to types in unmanaged code Pin
holly_vi24-Nov-03 6:58
holly_vi24-Nov-03 6:58 
GeneralProject Icon for MC++ Pin
DR Clevenger21-Nov-03 8:16
DR Clevenger21-Nov-03 8:16 
GeneralRe: Project Icon for MC++ Pin
Tom Archer21-Nov-03 19:13
Tom Archer21-Nov-03 19:13 
GeneralRe: Project Icon for MC++ Pin
DR Clevenger22-Nov-03 2:16
DR Clevenger22-Nov-03 2:16 
GeneralRe: Project Icon for MC++ Pin
Tom Archer22-Nov-03 3:42
Tom Archer22-Nov-03 3:42 
GeneralRe: Project Icon for MC++ Pin
DR Clevenger22-Nov-03 3:44
DR Clevenger22-Nov-03 3:44 
GeneralRe: Project Icon for MC++ Pin
Tom Archer22-Nov-03 6:45
Tom Archer22-Nov-03 6:45 
GeneralDataSet and DataRow Pin
Alexandre R Oliveira20-Nov-03 9:48
Alexandre R Oliveira20-Nov-03 9:48 
GeneralRe: DataSet and DataRow Pin
Tom Archer20-Nov-03 18:52
Tom Archer20-Nov-03 18:52 
GeneralTrouble: procedure imported by some.dll could not be loaded Pin
IceMage20-Nov-03 4:12
IceMage20-Nov-03 4:12 

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.