Tema: Re: Konvertuoti i is C# i VB
Autorius: Valdas
Data: 2010-12-23 11:03:58
o kaip sita konvertuoti?
entry.cbSize = (uint)Marshal.SizeOf(typeof(SIMPHONEBOOKENTRY));

"zZz" <zZz@zirzilia.lt> wrote in message 
news:iev2pk$a4q$1@trimpas.omnitel.net...
> Reflector
>
> "Valdas"  wrote in message news:iev0eq$647$1@trimpas.omnitel.net...
>
> sveiki, kaip konvertuoti sita koda is C# i VB:
>
> [StructLayout(LayoutKind.Sequential)]
> public struct SIMPHONEBOOKENTRY
> {
> public uint cbSize; //
> public uint dwParams; //
> [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)]
> public string lpszAddress; //
> public uint dwAddressType; //
> public uint dwNumPlan; //
> [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)]
> public string lpszText; //
> }
>
> aciu
>