HSIndicatorState on Centro to control LED display strange error

2008-02-14 Thread Aaron . Hansen
Hi All, As far as I can tell the HSIndicatorState function is supported on the Centro. However I am getting a strange error returned with a value of 2 when I try to control the LED. Can anyone tell me what error codes are returned by this method or what a value of 2 means? I've been hu

STL, MAPs and a strange error...

2006-02-27 Thread Regis melo
Hello!     I declared a simple class:        class Table {         public:            static Table* getInstance( char *key );        }     The getInstance method look in a map and returns a instance of a Table class.     I've a map that stores all the references of "Tables" class:     t

Re: strange error.

2006-01-26 Thread cbruner
ssage - From: "Thom L" <[EMAIL PROTECTED]> To: "Palm Developer Forum" Sent: Thursday, January 26, 2006 7:25 PM Subject: re: strange error. Does your GetData() function return a pointer to a locked data memory chunk? -- For information on using the PalmSource Devel

re: strange error.

2006-01-26 Thread Thom L
Does your GetData() function return a pointer to a locked data memory chunk? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

strange error.

2006-01-23 Thread Chris Bruner Compulife
I've got a strange error where it appears as though memory is fine, and then I go one instruction more, and it's an invalid pointer. void filebase::ReOpen(bool ReadOnly) // after a file has been opened then closed can be reopened { const char *p = PathName->GetData(); If I

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-05 Thread Roger Stringer
Subject: Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> Date: Wed, 4 May 2005 14:02:19 - > Again, you fail to understand what's going on and are trying to > use your background in disk-bas

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-04 Thread Rob Larson
One undocumented feature that you should probably be interested in is the entry point for Arm native applications. Arm native applications have resources with names like ARMC, and do not have any CODE resources. In any case, it's the first instruction of the ARMC resource. -- For informatio

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-04 Thread Dr. Vesselin Bontchev
> Despite the public documentation, Palm OS is a multi-tasking OS. I'm aware of that. I have myself posted here links to a program that demonstrates this: http://flippinbits.com/twiki/bin/view/FAQ/HowDoICreateAThread That program definitely works under PalmOS 3.5 - maybe even under some of the

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-04 Thread Dr. Vesselin Bontchev
> > > All programs can run in Palm OS "background" all the time. > > > >Nope, they don't. They reside in memory all the time - but at any > >given time, only one of them is actually running. They aren't given > >timeshares or even timer tick interrupts by the OS, either - > >something which is used

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-02 Thread Rob Larson
Despite the public documentation, Palm OS is a multi-tasking OS. The following "undocumented" calls are identified in some of the information that I gathered about YAHM: KALTaskCreate, KALTaskDelay, KALTaskDelete, KALTaskGetCurrentID, KALTaskGetInfo, KALTaskResume, KALTaskSuspend, KALTaskStart, K

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-02 Thread Roger Stringer
Subject: re: Strange error when trying to intercept sysNotifyVolumeMountedEvent From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> Date: Sun, 1 May 2005 16:42:28 - > All programs can run in Palm OS "background" all the time. Nope, they don't. They reside i

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-01 Thread Dr. Vesselin Bontchev
> Has your organisation contacted PalmSource with a view to gaining > access to their internal resources? No. Several reasons for that: 1) I don't want to use undocumented tricks in my application. What's the point of using them, if they stop working in the next OS version and I have to rewrite

