Hello all. I am trying to use Palm Reporter in my palm application. With ver
3.2, I have no issues but can't seem to make it work in 3.5. I have done a
#define HostControl BEFORE my #include <PalmOS.h> but the header file
doesn't contain HostTraceInit(). I did a #include <HostControl.h> but same
result. I have tried to #include various other hostcontrols but they all
return compiling errors (see end of email msg). In 3.2 I just do this...


#include <HostControl.h>
HostTraceInit();
HostTraceOutputTL(appErrorClass, "Hello, world");
HostTraceClose();

and it works like a champ. Can anyone help me out. I love the reporter and
would like to use in my 3.5 development.

thanks
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com


***************ERROR LIST***********************


Error   : identifier 'HostControlTrapNumber' redeclared
was declared as: 'HostControlTrapNumber'
now declared as: 'unsigned short'
HostControl.h line 379   typedef HostControlSelectorType
HostControlTrapNumber;

Error   : identifier 'HostFILE' redeclared
was declared as: 'HostFILE'
now declared as: 'HostFILEType'
HostControl.h line 385   typedef HostFILEType   HostFILE;

Error   : illegal name overloading
HostControl.h line 399    hostErrNone = 0,

Error   : illegal name overloading
HostControl.h line 401    hostErrBase = hostErrorClass,

Error   : illegal name overloading
HostControl.h line 403    hostErrUnknownGestaltSelector,

Error   : illegal name overloading
HostControl.h line 404    hostErrDiskError,

Error   : illegal name overloading
HostControl.h line 405    hostErrOutOfMemory,

Error   : illegal name overloading
HostControl.h line 406    hostErrMemReadOutOfRange,

Error   : illegal name overloading
HostControl.h line 407    hostErrMemWriteOutOfRange,

Error   : illegal name overloading
HostControl.h line 408    hostErrMemInvalidPtr,

Error   : illegal name overloading
HostControl.h line 409    hostErrInvalidParameter,

Error   : illegal name overloading
HostControl.h line 432    hostIDPalmOS,   // The plastic thingy

Error   : illegal name overloading
HostControl.h line 433    hostIDPalmOSEmulator, // The Copilot thingy

Error   : illegal name overloading
HostControl.h line 435   };

Error   : illegal name overloading
HostControl.h line 440    hostPlatformPalmOS,

Error   : illegal name overloading
HostControl.h line 441    hostPlatformWindows,

Error   : illegal name overloading
HostControl.h line 442    hostPlatformMacintosh,

Error   : illegal name overloading
HostControl.h line 444   };

Error   : illegal function overloading
HostControl.h line 553   = { 0x3F3C, 0x0301, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 556   = { 0x3F3C, 0x0302, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 559   = { 0x3F3C, 0x0303, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 562   = { 0x3F3C, 0x0304, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 565   = { 0x3F3C, 0x0305, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 568   = { 0x3F3C, 0x0306, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 571   = { 0x3F3C, 0x0307, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 574   = { 0x3F3C, 0x0308, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 577   = { 0x3F3C, 0x0309, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 580   = { 0x3F3C, 0x030A, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 583   = { 0x3F3C, 0x030B, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 586   = { 0x3F3C, 0x030C, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 595   = { 0x3F3C, 0x030F, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 598   = { 0x3F3C, 0x0310, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 601   = { 0x3F3C, 0x0311, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 604   = { 0x3F3C, 0x0312, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 607   = { 0x3F3C, 0x0313, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 610   = { 0x3F3C, 0x0314, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 613   = { 0x3F3C, 0x0315, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 779   = { 0x3F3C, 0x0700, 0x4E40 + 15,
sysTrapHostControl, 0x544F }



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to