Some additional information: The cpp that has the _diaExists() function, does include PalmOS.h, which that file includes SystemPublic.h, which then includes PenInputMgr.h. I think that would explain how the debug build, builds and finds pinCreator without explicitly including PenInputMgr.h
But for some reason, the release build cannot find pinCreator, when looking at the preprocess information, pinCreator is not changed. I'm very certain that PalmOS.h is being included, since I would indeed have more problems than this, but for some reason, it's just not compiling.. Does anyone have any ideas on this? thanks - bill "Fruber Malcome" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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/