re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-01 Thread Dr. Vesselin Bontchev
> All programs can run in Palm OS "background" all the time. Nope, they don't. They reside in memory all the time - but at any given time, only one of them is actually running. They aren't given timeshares or even timer tick interrupts by the OS, either - something which is used on many OSes to

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-01 Thread Dr. Vesselin Bontchev
> I think that is very undertandable given the memory footprint of > the original device which ran in what, 128K of memory? Ah, that explains it. One can probably still fit an MS-DOS-like OS in such space - but that won't leave enough room for user applications and MS-DOS programs had to write t

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-30 Thread Chris Tutty
From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> > It's just not designed at all with systems programming in mind. > Anti-virus programs, device drivers, other deep stuff - hell, even > writing libraries isn't exactly trivial there... > Actually one of the things that occurred to me after writi

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-30 Thread Ben Combee
But forget multitasking. Even MS-DOS had the concept of "shell to another program and when that one exits, return to the caller". You don't need multitasking for that. It's one program that's running at any given time. Yet PalmOS doesn't have even that... It does have that concept -- it's SysAp

Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-30 Thread Roger Stringer
ubject: Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> Date: Fri, 29 Apr 2005 12:48:57 - > 2) Setup a notification, alarm or event to run your program (in > background) Alas, I can't run anyth

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-30 Thread Douglas Handy
Vesselin, >It's just not designed at all with systems programming in mind. That is my impression as well. When I first started working on this platform, I quickly realized that terms like "database" or even "operating system" carried a different conotation than one might expect. In my view, Pa

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-30 Thread Dr. Vesselin Bontchev
> Perhaps your memory is different to mine, but I remember all > sorts of frustrating, nasty, undocumented problems with apps > that just grabbed an "interrupt ... and did what they wanted". Of course - but my point was that it *was* possible (and relatively easy) to do what you wanted in a well

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-29 Thread Chris Tutty
From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> (yesterday) > good old MS-DOS you just intercepted an interrupt vector and did whatever you wanted when the interrupt arrived - Perhaps your memory is different to mine, but I remember all sorts of frustrating, nasty, undocumented problems with a

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-29 Thread Dr. Vesselin Bontchev
> When you call SysUIAppSwitch, a second appStopEvent is put in the > queue But, Ben, look at the code I posted. I don't call SysUIAppSwitch from it - yet it still crashes the Launcher... Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsubscribe, please see htt

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-29 Thread Ben Combee
Besides, I still don't understand why the program I posted above crashes if the notification arrives when the Launcher is running. OK, so for some bizarre reason the Launcher posts an appStopEvent (you know, the kind of thing all newbies are told *not* to do when trying to exit an application)

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-29 Thread Dr. Vesselin Bontchev
> Perhaps in response to the sysNotifyVolumeMountedEvent you need to > do the following: Yeah, I'm thinking of something like that - but there are still a lot of things that are not clear to me and it is messy, as I said above. > 2) Setup a notification, alarm or event to run your program (in >

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-29 Thread Roger Stringer
Subject: Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent From: "Chris Tutty" <[EMAIL PROTECTED]> Date: Fri, 29 Apr 2005 12:12:53 +1200 X-Message-Number: 31 From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> > Help? Is this the corre

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-29 Thread Dr. Vesselin Bontchev
> If I recall correctly, some apps handle notifications by setting > an alarm that will launch their app normally in a second or so. Hmmm... That might work but it is... messy. Don't forget, the reason why I want to examine the card is in order to detect if there are any viruses on it - preferab

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-28 Thread Chris Tutty
From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> > Help? Is this the correct way for an application to launch itself with a custom launch code and to check whether this is how it has been launched? > If I recall correctly, some apps handle notifications by setting an alarm that will launch their a

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-28 Thread Dr. Vesselin Bontchev
> You may be able to fix this by registering for > sysNotifyNormalPriority - 1, ensuring that you're notified just > after the launcher, and your SysUIAppSwitch will override the > launcher's. Ben, that does not make sense. According to the documentation http://www.palmos.com/dev/support/docs/pal

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-28 Thread Ben Combee
At 09:38 AM 4/28/2005, you wrote: > I'm not sure I understand your question correctly but form the > docs: "To prevent the VFS Manager from activating the start.prc You don't understand my question correctly. I am not asking how to prevent start.prc from running. I am asking how to detect whether

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-28 Thread Dr. Vesselin Bontchev
> I'm not sure I understand your question correctly but form the > docs: "To prevent the VFS Manager from activating the start.prc You don't understand my question correctly. I am not asking how to prevent start.prc from running. I am asking how to detect whether it is the Launcher that is curr

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-28 Thread Miro Pomsar
rt.prc np->handled |= vfsHandledUIAppSwitch ; // prevent switching apps // Do something usefull return 0 ; } Regards, Miro Pomsar - Original Message - From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> To: "Palm Developer Forum" Sent: Thursday, April 28, 20

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-28 Thread Dr. Vesselin Bontchev
> When I receive control with the custom launch code from > SysAppLaunch, do I have to eat events until the first > appStopEvent and only *then* enter my normal event loop?? OK, the exit event apparently comes from the Launcher? I tried eating it. This works *if* it is the Launcher running when t

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-28 Thread Dr. Vesselin Bontchev
> At no point did you initialize these two variables before using > them in your application, which may simply be a piece of code you > left out to simplify your sample code. Apologies; I forgot to include their initialization in the sample code I posted. But my real code they *are* initialized -

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-28 Thread Roger Stringer
Subject: Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> Date: Wed, 27 Apr 2005 15:45:18 - X-Message-Number: 31 I can't figure it out. :-(( OK, so I tried a different approach. Instead of going to

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-28 Thread Dr. Vesselin Bontchev
OK, now that I can debug volume mounding (big thanks to Ben and Henk), I've found the following: 1) The crash of my original code occurs because the resource containing the form I want to display cannot be found. Apparently, for some reason, if the application hasn't been launched normally, it

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-27 Thread Dr. Vesselin Bontchev
I can't figure it out. :-(( OK, so I tried a different approach. Instead of going to the proper form and running the event loop when I get a notification, I decided to launch myself with a custom launch code: UInt32 PilotMain (UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags) { UInt16 cardNo;

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-27 Thread Dr. Vesselin Bontchev
> Did you try FrmPopupForm() ? Yes. That crashes much more reliably - even on the simulator. :-) > You can then use FrmReturnToForm(). I'm not getting that far. The form isn't displayed before the crash occurs. Ideas, anyone? It ought to be possible to display a form from a notification... Reg

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-27 Thread Miro Pomsar
ot;Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> To: "Palm Developer Forum" Sent: Wednesday, April 27, 2005 14:37 Subject: re: Strange error when trying to intercept sysNotifyVolumeMountedEvent > My *guess* is that the crash happens for the following reason: > > According to th

