Nice. I never need to know the contents of the structure, its just used to
hold session info. My code now works.

Many thanks

Kevin


>Just declare the return type as an IntPtr and treat it like a handle. If
>you need to look at the contents of the LDAP struct, use
>Marshal.PtrToStructure().
>
>
>Mattias
>
>===
>Mattias Sjögren
>[EMAIL PROTECTED]


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to