Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
GeneralMarshal Structs Pin
Anonymous15-Jan-05 12:51
Anonymous15-Jan-05 12:51 
GeneralRe: Marshal Structs Pin
Heath Stewart16-Jan-05 9:46
protectorHeath Stewart16-Jan-05 9:46 
There are limitations to marshaling C-style structs in managed code. See Interop Marshaling[^] for details.

You can unroll your structure (or "flatten" it) to make a new structure. This is typically preferred over marshaling structs within structs (which is not supported at all on .NET CF).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
Generalloading an xml file Pin
John L. DeVito15-Jan-05 12:48
professionalJohn L. DeVito15-Jan-05 12:48 
GeneralRe: loading an xml file Pin
Robert Rohde15-Jan-05 19:02
Robert Rohde15-Jan-05 19:02 
GeneralParse RTF to HTML Pin
vargasbo15-Jan-05 11:08
vargasbo15-Jan-05 11:08 
GeneralRe: Parse RTF to HTML Pin
Heath Stewart16-Jan-05 9:23
protectorHeath Stewart16-Jan-05 9:23 
GeneralRe: Parse RTF to HTML Pin
Anonymous21-Jan-05 9:34
Anonymous21-Jan-05 9:34 
GeneralRe: Parse RTF to HTML Pin
Heath Stewart21-Jan-05 13:14
protectorHeath Stewart21-Jan-05 13:14 
GeneralAlpha Channel in DirectX Pin
Rob Tomson15-Jan-05 9:35
Rob Tomson15-Jan-05 9:35 
GeneralRe: Alpha Channel in DirectX Pin
Heath Stewart16-Jan-05 9:15
protectorHeath Stewart16-Jan-05 9:15 
GeneralUse Graphics classes in a class library Pin
Anonymous15-Jan-05 9:09
Anonymous15-Jan-05 9:09 
GeneralRe: Use Graphics classes in a class library Pin
leppie15-Jan-05 9:17
leppie15-Jan-05 9:17 
GeneralRe: Use Graphics classes in a class library Pin
Skynyrd15-Jan-05 13:00
Skynyrd15-Jan-05 13:00 
QuestionMonitor Sharing? Pin
Rob Tomson15-Jan-05 8:43
Rob Tomson15-Jan-05 8:43 
AnswerRe: Monitor Sharing? Pin
Colin Angus Mackay15-Jan-05 11:47
Colin Angus Mackay15-Jan-05 11:47 
AnswerRe: Monitor Sharing? Pin
Robert Rohde15-Jan-05 19:05
Robert Rohde15-Jan-05 19:05 
GeneralDown Arrow Key Pin
Umair Ahmad khan15-Jan-05 8:34
Umair Ahmad khan15-Jan-05 8:34 
GeneralRe: Down Arrow Key Pin
Peter Molnar15-Jan-05 13:55
Peter Molnar15-Jan-05 13:55 
GeneralRe: Down Arrow Key Pin
Umair Ahmad khan15-Jan-05 20:21
Umair Ahmad khan15-Jan-05 20:21 
GeneralRe: Down Arrow Key Pin
Umair Ahmad khan16-Jan-05 4:26
Umair Ahmad khan16-Jan-05 4:26 
GeneralRe: Down Arrow Key Pin
Peter Molnar16-Jan-05 10:45
Peter Molnar16-Jan-05 10:45 
GeneralOdd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 7:31
flip_trickle15-Jan-05 7:31 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
Robert Rohde15-Jan-05 7:51
Robert Rohde15-Jan-05 7:51 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 8:30
flip_trickle15-Jan-05 8:30 
GeneralRe: Odd Exception in Event :: Help!?!?! Pin
flip_trickle15-Jan-05 8:32
flip_trickle15-Jan-05 8:32 

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.