re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-27 Thread Dr. Vesselin Bontchev
My *guess* is that the crash happens for the following reason: According to the documentation, FrmGotoForm "Sends a frmCloseEvent to the current form" - but if the application isn't running, it isn't showing a current form. If this is the reason for the problem, how should I fix it? How can I d

Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-04-27 Thread Dr. Vesselin Bontchev
Hello folks, I'm trying to intercept the insertion of a memory card and to scan its contents. Here is what I'm doing: 1) On sysAppLaunchCmdSystemReset and sysAppLaunchCmdSyncNotify I register to receive notifications about the sysNotifyVolumeMountedEvent event: UInt32 PilotMain (UInt16 cmd, Me

Strange Error

2003-09-22 Thread Deepak TVS
Hi all, I am writing a AACPlayer. This player uses an ArmLibrary written by me. When I select a file and play, it starts playing the file but suddenly the following error comes up "Emul68KCommon.c, Line 1683: Entry already in use." Can anyone tell me why this error is coming. Thanks & Regar

strange error!

2003-09-02 Thread Mohammad Afshari
Hello I'm trying to compile some of the sample codes provided in the codewarrior but i get this funny error which says: Link Error : Error while creating/copying resource fork. Link Error : Error while saving resources. i have tried these solutions: Solution1: Delete the Constructor resourc

Re: I have a strange error

2003-07-03 Thread Gilles Delmotte
t; > > Hi, > > > > I have a strange error, "(sys 505 (0,0))", the only other thing in the > > message it's"Note the error code and contact the developer of this > > application ". > > What device do you use ? is this a simulator ? > What d

Re: I have a strange error

2003-07-03 Thread Chris Apers
> Hi, > > I have a strange error, "(sys 505 (0,0))", the only other thing in the > message it's"Note the error code and contact the developer of this > application ". What device do you use ? is this a simulator ? What do you attempt to do on your

I have a strange error

2003-07-03 Thread Gilles Delmotte
Hi, I have a strange error, "(sys 505 (0,0))", the only other thing in the message it's"Note the error code and contact the developer of this application ". Ok it's me the developer ;-) Do you see this kind of error message before Thanks Gilles -- For

Re: DmResizeRecord - strange error

2001-12-05 Thread Steve Mann
>A global variable I was using to pass the current record >between all my forms is getting corrupted. I can't seem to see any way >around it except to have another global variable act as a place holder. I ran into that same problem several weeks ago. Drove me nuts. I used the same workaround th

Re: DmResizeRecord - strange error

2001-12-05 Thread Philip Sheard
> However, DmResizeRecord fails if the record's handle is locked. Perhaps > that is what you are thinking of? You are right. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: DmResizeRecord - strange error

2001-12-04 Thread Peter Epstein
Each code segment is itself a resource. There is no way to split resources between code segments, since each resource is, in effect, its own segment. -- Peter Epstein -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/for

RE: DmResizeRecord - strange error

2001-12-04 Thread Robert McKenzie
t: Re: DmResizeRecord - strange error > DmGetRecord does NOT lock the handle. Hence the MemHandleUnlock(handle) > suggestion will result in a "chunk not locked" error. You are right (it was very late at night). I meant DmReleaseRecord. DmResizeRecord fails if the record is

RE: DmResizeRecord - strange error

