Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
GeneralRe: best way to pass large amount of data into an object? Pin
N a v a n e e t h23-Sep-10 20:19
N a v a n e e t h23-Sep-10 20:19 
GeneralRe: best way to pass large amount of data into an object? Pin
stephen.darling23-Sep-10 20:37
stephen.darling23-Sep-10 20:37 
QuestionMarshalling array of struct Pin
poda23-Sep-10 17:47
poda23-Sep-10 17:47 
AnswerRe: Marshalling array of struct [modified] Pin
Luc Pattyn23-Sep-10 18:52
sitebuilderLuc Pattyn23-Sep-10 18:52 
GeneralRe: Marshalling array of struct [modified] Pin
poda23-Sep-10 19:21
poda23-Sep-10 19:21 
GeneralRe: Marshalling array of struct Pin
Luc Pattyn24-Sep-10 1:52
sitebuilderLuc Pattyn24-Sep-10 1:52 
GeneralRe: Marshalling array of struct Pin
poda26-Sep-10 17:07
poda26-Sep-10 17:07 
GeneralRe: Marshalling array of struct Pin
Luc Pattyn26-Sep-10 17:19
sitebuilderLuc Pattyn26-Sep-10 17:19 
I suggest you start with something simpler. Don't do "array of structs holding array of struct holding string" right away. At the very least get rid of the string, try a fixed-length byte array. The simplest first experiment would be to simply pass just a byte array of sufficient size and see if all the data gets stored in there. Remember to log it all, preferably in hex.

When the simple byte array is OK, make a struct with some actual types and the rest just a fixed-size byte array, and as long as it works let it evolve to the right thing. As soon as it fails, fix it before you add complexity.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Marshalling array of struct Pin
poda26-Sep-10 23:31
poda26-Sep-10 23:31 
GeneralRe: Marshalling array of struct Pin
Luc Pattyn27-Sep-10 0:21
sitebuilderLuc Pattyn27-Sep-10 0:21 
AnswerRe: Marshalling array of struct Pin
David Knechtges24-Sep-10 3:42
David Knechtges24-Sep-10 3:42 
GeneralRe: Marshalling array of struct Pin
poda26-Sep-10 17:08
poda26-Sep-10 17:08 
AnswerSolved: Marshalling array of struct containing array of struct Pin
poda27-Sep-10 17:47
poda27-Sep-10 17:47 
Questiondeployment of c# prject......... Pin
KAMAL SHYAM23-Sep-10 11:08
KAMAL SHYAM23-Sep-10 11:08 
AnswerRe: deployment of c# prject......... Pin
AspDotNetDev23-Sep-10 11:13
protectorAspDotNetDev23-Sep-10 11:13 
AnswerRe: deployment of c# prject......... Pin
The Man from U.N.C.L.E.23-Sep-10 11:22
The Man from U.N.C.L.E.23-Sep-10 11:22 
AnswerRe: deployment of c# prject......... PinPopular
PIEBALDconsult23-Sep-10 18:01
mvePIEBALDconsult23-Sep-10 18:01 
AnswerRe: deployment of c# prject......... Pin
Abhinav S23-Sep-10 19:32
Abhinav S23-Sep-10 19:32 
QuestionInspired by "Should we really use struct or not?" question Pin
Łukasz Nowakowski23-Sep-10 4:19
Łukasz Nowakowski23-Sep-10 4:19 
AnswerRe: Inspired by "Should we really use struct or not?" question Pin
Pete O'Hanlon23-Sep-10 4:43
mvePete O'Hanlon23-Sep-10 4:43 
GeneralRe: Inspired by "Should we really use struct or not?" question Pin
Luc Pattyn23-Sep-10 5:55
sitebuilderLuc Pattyn23-Sep-10 5:55 
GeneralRe: Inspired by "Should we really use struct or not?" question Pin
AspDotNetDev23-Sep-10 10:18
protectorAspDotNetDev23-Sep-10 10:18 
GeneralRe: Inspired by "Should we really use struct or not?" question Pin
Luc Pattyn23-Sep-10 10:40
sitebuilderLuc Pattyn23-Sep-10 10:40 
AnswerRe: Inspired by "Should we really use struct or not?" question Pin
Kevin McFarlane24-Sep-10 4:30
Kevin McFarlane24-Sep-10 4:30 
QuestionErrorProvider logic to avoid DialogResult.OK button completion? Pin
Chesnokov Yuriy23-Sep-10 4:02
professionalChesnokov Yuriy23-Sep-10 4:02 

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.