Alper,
> Hello Esteemed Developers,
> I face problems using some managed codes in unmanaged ones and vice versa. For exampla I frequently took the following error message. That is:
[quoted text clipped - 3 lines]
>
> I noticed that my problem is converting managed types/codes to unmanged types/codes. I found some web pages about conversion. But those examples or
explanations seems to me complex. Marshal is a tecnique to do this
conversion.
> If you kindly forward me to a site, which explains this subject, is also prefereable.
>
> I would like to thank you in advance foe your sincere considerations and guidances
No need to marshal. Your problem is that you need to pin the objects in
order to be able to pass them to unmanaged code. Look for __pin in the
documentation.,

Signature
Tomas Restrepo
tomasr@mvps.org
Managed pointer as a member to an unmanaged class, or a global
http://msdn.microsoft.com/library/en-us/vcmxspec/html/vcManagedExtensionsSpec_16_3.as
Managed pointer that can be converted to an unmanaged pointer
http://msdn.microsoft.com/library/en-us/vcmex/html/vclrf__pin.asp
Alper Akcayoz - 14 May 2004 13:51 GMT