Click here to Skip to main content
15,892,674 members
Home / Discussions / C#
   

C#

 
GeneralRe: Converting strings to DateTime structs Pin
Edbert P22-Mar-04 13:18
Edbert P22-Mar-04 13:18 
GeneralRe: Converting strings to DateTime structs Pin
Bryan White31-Mar-04 9:59
Bryan White31-Mar-04 9:59 
GeneralEvents in Datagrid Pin
Anonymous22-Mar-04 10:30
Anonymous22-Mar-04 10:30 
GeneralRe: Events in Datagrid Pin
Ruchi Gupta22-Mar-04 11:55
Ruchi Gupta22-Mar-04 11:55 
GeneralRe: Events in Datagrid Pin
Anonymous23-Mar-04 11:15
Anonymous23-Mar-04 11:15 
GeneralSocket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot22-Mar-04 10:25
goodpilot22-Mar-04 10:25 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Corinna John22-Mar-04 19:48
Corinna John22-Mar-04 19:48 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart23-Mar-04 3:18
protectorHeath Stewart23-Mar-04 3:18 
Be careful when doing so, though. The managed class/struct must have exactly the same layout as your unmanaged class/struct. For classes and structures in .NET, you can use the StructLayoutAttribute to facilitate this when marshaling. Also pay close attention to unmanaged to managed types. For instance, a common mistake is that a LONG in C++ would be a long in .NET. Not true. The former is a 32-bit integer where the latter is a 64-bit integer.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot23-Mar-04 4:42
goodpilot23-Mar-04 4:42 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart23-Mar-04 5:20
protectorHeath Stewart23-Mar-04 5:20 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot23-Mar-04 5:28
goodpilot23-Mar-04 5:28 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot24-Mar-04 3:56
goodpilot24-Mar-04 3:56 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot24-Mar-04 3:59
goodpilot24-Mar-04 3:59 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart24-Mar-04 4:13
protectorHeath Stewart24-Mar-04 4:13 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot24-Mar-04 16:46
goodpilot24-Mar-04 16:46 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Sascha Andres23-Mar-04 3:17
Sascha Andres23-Mar-04 3:17 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart23-Mar-04 3:20
protectorHeath Stewart23-Mar-04 3:20 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Sascha Andres23-Mar-04 3:34
Sascha Andres23-Mar-04 3:34 
QuestionHow do I check wether a url/file exists Pin
kris.mackintosh22-Mar-04 10:17
kris.mackintosh22-Mar-04 10:17 
AnswerRe: How do I check wether a url/file exists Pin
Heath Stewart22-Mar-04 11:56
protectorHeath Stewart22-Mar-04 11:56 
Generalfrom VC6 dll Pin
yyf22-Mar-04 10:10
yyf22-Mar-04 10:10 
GeneralRe: from VC6 dll Pin
Heath Stewart22-Mar-04 11:47
protectorHeath Stewart22-Mar-04 11:47 
GeneralRe: from VC6 dll Pin
yyf23-Mar-04 3:10
yyf23-Mar-04 3:10 
GeneralRe: from VC6 dll Pin
Heath Stewart23-Mar-04 3:13
protectorHeath Stewart23-Mar-04 3:13 
GeneralRe: from VC6 dll Pin
yyf23-Mar-04 4:01
yyf23-Mar-04 4:01 

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.