2001-12-04 Thread Robert McKenzie
bject: Re: DmResizeRecord - strange error Thanks Bob. I didn't think I was crazy. I found the error. A global variable I was using to pass the current record between all my forms is getting corrupted. I can't seem to see any way around it except to have another global variable act as

Re: DmResizeRecord - strange error

2001-12-04 Thread Dan Danese
Thanks Bob. I didn't think I was crazy. I found the error. A global variable I was using to pass the current record between all my forms is getting corrupted. I can't seem to see any way around it except to have another global variable act as a place holder. I store the value of the current r

Re: DmResizeRecord - strange error

2001-12-04 Thread Philip Sheard
> DmGetRecord does NOT lock the handle. Hence the MemHandleUnlock(handle) > suggestion will result in a "chunk not locked" error. You are right (it was very late at night). I meant DmReleaseRecord. DmResizeRecord fails if the record is busy. This change was introduced somewhere between 3.1 a

RE: DmResizeRecord - strange error

2001-12-04 Thread Robert McKenzie
Developer Forum Subject: Re: DmResizeRecord - strange error > in the psuedo code below, I am resizing a record when I save it due to added > information. > > The resize works, the writes all happen, but when I re-get the record, it is > the old information. Any clues? > >

RE: DmResizeRecord - strange error

2001-12-04 Thread Robert McKenzie
December 03, 2001 5:20 PM To: Palm Developer Forum Subject: RE: DmResizeRecord - strange error Should you not put the MemHandleUnlock after the DmReleaseRecord ? Laurence. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Danese Sent: 15 August 2001

Re: DmResizeRecord - strange error

2001-12-04 Thread Philip Sheard
> in the psuedo code below, I am resizing a record when I save it due to added > information. > > The resize works, the writes all happen, but when I re-get the record, it is > the old information. Any clues? > > > handle = DmGetRecord(db,num) MemHandleUnlock(handle);// reset lock count

Re: DmResizeRecord - strange error

2001-12-03 Thread Jim Schram
At 4:32 PM -0500 2001/08/15, Dan Danese wrote: >The resize works, the writes all happen, but when I re-get the record, it is >the old information. Any clues? ... >{ >writes >} Why did you omit the most important part of the question (how you are writing the information)? Are you using DmW

RE: DmResizeRecord - strange error

2001-12-03 Thread Laurence Mee
Should you not put the MemHandleUnlock after the DmReleaseRecord ? Laurence. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Danese Sent: 15 August 2001 22:32 To: Palm Developer Forum Subject: DmResizeRecord - strange error in the psuedo code below

DmResizeRecord - strange error

