RE: Possible POSE bug

2000-06-25 Thread Scott L. Johnson
> From: Bruce Fistel [mailto:[EMAIL PROTECTED]] > When I do a global find from within a form containing a gadget, > if I press cancel in response to the find, the gadget is not redrawn. > Doing the same sequence on my Palm Vx the gadget is redrawn. > Note, if I run with an older rom, PalmOS33_iii_

Re: Hit the limit... (32k + jumps)

2000-06-25 Thread Brian Smith
One little trick to extend your app past 32k is to add -lcrt into the line of your makefile that links your code right before your .o files and libraries. Also, you may have to rearange your .o files such that none of your code is making any >32k calls. The linker insterts the functions in the ord

Re: Random number problem

2000-06-25 Thread Richard Bram
>I have been using this function to generate a "random" number: > >static UInt16 rand( UInt16 max ) >{ > return ( SysRandom(TimGetTicks()) % max ); >} > The problem is you keep resetting the Sysrandom function back to the current Ticks, which will always be the same if you are running a loop that

Re: Random number problem

2000-06-25 Thread Richard Burmeister
From: Me Subject: Random number problem > return ( SysRandom(TimGetTicks()) % max ); > Unfortunately, this only works as expected on an emulated Palm IIIc and > fails on all other devices. I shouldn't be programming over the weekend. SysRandom() starts a new sequence of "random" numbers every

Possible POSE bug

2000-06-25 Thread Bruce Fistel
Hi, When I do a global find from within a form containing a gadget, if I press cancel in response to the find, the gadget is not redrawn. (POSE 3.0a6, palmos35-dr4-en-ezdbg.rom or palmos35-dr-en-colordbg.rom, NT 4.0). Doing the same sequence on my Palm Vx the gadget is redrawn. I tried 2048 and

Random number problem

2000-06-25 Thread Richard Burmeister
I have been using this function to generate a "random" number: static UInt16 rand( UInt16 max ) { return ( SysRandom(TimGetTicks()) % max ); } Unfortunately, this only works as expected on an emulated Palm IIIc and fails on all other devices. On the devices on which it fails, the problem is th

Hit the limit... (32k + jumps)

2000-06-25 Thread David A. Desrosiers
I've hit the wall with one of my applications, where I can go no further with it until I go into multiple segments. I tried investigating multilink, but building it requries a tool which I don't have: m68k-palmos-coff-bfd. I've tried using both toolchains to build this application with id

Re: Banning a member of the developer forums...

2000-06-25 Thread Lurenzel
I agree with Aaron. It doesn't take a lot of talent to maintain a civil manner. Anyone and most everyone does. If a person can't do that then maybe he needs to think about it and how others feel. It may be a character building experience. Factoid...One of the things which separate us from animals

Enqueuing virtual keycodes

2000-06-25 Thread Andy Black
Hello, I am using the following code for my numeric keypad in my program and am having some problems. case ctlSelectEvent: switch (eventP->data.ctlSelect.controlID) { //--code removed---// case MainZeroButton:

CDK 4.0 wizard frustration

2000-06-25 Thread Mitch_Fawcett
For the second time I have tried working my way through the Appendix A quick start example. I followed all the steps to use the wizard and everything goes fine until I get to page 207 where it says to locate MyConduit.cpp in the C++ project. For the life of me I have not been able to find it. I am

Locked handles etc

2000-06-25 Thread Richard Bram
I had been under the impression that a field's text handle was usually unlocked, but now it seems to me that in fact it is usually locked (and must just get transiently unlocked with the field has to grow its memory chunk.) Right? So is there an accepted way for my hack to know whether a memory ch

Re: Help! How to create multi-segment apps gcc/linux

2000-06-25 Thread Aaron Ardiri
> I'm probably using an older version of prc-tools, so it may actually mean > that it can't find those functions -- but I don't think so. I'm pretty > sure I'm doing that part right. > > Anyway, I'm beginning to believe that I have no choice but to split in > to multiple segments. But I can't

Re: Banning a member of the developer forums...

2000-06-25 Thread Aaron Ardiri
> The questions one should ask are: > > 1. Is Palm a monopolist with this mailing list? Palm runs this mailing list service - they should have the right to moderate it to prevent a user of the service from being abusive/offensive to the other users. lets not get into "Microsoft" law sui

Re: Banning a member of the developer forums...

2000-06-25 Thread Nik Wiesel
At 02.05.2000 19:45 Steve Sabram wrote: (...) >> Who decides what is respectful? >It is arbitrary upon the owner of the server. >It is very much like the signs >"We reserve there right to refuse service to anyone." >that you see in restaurants and coffee houses. I allow myself to add a little n