Tema: Re: Konvertuoti i is C# i VB
Autorius: Valdas
Data: 2010-12-23 13:35:56
nemoku naudotis :)

"zZz" <zZz@zirzilia.lt> wrote in message 
news:ievapu$mnh$1@trimpas.omnitel.net...
> Reflector netinka?
>
> "Valdas"  wrote in message news:iev39u$av1$1@trimpas.omnitel.net...
>
> 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
>>
>