2001-12-03 Thread Dan Danese
in the psuedo code below, I am resizing a record when I save it due to added information. The resize works, the writes all happen, but when I re-get the record, it is the old information. Any clues? handle = DmGetRecord(db,num) handle = DmResizeRecord(db,num,newsize) ptr = MemHandleLock(handle

Re: Strange Error

2001-09-23 Thread Chris Tutty
"Ben Combee" <[EMAIL PROTECTED]> wrote > > This sort of problem won't produce an error immediately, but will > > cause your code to fail the next time it (or the system) tries to use > > that chunk so it's almost certain that the bug that's causing this > > problem > > has already occured by the t

Re: Strange Error

2001-09-21 Thread Ben Combee
> This sort of problem won't produce an error immediately, but will > cause your code to fail the next time it (or the system) tries to use > that chunk so it's almost certain that the bug that's causing this problem > has already occured by the time you get to this line of code. Memory > corrupt

Re: Strange Error

2001-09-21 Thread Chris Tutty
"Praveen Potineni" <[EMAIL PROTECTED]> wrote > I still get the error even after seperating the FrmGetObjectIndex() and now > i get the Bad Chunk header error at : > pindex=FrmGetObjectIndex(frm, DataCollectorLoginIDFieldField); > OK. So we've learnt something. Now the question becomes "w

Re: Strange Error

2001-09-21 Thread Praveen Potineni
en Potineni" <[EMAIL PROTECTED]> wrote > > I got this strange error "MemoryMgr.c , Bad chunk header" > > at the second FrmSetFocus statement in the code: > > > That's a message that could arise from a number of different sources. > As a start I&#

Re: Strange Error

2001-09-20 Thread Chris Tutty
"Praveen Potineni" <[EMAIL PROTECTED]> wrote > I got this strange error "MemoryMgr.c , Bad chunk header" > at the second FrmSetFocus statement in the code: > That's a message that could arise from a number of different sources. As a start I'd split the

Strange Error

2001-09-20 Thread Praveen Potineni
Hi, I got this strange error "MemoryMgr.c , Bad chunk header" at the second FrmSetFocus statement in the code: Can someone give me an idea as to where the problem with the code is... Code is written to handle the login screen for the application and setting the focus on login an

strange error with table load func

2001-07-04 Thread Joshua Richie
The following code is my custom table load function. info is a 2 dim array with item type, offset, and sizes for each table item. What is strange is that if I uncomment the error checking statements, I get "Offset out of bounds" and "Invalid Sise" errors when r > 16, but when I comment them out,

Re: Strange error in GCC with C++ files

2001-07-02 Thread Rodrigo M . Cabrera
On Sat, 30 Jun 2001 23:18:24 -0500, Joshua Richie <[EMAIL PROTECTED]> >Following is a skeleton for a preferences form, and it generates 3 Bad >Expression errors >#define ERROR_CHECK_LEVEL ERROR_CHECK_FULL >#include >#include >#include "CallBack.h" > >static void preferencesInit(FormPtr frmP) >{

Re: Strange error in GCC with C++ files

2001-06-30 Thread Joshua Richie
> Please post here (or send me personally if you prefer, or if it's more > than about 10 lines) an example of a C++ source file and corresponding > compiler invocation which produce this problem. > > John Following is a skeleton for a preferences form, and it generates 3 Bad Expression erro

Re: Strange error in GCC with C++ files

2001-06-30 Thread John Marshall
On Sat, Jun 30, 2001 at 05:21:41PM -0500, Joshua Richie wrote: > c:\windows\TEMP/ccE73InZ.s: Assembler messages: > c:\windows\TEMP/ccE73InZ.s:81: Error: Bad expression > > There are quite a number of "Bad Expression" errors for each source > file. Please post here (or send me personally if you p

Strange error in GCC with C++ files

2001-06-30 Thread Joshua Richie
Help! I have just converted a simple project from C to C++, and don't get any syntax errors, but I do get the following error: --- D:\PalmDev\PRC-Tools\H-i586-cygwin32\bin\m68k-palmos-gcc -palmos3.5 -Id:\Palmdev\SDK\Include -ID:\PalmDev\SDK\Include\Core -ID:\PalmDev\SDK\Include\Core\System -ID:\Pa

Re: strange error when drawing a slider

2001-02-21 Thread krollin
t; Sent by: John Marshall <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> cc:(Keith Rollin/US/PALM) Subject: Re: strange error when drawing a slider John Cundall <[EMAIL PROTECTED]> wrote: > When using the following code in the FrmOpe

Re: strange error when drawing a slider

2001-02-14 Thread John Marshall
John Cundall <[EMAIL PROTECTED]> wrote: > When using the following code in the FrmOpenEvent handler for my app, I > get a run-time error dialog from POSE saying "Control.c, Line:1707, > Background must be at least half as wide as slider": [...] > The slider is 80x15 pixels. I haven't specified a b

strange error when drawing a slider

2001-02-14 Thread John Cundall
When using the following code in the FrmOpenEvent handler for my app, I get a run-time error dialog from POSE saying "Control.c, Line:1707, Background must be at least half as wide as slider": case frmOpenEvent: sliderP = GetObjectPtr(frm, SettingsVolumeSliderControl); min=0, max=1

Re: gcc - strange error

2000-03-09 Thread Aaron Ardiri
> A useful technique for tracking this sort of mystery down is: > > $ m68k-palmos-gcc -E -P -palmos3.5 palm.c > palmprep.c > $ m68k-palmos-gcc -c -O2 -Wall palmprep.c > palmprep.c:879: syntax error before `typedef' this was a great piece of advice :) thanks John. :P it shoul

Re: gcc - strange error

2000-03-08 Thread John Marshall
Aaron Ardiri <[EMAIL PROTECTED]> wrote: > m68k-palmos-gcc -c -O2 -Wall -palmos3.5 palm.c > In file included from /PalmDev/sdk-3.5/include/PalmOS.h:24, > from palm.h:16, > from palm.c:15: > /PalmDev/sdk-3.5/include/PalmTypes.h:60: syntax error before `typedef' I

gcc - strange error

2000-03-08 Thread Aaron Ardiri
hi! --- $ make m68k-palmos-gcc -c -O2 -Wall -palmos3.5 palm.c In file included from /PalmDev/sdk-3.5/include/PalmOS.h:24, from palm.h:16, from palm.c:15: /PalmDev/sdk-3.5/include/PalmTypes.h:60: syntax error before `typedef' --- anyone get an idea why this er