Not a lot of information to work from here, but let me point out a few areas you might look at:
1. Desktop. The CCallModuleParams structure needs to be fully set up. In particular it has information about a pair of buffers (pointer and size). If you don't use them, set their sizes to 0 and their pointers to NULL. If you do use them, make sure that their pointer is valid and their size no larger than the actual amount of memory allocated. 2. Device. How are you so sure that you never receive the call? You cannot debug this call, as the serial port is in use by hotsync. Note also that (a) you cannot use globals during this call, (b) you MUST make a callback to DlkControl of the appropriate sort. There used to be a good knowlege base article on this or you can consult the archives of this forum. See also the device header file DLServer.h, esp. DlkCallAppReplyParamType. Hope that this helps, -bob mckenzie -----Original Message----- From: apple k [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:32 PM To: Palm Developer Forum Subject: SyncCallRemoteModule Hi, I'm trying to use the SyncCallRemoteModule to call one of the palm to do sth during the synching. The snippet code of Palm Application: case sysAppLaunchCmdHandleSyncCallApp: //do sth; break; The snippet code of conduit Application: long retval; CCallModuleParams params; params.m_dwCreatorID = 'EXPB'; params.m_dwTypeID = 'appl'; retval = SyncCallRemoteModule(¶ms); The problem is: I don't manage to call the palm at all, the error code returned is none of the followings: SYNCERR_COMM_NOT_INIT SYNCERR_LOST_CONNECTION SYNCERR_REMOTE_SYS SYNCERR_REMOTE_MEM SYNCERR_UNKNOWN_REQUEST SYNCERR_LOCAL_BUFF_TOO_SMALL Am i doing sth wrong? Pls advise in this regard. Thank you. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://platinum.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
