Click here to Skip to main content
15,905,867 members
Home / Discussions / C#
   

C#

 
AnswerRe: parallel programming ???????????????????????? Pin
George L. Jackson31-Aug-07 15:46
George L. Jackson31-Aug-07 15:46 
AnswerRe: parallel programming ???????????????????????? Pin
Vasudevan Deepak Kumar1-Sep-07 1:39
Vasudevan Deepak Kumar1-Sep-07 1:39 
QuestionLogOn Pin
T4AMD31-Aug-07 12:00
T4AMD31-Aug-07 12:00 
AnswerRe: LogOn Pin
J$31-Aug-07 13:13
J$31-Aug-07 13:13 
QuestionRegular expression and CSS Pin
emiaj31-Aug-07 9:46
emiaj31-Aug-07 9:46 
AnswerRe: Regular expression and CSS Pin
Guffa31-Aug-07 22:02
Guffa31-Aug-07 22:02 
GeneralRe: Regular expression and CSS Pin
emiaj24-Sep-07 4:21
emiaj24-Sep-07 4:21 
GeneralRe: Regular expression and CSS Pin
Guffa24-Sep-07 7:38
Guffa24-Sep-07 7:38 
GeneralRe: Regular expression and CSS Pin
emiaj24-Sep-07 10:45
emiaj24-Sep-07 10:45 
QuestionQuick Q: How big is a bool value? Pin
JamesBarnes31-Aug-07 6:32
JamesBarnes31-Aug-07 6:32 
AnswerRe: Quick Q: How big is a bool value? Pin
pmarfleet31-Aug-07 6:49
pmarfleet31-Aug-07 6:49 
GeneralRe: Quick Q: How big is a bool value? Pin
JamesBarnes31-Aug-07 6:52
JamesBarnes31-Aug-07 6:52 
GeneralRe: Quick Q: How big is a bool value? Pin
Guffa31-Aug-07 7:17
Guffa31-Aug-07 7:17 
GeneralRe: Quick Q: How big is a bool value? Pin
pmarfleet31-Aug-07 7:45
pmarfleet31-Aug-07 7:45 
AnswerRe: Quick Q: How big is a bool value? Pin
Guffa31-Aug-07 7:15
Guffa31-Aug-07 7:15 
GeneralRe: Quick Q: How big is a bool value? Pin
Scott Dorman31-Aug-07 8:20
professionalScott Dorman31-Aug-07 8:20 
AnswerRe: Quick Q: How big is a bool value? Pin
Guffa31-Aug-07 9:15
Guffa31-Aug-07 9:15 
GeneralRe: Quick Q: How big is a bool value? Pin
PIEBALDconsult31-Aug-07 14:32
mvePIEBALDconsult31-Aug-07 14:32 
GeneralRe: Quick Q: How big is a bool value? Pin
Scott Dorman31-Aug-07 15:48
professionalScott Dorman31-Aug-07 15:48 
GeneralRe: Quick Q: How big is a bool value? Pin
Luc Pattyn31-Aug-07 16:02
sitebuilderLuc Pattyn31-Aug-07 16:02 
GeneralRe: Quick Q: How big is a bool value? Pin
Scott Dorman31-Aug-07 16:24
professionalScott Dorman31-Aug-07 16:24 
GeneralRe: Quick Q: How big is a bool value? Pin
Luc Pattyn1-Sep-07 0:55
sitebuilderLuc Pattyn1-Sep-07 0:55 
Hi Scott,

thanks for clarifying this.

On the same MSDN page it says "The common language runtime uses the Auto layout value
by default. To reduce layout-related problems associated with the Auto value, C#,
Visual Basic, and C++ compilers specify Sequential layout for value types."

So they know how to act smart, but choose not to do that by default!?

Seems to me Auto should be the default, and a warning should be given when a struct
gets P/Invoked without an explicit LayoutKind specification (so explicitly saying Auto
or Sequential or Explicit would suppress the warning).

Smile | :)



Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: Quick Q: How big is a bool value? Pin
PIEBALDconsult1-Sep-07 5:08
mvePIEBALDconsult1-Sep-07 5:08 
GeneralRe: Quick Q: How big is a bool value? Pin
PIEBALDconsult31-Aug-07 16:08
mvePIEBALDconsult31-Aug-07 16:08 
GeneralRe: Quick Q: How big is a bool value? Pin
Scott Dorman31-Aug-07 16:21
professionalScott Dorman31-Aug-07 16:21 

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.