John, As myself... ;-)
Please ignore my previous post (below). I was able to sort out the marshaling. John > -----Original Message----- > From: John Bristowe > Sent: Thursday, 25 April 2002 12:46 PM > To: [EMAIL PROTECTED] > Subject: [ADVANCED-DOTNET] Marshalling/Kerberos Issues > > > Kids, > > I'm having a tough time trying to collection information > about Kerberos tickets that exist for the current logon > session. (See attached code example - AccessTktCache.cs.) In > particular, I'm having trouble trying to figure out how to > marshal the following struct: > > public struct KERB_QUERY_TKT_CACHE_RESPONSE > { > public KERB_PROTOCOL_MESSAGE_TYPE MessageType; > public ulong CountOfTickets; > public KERB_TICKET_CACHE_INFO[] Tickets; > } > > The marshaller bombs each and every time, stating that the > Tickets array couldn't be marshalled as a struct. > > Any suggestions? (Yes, I realize that MC++ would be a much > easier route for me to do what I'm trying to do.) > > Thanks, > > John You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.