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

C#

 
GeneralRe: Run .NET executable without the framework installed Pin
OmegaSupreme3-Feb-04 3:04
OmegaSupreme3-Feb-04 3:04 
GeneralRe: Run .NET executable without the framework installed Pin
Heath Stewart3-Feb-04 3:56
protectorHeath Stewart3-Feb-04 3:56 
GeneralRe: Run .NET executable without the framework installed Pin
TigerNinja_3-Feb-04 17:41
TigerNinja_3-Feb-04 17:41 
GeneralCreate a file and set the extended properties like companyname, comment, etc. Pin
jvbragt3-Feb-04 1:30
jvbragt3-Feb-04 1:30 
GeneralRe: Create a file and set the extended properties like companyname, comment, etc. Pin
Heath Stewart3-Feb-04 4:05
protectorHeath Stewart3-Feb-04 4:05 
GeneralRe: Create a file and set the extended properties like companyname, comment, etc. Pin
jvbragt3-Feb-04 4:18
jvbragt3-Feb-04 4:18 
GeneralRe: Create a file and set the extended properties like companyname, comment, etc. Pin
Heath Stewart3-Feb-04 6:00
protectorHeath Stewart3-Feb-04 6:00 
Generalmessage boxes Pin
ASGill3-Feb-04 1:29
ASGill3-Feb-04 1:29 
GeneralRe: message boxes Pin
sps-itsec463-Feb-04 2:09
sps-itsec463-Feb-04 2:09 
GeneralRe: message boxes Pin
thomasa3-Feb-04 2:22
thomasa3-Feb-04 2:22 
GeneralRe: message boxes Pin
dxhdxh3-Feb-04 3:10
dxhdxh3-Feb-04 3:10 
GeneralRe: message boxes Pin
Heath Stewart3-Feb-04 6:17
protectorHeath Stewart3-Feb-04 6:17 
GeneralRe: message boxes Pin
ASGill3-Feb-04 16:58
ASGill3-Feb-04 16:58 
GeneralRe: message boxes Pin
Heath Stewart3-Feb-04 18:04
protectorHeath Stewart3-Feb-04 18:04 
GeneralPrintPreviewDialog Pin
Anonymous3-Feb-04 1:16
Anonymous3-Feb-04 1:16 
GeneralRe: PrintPreviewDialog Pin
Heath Stewart3-Feb-04 4:18
protectorHeath Stewart3-Feb-04 4:18 
GeneralRe: PrintPreviewDialog Pin
Anonymous4-Feb-04 1:05
Anonymous4-Feb-04 1:05 
GeneralRe: PrintPreviewDialog Pin
Heath Stewart4-Feb-04 3:42
protectorHeath Stewart4-Feb-04 3:42 
GeneralRe: PrintPreviewDialog Pin
Anonymous4-Feb-04 4:07
Anonymous4-Feb-04 4:07 
GeneralSerialization of object references Pin
sps-itsec463-Feb-04 0:43
sps-itsec463-Feb-04 0:43 
GeneralRe: Serialization of object references Pin
Heath Stewart3-Feb-04 4:25
protectorHeath Stewart3-Feb-04 4:25 
GeneralRe: Serialization of object references Pin
sps-itsec463-Feb-04 6:18
sps-itsec463-Feb-04 6:18 
You wrote:
Some properties of the list (or any other object) might also be non-serializable. What exactly differs between the two lists?


The structure of the lists looks like that:
ClassA (objects are stored in SortedListA)
 |   |
 |   |----> reference to object of ClassB (objects are stored in SortedListB)
 |
 |--------> reference to object of ClassC (objects are stored in SortedListC)
All classes contain only simple data types like strings, uints, floats, etc. Furthermore ClassA contains, as you can see in my amazing ASCII-diagram Wink | ;) , a reference to an object of ClassB and a reference to an object of ClassC. Nothing more. So I think everything should be serializable.

As I said in my first post, everything works fine until deserialization. Then the references seem to be independent objects. I can't manipulate the referenced objects through the reference. So perhaps the framework notices that I want to serialize a reference and since this is not possible cause addresses are shifting, the framework serializes just a copy of the referenced object.

But because of these limitations I would prefer at least a warning while compiling or an exception at runtime... Frown | :(

Regards, mYkel
GeneralRe: Serialization of object references Pin
Heath Stewart3-Feb-04 6:38
protectorHeath Stewart3-Feb-04 6:38 
GeneralDecimal Places Pin
Reinier van de Wetering2-Feb-04 19:41
Reinier van de Wetering2-Feb-04 19:41 
GeneralRe: Decimal Places Pin
Rampas Tomas2-Feb-04 22:32
Rampas Tomas2-Feb-04 22: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.