Click here to Skip to main content
15,891,981 members
Home / Discussions / C#
   

C#

 
GeneralRe: System wainning sound Pin
jzb26-Jan-05 17:51
jzb26-Jan-05 17:51 
Questionhow to programe winform to surppoort multiLanguage ? Pin
Fire.Rolland.Han26-Jan-05 0:24
Fire.Rolland.Han26-Jan-05 0:24 
AnswerRe: how to programe winform to surppoort multiLanguage ? Pin
Richard Schneider26-Jan-05 0:58
Richard Schneider26-Jan-05 0:58 
GeneralRe: how to programe winform to surppoort multiLanguage ? Pin
Fire.Rolland.Han26-Jan-05 1:24
Fire.Rolland.Han26-Jan-05 1:24 
GeneralRe: how to programe winform to surppoort multiLanguage ? Pin
Richard Schneider26-Jan-05 1:41
Richard Schneider26-Jan-05 1:41 
GeneralRe: how to programe winform to surppoort multiLanguage ? Pin
Heath Stewart26-Jan-05 14:40
protectorHeath Stewart26-Jan-05 14:40 
GeneralAnother DllImport question Pin
bluish26-Jan-05 0:12
bluish26-Jan-05 0:12 
GeneralRe: Another DllImport question Pin
Corinna John26-Jan-05 1:29
Corinna John26-Jan-05 1:29 
Declare next as IntPtr, and use Marshal.PtrToStructure when you need the structure.
<br />
[StructLayout( LayoutKind.Sequential )] <br />
internal struct RFReader<br />
{<br />
...<br />
...<br />
internal IntPtr next;<br />
}<br />
<br />
//get reader<br />
RFReader reader = (RFReader)Marshal.PtrToStructure(rfreader.next, typeof(RFReader));<br />
<br />
//set reader<br />
IntPtr unmanagedBlock = Marshal.AllocHGlobal( Marshal.SizeOf(RFReader) );<br />
Marshal.StructureToPtr(nextReader, unmanagedBlock, true);<br />
rfreader.next = unmanagedBlock;<br />


_________________________________
Vote '1' if you're too lazy for a discussion

GeneralRe: Another DllImport question Pin
bluish26-Jan-05 23:30
bluish26-Jan-05 23:30 
GeneralRe: Another DllImport question Pin
Corinna John27-Jan-05 0:55
Corinna John27-Jan-05 0:55 
GeneralRe: Another DllImport question Pin
bluish27-Jan-05 20:18
bluish27-Jan-05 20:18 
General&quot;StatusBar&quot; problem Pin
wk_vigorous26-Jan-05 0:05
wk_vigorous26-Jan-05 0:05 
GeneralTheme Color Scheme Colors Pin
Tom John25-Jan-05 23:56
Tom John25-Jan-05 23:56 
GeneralRe: Theme Color Scheme Colors Pin
leppie26-Jan-05 22:03
leppie26-Jan-05 22:03 
GeneralRe: Theme Color Scheme Colors Pin
Tom John26-Jan-05 22:10
Tom John26-Jan-05 22:10 
GeneralI have a problem with my datagrid in my aplication Pin
tutananthanh25-Jan-05 22:58
tutananthanh25-Jan-05 22:58 
GeneralRe: I have a problem with my datagrid in my aplication Pin
Dave Kreskowiak26-Jan-05 6:19
mveDave Kreskowiak26-Jan-05 6:19 
GeneralRe: I have a problem with my datagrid in my aplication Pin
tutananthanh26-Jan-05 13:45
tutananthanh26-Jan-05 13:45 
GeneralRe: I have a problem with my datagrid in my aplication Pin
Dave Kreskowiak26-Jan-05 17:27
mveDave Kreskowiak26-Jan-05 17:27 
GeneralRe: I have a problem with my datagrid in my aplication Pin
jzb26-Jan-05 17:59
jzb26-Jan-05 17:59 
GeneralRe: I have a problem with my datagrid in my aplication Pin
Robert Rohde26-Jan-05 19:18
Robert Rohde26-Jan-05 19:18 
GeneralProblem with .NET DES encryption Pin
Radoslav Bielik25-Jan-05 22:45
Radoslav Bielik25-Jan-05 22:45 
GeneralRe: Problem with .NET DES encryption Pin
Radoslav Bielik25-Jan-05 23:00
Radoslav Bielik25-Jan-05 23:00 
GeneralDebug Manager Service Pin
mitreviper25-Jan-05 20:18
mitreviper25-Jan-05 20:18 
GeneralControls using DataGrid at Runtime Pin
venkateshsubramaniyam25-Jan-05 20:08
venkateshsubramaniyam25-Jan-05 20:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.