Rabu, 22 Desember 2010

Advanced Topics in PInvoke String Marshaling

IntroductionThe .NET Platform Invoke tools, used through the DllImportAttribute, are a powerful and simple mechanism to interface with unmanaged DLLs. However, there are many subtleties that are important when addressing string buffer ownership responsibility with unmanaged code. This article covers some of the additional options besides the default MarshalAs(UnmanagedType.LPStr). Background So

Tidak ada komentar:

Posting Komentar