Hi all,

I am on the way to develop a virtual driver for the new serial manager.
It seems that CW R6 is not supporting virtual drivers, since the needed
header files (SerialVdrv.h and SerialDrvr.h) are not included within CW R6.
I found these files only in the 3.5 SDK on Palms Web site.

Anyway, I managed that CW R6 is using the new header files. 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.
...

If I run it on a real device (for sure with OS 3.3), it stops on the Palm
Logo and goes into debug mode.

It seems so that the DrvEntryPoint function is never hit (I am not sure of
that though).

Can anyone give me a hint what might be wrong here. 
Can I actually test the Vdrv with no functionality on POSE.
Is there a sample driver or so out there.
In which environment does others develop virtual drivers?

Sorry, its a long message with many questions,

I appreciate your help ...

Bastian







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

Reply via email to