Not having support for the stretched screen, I decided to start adding code
to-do such.
First, I updated CodeWarrior to 9.2
Second, I updated to the latest R3 SDK from Palm - the installer didn't
detect CodeWarrior, so I had to manually copy the files over. (anyone know
why?)
Third, I added the following code:
bool _diaExists()
{
Err err = errNone;
DWORD version = 0;
err = FtrGet( pinCreator, pinFtrAPIVersion, &version );
return ( !err && version );
}// end of OnSony
Of course, the first build error was due to not including PenInputMgr.h,
since pinCreator and pinFtrAPIVersion did not exist.
After including the PenInputMgr.h file, I now get an error: (syntax related)
That a missing semi-colon was detected.
on line 85 of PenInputMgr.h: (it highlights PINS_TRAP)
UInt16 PINGetInputAreaState(void)
PINS_TRAP(pinPINGetInputAreaState);
I looked at the Window.h, to verify how this is being defined:
#ifndef USE_PINSDISPATCH_TRAPS
#if EMULATION_LEVEL == EMULATION_NONE
#define USE_PINSDISPATCH_TRAPS 1
#else
#define USE_PINSDISPATCH_TRAPS 0
#endif
#endif
#if USE_PINSDISPATCH_TRAPS
#define PINS_TRAP(selector) \
_SYSTEM_API(_CALL_WITH_SELECTOR)(_SYSTEM_TABLE, sysTrapPinsDispatch,
selector)
#else
#define PINS_TRAP(selector)
#endif
All looks well, what do you think is causing this problem?
As a note I did rebuild BuildAll.mcp
Any help would be appreciated.
thanks - bill
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/