Distributed objects: can't send simple C struct by value
Distributed objects: can't send simple C struct by value
- Subject: Distributed objects: can't send simple C struct by value
- From: Michael Heins <email@hidden>
- Date: Sat, 30 Oct 2004 02:16:45 -0600
I'm trying to send a simple C struct by value in a message to a remote object, but can't get it to work. Is this a known bug or limitation in the DO system? Here's an example of the struct I'm sending:
struct _Msg {
int a_fill;
char name[64];
int b_fill;
};
The problem seems to be that the struct is not getting encoded properly in the sender. The encoded object description appears to be correct, and 'a_fill' and the first part of 'name' appears to be correct, but the remainder of the structure is garbage.
Michael Heins AA7XY _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden