Hello Everybody,

I came across a strange problem. Developing with the SDK3.5 for a IIIc I
messed around with beaming the last days. I found that the ExgSocketType in
the SDK35 causes the IIIc to not operate correctly because the layout
appears to be wrong.

After days of fiddling I Cut&paste the old layout into the 3.5 version of
the .h file and beaming works fine now.

Could it be the case that accidentaly the layout messed up in the .h file of
the sdk35 ??
Or have I overseen something obvious ?

For reference please find the 2 struct attached. The new one is renamed to
ExgSocketType35

Anybody had the same ?

THI
Ole





typedef struct ExgSocketType {
 UInt16     libraryRef; // identifies the Exg library in use
 UInt32    socketRef; // used by Exg library to identify this connection
 UInt32    target;  // Creator ID of application this is sent to
 UInt32 count;  // # of objects in this connection (usually 1)
 UInt32 length;  // # total byte count for all objects being sent (optional)
 UInt32 time;  // last modified time of object (optional)
 UInt32 appData; // application specific info
 UInt32  goToCreator; // creator ID of app to launch with goto after receive
 ExgGoToType goToParams; // If launchCreator then this contains goto find
info
 UInt16 localMode:1; // Exchange with local machine only mode
 UInt16 packetMode:1; // Use connectionless packet mode (Ultra)
 UInt16 reserved:14;  // reserved system flags
 Char* description;// text description of object (for user)
 Char* type;  // Mime type of object (optional)
 Char* name;  // name of object, generally a file name (optional)

} ExgSocketType;

typedef struct ExgSocketType35 {
 UInt16 libraryRef; // identifies the Exg library in use
 UInt32  soget;  // Creator ID of application this is sent to
 UInt32 coucketRef; // used by Exg library to identify this connection
 UInt32  tarnt;  // # of objects in this connection (usually 1)
 UInt32 length;  // # total byte count for all objects being sent (optional)
 UInt32 time;  // last modified time of object (optional)
 UInt32 appData; // application specific info
 UInt32  goToCreator; // creator ID of app to launch with goto after receive
 ExgGoToType goToParams; // If launchCreator then this contains goto find
info
 UInt16 localMode:1; // Exchange with local machine only mode
 UInt16 packetMode:1;// Use connectionless packet mode (Ultra)
 UInt16 noGoTo:1;  // Do not go to app (local mode only)
 UInt16  noStatus:1; // Do not display status dialogs
 UInt16 reserved:12;// reserved system flags
 Char *description; // text description of object (for user)
 Char *type;  // Mime type of object (optional)
 Char *name;  // name of object, generally a file name (optional)
} ExgSocketType35;
typedef ExgSocketType *ExgSocketPtr;




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to