At 2:09 PM -0800 2000/02/29, Bastian Staeuber wrote:
>I am on the way to develop a virtual driver for the new serial manager.
>...
>I created a project with the following settings:
>
>MacOS 68K Linker
>PalmRezPostLinker
>PalmOS Code Resource
>Entry Point: DrvEntryPoint
>ResType: vdrv
>ResID: 0
>Output file: SoDrv.prc
>Type: vdrv
>Creator: u328
>
>I coded the 6 basic function with minimal functionality, DrvEntryPoint
>returning -1 (for hardware not present).
>According to the documentation, this should run just fine, without any
>functionality ( I only wanted to test the development process before
>implementing the functionality). To test this body of project I run it in
>the POSE, reset the device and got the following error: 
>
>AMX (unknown version): AMXGlue.c, Line 191, can't install Serial Manager.
>...

Change the creator in your Palm Rez output to something other than 'u328'. 'u328' is 
the creator signature for the built-in serial port's 'sdrv' serial driver type, so the 
OS thinks you're trying to replace the ROM-based serial driver with this virtual 
serial driver, but the calling conventions for 'sdrv' and 'vdrv' are different. That 
explains the crashing.

Regards,

Jim Schram
Palm Incorporated
Partner Engineering


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to