discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Propertylist serialization (MacOSX <--> GNUstep)


From: Richard Frith-Macdonald
Subject: Re: Propertylist serialization (MacOSX <--> GNUstep)
Date: Wed, 4 Dec 2002 05:53:17 +0000

On Tuesday, December 3, 2002, at 11:48  pm, Andreas Hoeschler wrote:

Hi all,

I am porting some code from MacOSX to GNUstep. In a client server setup the server process is supposed to run on a GNUstep box, the client process on MacOSX. We have implemented our own DO that converts propertyLists to NSData and vice versa using NSSerializer and NSDeserializer.

This works from MacOSX to MacOSX but not from MacOSX to GNUstep. I have tracked down the problem to the point where the GNUstep server tries to deserialize a serialzed propertyList from the client and fails (--> nil). Obviously the serialization formats are not compatible.

Is there a known solution for this problem? How do people serialize in a heterogen OS environment?

You can save the property-list as a string representation and use [NSString-propertyList] to deserialise it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]