Re: Certification

2000-06-22 Thread Jason Zhan
I think it's nothing but trouble. :P Jason "Bradly J. Barton" <[EMAIL PROTECTED]> wrote in message news:14931@palm-dev-forum... > > I know this question pops up now and again, but I've yet to see the folks at > Palm answer it... > > Is there or are there plans to add a Palm Programming Certificat

RE: Resize Resource Problem

2000-06-22 Thread andrew . wishart
I don't open the database myself. The resources are in the application database which is opened be launching the application. However this did make me think whether I could re-open the database and I came up with this work around. I get the names of all the open databases and then reopen the

FAQ 4 this list?? (same post as in massena/palm.programming.CW)

2000-06-22 Thread avih
This is an offer for palm personel answering this list, or developers that think it's required. same questions repeat over and over again in this list: i.e. colors in CW6 (bitmap families, icons), small icons, versions of CW releases (academic/light/5/6), newbies learning books/resources/traini

AbtShowAbout

2000-06-22 Thread SvenÅke Andersson
How does AbtShowAbout find the version number and the name of the application by using the Creator ID ? -- SvenÅke Andersson Above Software [EMAIL PROTECTED] +46-(0)705-529842 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/

Re: FAQ 4 this list?? (same post as in massena/palm.programming.CW)

2000-06-22 Thread Jon Baer
I agree. What would be *very* nice (I dont know if this is possible), is if the emails on the list could be integrated with the Knowledge Base somehow and resource links would be attached to the bottom of the emails. I have yet to see a feature like this on any email lists. Just a suggestion.

RE: Certification

2000-06-22 Thread Logie Urqhart
Dosn't experience count more than certification?? If you're good at what you do, it will show. right??? Or am I just being the young niavie software engineer, just a year out of college??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Schram Sent:

conditional #include with Code Warrior

2000-06-22 Thread Thomas Gaudin
Hi, How can I know what compiler is working during compilation. I mean I'd like to do something like this : #if COMPILER = CODE_WARRIOR_ONE #include #else #include #endif thanks to ones that can help thomas -- For information on using the Palm Developer Forums, or to unsubscribe, please s

Re: Palm's Algorithm? (was Re: Storage RAM Size)

2000-06-22 Thread Remo Hofer
In article <14943@palm-dev-forum>, Brian Mathis <[EMAIL PROTECTED]> wrote: > On Wed, 21 Jun 2000, Nikul Patel wrote: > > Hi , > > > > What's the best way of finding the size of available RAM storage on PalmIII? > > Is there any API which will provide me this data? I appreciate your help. > > >

serial error codes

2000-06-22 Thread Jonathan_Arrien
hi! when I do error=SerOpen(refno,port,baud); in error I get 769 or 767. where can I find what these numbers means? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Support Escalation

2000-06-22 Thread Fergal Moran
> I have had a support issue reported to the development > support team for over > 3 weeks and have yet to receive a response/resolution. Does > anybody out Why don't you try posting your problem to the list? Regards, Fergal Moran -- WASP Technologies http://www.wasptech.com Wireless Applic

TxtGlueCharAttr - broken?

2000-06-22 Thread Paul Nevai
Hi: I came to the conclusion that TxtGlueCharAttr is broken whether or not it is used with Char or WChar. When I have macros like TxtGlueCharIsAlNum (wch) and run GREMLINS [OS 3.3],then POSE keeps complaining after every 3 or 4 thousand GREMLINS, whereas if I replace them by stuff like IsAlNum (G

program icons

2000-06-22 Thread Jason Davidson
Is there anyway to change a programs application icon during runtime? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: serial error codes

2000-06-22 Thread Dave Lippincott
I don't about 767 but 769 is serErrBadParam - bad parameter (but 776 is serErrStillOpen) Error info is available in the headers or in errorlist.txt (compiled by Neal Bridges) - Original Message - From: <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, Jun

RE: Wrong code shown....

2000-06-22 Thread Fitzpatrick, Joe
Well, one thing that stands out is that if the pattern "," does not appear, you read past the end of the allocated block. Are you blowing up inside the for loop? -jjf -Original Message- From: Ralph Krausse [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 22, 2000 6:51 AM To: Palm Develop

RE: Certification

2000-06-22 Thread Logie Urqhart
I agree, at the moment the MS stuff is way over the top; but if I had a job that payed more, I knew that I would breeze through it, I say "What the hell, I'll get certified." Logie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bradly J. Barton Sent: 2

Re: Certification

2000-06-22 Thread Tim Astle
Brady is right... but I wish he wasn't. I've conducted interviews and we once hired a guy with a Microsoft DBA cert. along with some other ones. He was a very nice guy, but we spent months teaching him "hands on" experience. (From ASP, HTML, Stored Procedures, etc.) He had no problem talking h

RE: serial error codes

2000-06-22 Thread Fitzpatrick, Joe
The serial error codes are listed in SerialMgr.h. They start at a constant called serErrorClass, which is defined in SystemMgr.h (at least in the 3.1 SDK which ships with CW6). serErrorClass is 0x300. 769 is 0x301, or "serErrBadParam". -jjf -Original Message- From: [EMAIL PROTECTED] [

Here is: Colors and bitmap families: walkthrough

2000-06-22 Thread Avi Halachmi
I've made a walkthrough to use colors and bitmap families, and to let the application select AT RUNTIME the best color depth available for the runtime device. follow the link: http://www.geocities.com/avihpit/bmf.txt sorry for the txt format. any comments will be most welcome. regards avi.

RE: conditional #include with Code Warrior

2000-06-22 Thread Jun-Kiat Lam
Hi Thomas, For CodeWarrior the predefined symbol is __MWERKS__. #ifdef __MWERKS__ // blah blah #else // yadda yadda #endif Rgds, Jun-Kiat Lam Metrowerks Technical Support -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Gaudin Sent: Thursday, Jun

RE: Support Escalation

2000-06-22 Thread Rob Graber
Fergal, I did that twice...if you look back you will find an issue about the Palm Email Conduit that I posted. I got one response and it was from someone that, from the nature of their response, did not read the full question. I have had a lot of luck with most questions being answered here, bu

RE: The other piece of source...

2000-06-22 Thread Fitzpatrick, Joe
I think that you need to add a line: StrNCopy(pListBoxEntry,pszRecord,wPos); -> pListBoxEntry[wPos] = 0; The documentation for StrNCopy reads: "Copies up to n characters from a source string to the destination string. Terminates dst string at index n-1 if the source string length was n-1 or

Re: Shortcut-tap-tap-s works?

2000-06-22 Thread Boris Perron
I can't use this shortcut neither. I tried to catch what was coming to the serial port but nothing looks to be send by the Palm. I ask the question too, does this shortcut work? And if yes, how ? >Subject: Shortcut-tap-tap-s works? >From: "Neil Rhodes" <[EMAIL PROTECTED]> >Date: Tue, 20 Jun 2000

Re: The other piece of source...

2000-06-22 Thread Ralph Krausse
THANK YOU ALL. All answers helped and yes, the NULL did make it all blow up. Ralph Krausse -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Here is: Colors and bitmap families: walkthrough

2000-06-22 Thread Chris Olson
Avi Halachmi wrote: > I've made a walkthrough to use colors and bitmap families, and to let the > application select AT RUNTIME the best color depth available for the runtime > device. > > follow the link: > http://www.geocities.com/avihpit/bmf.txt > > sorry for the txt format. > > any comments

Recursion?

2000-06-22 Thread Charles Rezsonya
i keep hearing recursion should be avoided whiled devin' up an app. what exactly does this mean? don't call too many loops or repeated functions? any extra details or specs on what and what not to do would be appriciated. brief is ok =) l8r Charles Rezsonya Software Engineer IJW Software --

application database format

2000-06-22 Thread Ed Mittelstedt
I was looking on the Knowledge base for this but can't seem to find any relavant information. Can anyone point me to the format specification for an application database? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support

Re: program icons

2000-06-22 Thread Aaron Ardiri
> Is there anyway to change a programs application icon during runtime? sure! :) you *could*.. :)) but it is not officially documented anywhere as it can get very messy. { UInt8 *iconPtr; // allow "unprotected" memory writes MemSemaphoreReserve(true); // get a pointer to the tAIB

Re: Here is: Colors and bitmap families: walkthrough

2000-06-22 Thread Aaron Ardiri
> I've made a walkthrough to use colors and bitmap families, and to let the > application select AT RUNTIME the best color depth available for the runtime > device. > > follow the link: > http://www.geocities.com/avihpit/bmf.txt > > sorry for the txt format. > > any comments will be most welco

Re: Here is: Colors and bitmap families: walkthrough

2000-06-22 Thread Aaron Ardiri
> 2) Bitmap buttons are available in OS 3.5 only yes.. > 3) Form bitmaps don't seem to work well either outside of 3.5, but >WinDrawBitmap(sp?) does ... since when? form bitmaps work fine for me on all os versions.. if it is just 3.5, but then again, i use PilRC az. -- Aaron Ardiri

Re: Recursion?

2000-06-22 Thread Aaron Ardiri
> i keep hearing recursion should be avoided whiled devin' up an app. what > exactly does this mean? don't call too many loops or repeated functions? > any extra details or specs on what and what not to do would be appriciated. > brief is ok =) limited stack space.. approx 4Kb from memory az

Re: Shortcut-tap-tap-s works?

2000-06-22 Thread Dave Lippincott
Short cuts do work. You're most likely not entering it correctly. You have to enter them in some sort of edit field. The one generally used is the find dialog. - Original Message - From: "Boris Perron" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, Ju

RE: Recursion?

2000-06-22 Thread Fergal Moran
> i keep hearing recursion should be avoided whiled devin' up > an app. what > exactly does this mean? don't call too many loops or In order to define recursion we must first define recursion Recursion simply means a function that calls itself - like this void foo(int a){ if (a){ //do s

Re: Here is: Colors and bitmap families: walkthrough

2000-06-22 Thread Avi Halachmi
Thanx 4 the responses :) at the moment' i'll just add the comments ppl put on this thread into the walkthrough AS IS. i'm adding it as is from the newsgroup, with sender's info. if someone does't want me to put his/her donation/info pls let me know and i'll remove him/her. i'll try to update thi

Re: non-PPP communications

2000-06-22 Thread Bruce Thompson
Hi, You've basicly got two choices here. The first is to write enough of a PPP parser to actually understand the PPP frames and wrap/unwrap them as they arrive. The second (and arguably cleaner) approach would be to configure the network settings to use SLIP instead of PPP. SLIP is a

RE: Defining Custom Font

2000-06-22 Thread Fitzpatrick, Joe
For an example of how to use FntDefineFont check out: http://www.sochi.com/~sandy/fe/ Good Luck, -jjf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 21, 2000 10:54 PM To: Palm Developer Forum Subject: Defining Custom Font Hi All, I want t

Re: Recursion?

2000-06-22 Thread Michael S. Davis
On Thu, 22 Jun 2000, Charles Rezsonya wrote: > i keep hearing recursion should be avoided whiled devin' up an app. what > exactly does this mean? don't call too many loops or repeated functions? > any extra details or specs on what and what not to do would be appriciated. > brief is ok =) This

strange list scroll bug

2000-06-22 Thread Charles Rezsonya
one of our clients said that on differant circumstances the need to scroll the list with the up and down buttons doesn't work. this may be narrowed down to a forms action before (some buttons being hidden due to access levels). i'm didn't even know that the list can be non-scrollable with the bu

Re: Recursion?

2000-06-22 Thread Charles Rezsonya
ok! thx! just wanted that little voice in the back of my head to stop bugging me about the uncertainty. hehe... no i'm not insane. thx you two! Charles R -Original Message- From: Fergal Moran <[EMAIL PROTECTED]> To: Palm Developer Forum <[EMAIL PROTECTED]> Date: Thursday, June 22,

RE: FAQ 4 this list??

2000-06-22 Thread Nesse, Rustin
I think the only valid excuses for not checking the archives/KB are: 1. KB is down. 2. Your server has a block on the message groups (like mine appears to). 3. You're using a 2400 baud modem. =) I know I usually check the archives at home, but occasionally something stupid will come up while

Problems with LstSetListChoices()

2000-06-22 Thread jimmi
Hi all, I don't know how to use the function: void LstSetListChoices (ListPtr ListP, char ** itemsText, UInt numItems) When I call the function I get a Fatal Exception. Here's some of my source code: char ItemsText[2][10] = {"String1","String2"}; //... LstSetListChoices(pList,(char**)ItemsText

Palm OS 3.3 and HackMaster

2000-06-22 Thread craig
Does anybody know what the issues are with trying to activate a HackMaster hack in PalmOS 3.3? So far every hack I have tried to turn on gives me the following error from the emulator: "Records left locked in closed unprotected DB" When I try this on a device I get a fatal error. I have yet to

Palm OS 1.0 and Palm OS 2.0 resource differences

2000-06-22 Thread Stuart Nicholson
What resource types did Palm OS 2.0 add that Palm OS 1.0 doesn't have? I'm working on backward compatibility and have an app that works fine under Palm OS 2.0 but fails under Palm OS 1.0 in the emulator with "HwrRes.c: Line 159 Unknown rsrc type" I *know* this information should be in the know

RE: ROM based records

2000-06-22 Thread Nesse, Rustin
YeahYesterday was a LONG day. Even a Software Engineer with an AA in English and Communications makes dumb semantics mistakes sometimes. =) -Rus >-Original Message- >From: Brian Mathis [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, June 21, 2000 6:59 PM >To: Palm Developer Forum >Subj

Re: Recursion?

2000-06-22 Thread Brandon Wallace
"Michael S. Davis" wrote: > > On Thu, 22 Jun 2000, Charles Rezsonya wrote: > > > i keep hearing recursion should be avoided whiled devin' up an app. what > > exactly does this mean? don't call too many loops or repeated functions? > > any extra details or specs on what and what not to do wou

Looking up an address...

2000-06-22 Thread Chris DiPierro
I have used the code below successfully to query addressbook for an address selection dialog, but on OS/3.5 especially it just doesn't work. The errors are never triggered (err is 0 in all cases), but it just doesn't launch AddressBook at all. Can anyone spot what's going on? VoidHand CallAddress

RE: Constructor draws list frame wrong

2000-06-22 Thread Scott L. Johnson
I haven't seen this reported before, but it sure is annoying. (I'm using the latest Constructor (1.5b7 5/8/00) on Windows.) If you have a List object on a form, its frame gets drawn incorrectly so that it doesn't match how it will look when actually running. At runtime the OS draws the frame ar

Custom Event

2000-06-22 Thread HowY
Hi Im trying to generate a power on event to test aside from the nilEvent sent when the device is powered up How is a custom event(type) defined if i try to addEventToQueue (WakeUpEvent) ie: eventP->eType=WakeUpEvent; EvtAddEventToQueue (eventP); it complains that there is no such Wak

Re: AbtShowAbout

2000-06-22 Thread Richard M. Hartman
I don't know how they do it ... but I do it something like this (note that you have to try two different IDs for the version resource!): // get app info from resources //- ainRsc(tAIN) = app name ID=ainID(1000) hAIN = DmGet1Resource(ainRsc, ainID); if (hAIN) { szAIN = MemHandleLock(hAIN);

RE: Custom Event

2000-06-22 Thread Stuart Nicholson
Have a look in Core/UI/Event.h. There's a constant called 'firstUserEvent'. I typically do something like: #define AppCustomEvent1 ( firstUserEvent ) #define AppCustomEvent2 ( firstUserEvent + 1 ) etc. (Although I note the actual value for 'firstUserEvent' has changed from 0x7FFF to 0x6000 in Pa

Re: strange list scroll bug

2000-06-22 Thread Richard M. Hartman
Lists don't know nuthin' 'bout no hardware buttons. For the list to scroll with the buttons the form handler has to catch the hardware button presses and tell the list to scroll. -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Charles Rezsonya wrote

RE: Custom Event

2000-06-22 Thread Nesse, Rustin
You could catch the keydown event sent by the power button (keyBitPower). -Rus >-Original Message- >From: HowY [mailto:[EMAIL PROTECTED]] >Sent: Thursday, June 22, 2000 9:12 AM >To: Palm Developer Forum >Subject: Custom Event > > >Hi > >Im trying to generate a power on event to test >asi

Re: Recursion?

2000-06-22 Thread Adam Wozniak
Fergal Moran wrote: > > i keep hearing recursion should be avoided whiled devin' up > > an app. what > > exactly does this mean? don't call too many loops or > > In order to define recursion we must first define recursion > Recursion simply means a function that calls itself - > > like this > >

Re: C++ loops

2000-06-22 Thread Adam Wozniak
"David A. Desrosiers" wrote: > > Well, hopefully you'd code it up like: > > > > for (int a = 0; a < 10; a++) > > { > > doSomething(); > > } > > Won't 'gcc -S foo.c' help you here? I've used it in the past to > compile the loop execution into asm source, then test the loop for speed >

Re: Wrong code shown....

2000-06-22 Thread Steve Palmen
other possibilities: pszRecord is NULL, or StrLen(pszRecord) + 1 is > largest available heap chunk so pNextChar is NULL. to echo Joe, what exactly is "blowing up"? unrelated to that, why allocate heap space for a copy of the *pszRecord string? could you not simplify the method by examining the

Application version

2000-06-22 Thread Joseph Koral
I have multiple components (conduit, supporting DLLs) associated with a Palm application. I want all components to share the same version and I only want to change the version in one place. I thought I could create .r resource file for the 'tver' resource and do something like this (or include a

DateTimeType vs. DateType

2000-06-22 Thread Stringer
This code (for the sample below) doesn't work! ULong addSeconds = (4 * 365.25 * 24 * 60 * 60); // add It has two problems: a) 365.25 (there's better ways for leap year adjustment!) b) you have to cast the constants to long, otherwise the compiler uses int for intermediate val

Re: Custom Event

2000-06-22 Thread Dave Lippincott
first define your event #define MyNewEventMessage ((events)(firstUserEvent +1)) Then just use it EventType newEvent; newEvent.eType = (events)MyNewEventMessage; // Now populate the structure with whatever data you may requires, you also may want to initialize the event struct to 0 EvtAddUniqueEv

RE: strange list scroll bug

2000-06-22 Thread Schettino, John
In other words, in your form with the list's event handler: case keyDownEvent: switch (eventP->data.keyDown.chr) { // pageup hardware key case pageUpChr: { Word selection; handled = true;

RE: Recursion?

2000-06-22 Thread Steve Austin
Errors in loop conditions can make for slow program. Errors in recursion can cause a stack overflow. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael S. Davis Sent: Thursday, June 22, 2000 8:37 AM To: Palm Developer Forum Subject: Re: Recur

RE: databases (Palm OS)

2000-06-22 Thread Stringer
We have considered isolating the database API's of the Marietta PDE(tm) software and marketing them as a discrete product, and at some time may do so, but all of our efforts right now are going into adding facilities to the software and extending the scope of the PDE's design wizard. Roger Stri

using new or MemHandleNew ???

2000-06-22 Thread Ralph Krausse
Can I new objects and strings or do I have to use MemHandleNew and MemHandleLock? Thanks Ralph Krausse -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Here is: Colors and bitmap families: walkthrough

2000-06-22 Thread Chris Olson
Aaron Ardiri wrote: > > 2) Bitmap buttons are available in OS 3.5 only > > yes.. > > > 3) Form bitmaps don't seem to work well either outside of 3.5, but >WinDrawBitmap(sp?) does ... > > since when? form bitmaps work fine for me on all os versions.. if it > is just 3.5, but then again, i u

DmWrite functionality

2000-06-22 Thread Daniel B. Sigurgeirsson
I need to move a block of data that's in a database record. So let's say I have a record with 20 bytes and I want to move the last 15 bytes to the beginning of the record, i.e. remove the first 5 bytes. Could I do: // Error checking removed for clarity: VoidHand hHandle = DmGetRecord( m_hDataba

RE: Application version

2000-06-22 Thread Scott L. Johnson
> From: Joseph Koral [mailto:[EMAIL PROTECTED]] > I thought I could create .r resource file for the 'tver' resource > and do something like this (or include a common header): > >#define APP_VERSION 1.0 >data 'tver' (1) { "APP_VERSION" $"00" }; > > However this doesn't work. I assume the R

Re: Recursion?

2000-06-22 Thread Steve Sabram
"Michael S. Davis" wrote: > On Thu, 22 Jun 2000, Charles Rezsonya wrote: > > > i keep hearing recursion should be avoided whiled devin' up an app. what > > exactly does this mean? don't call too many loops or repeated functions? > > any extra details or specs on what and what not to do would

How to make a textTableItem a non-multilined field?

2000-06-22 Thread Tim Astle
How do you ensure that a textTableItem isn't multilined? Also, is there a way to set the character limit on these fields? I've searched the attributes, but I don't see anything that stands out. + Timothy D. Astle Embedded Systems Programmer ALT Group Inc. + People on J

Re: Here is: Colors and bitmap families: walkthrough

2000-06-22 Thread Avi Halachmi
i think i solved your problem. apperantly the OS3.1 doesn't support compressed bitmaps. when i compress the 2-bit bitmat, it shows corrupted on OS3.1 when i use no compression for the 2-bit bitmap it shows ok on OS3.1 hope it helps regards avi Chris Olson <[EMAIL PROTECTED]> wrote in message

RE: Application version

2000-06-22 Thread Joseph Koral
> Actually #define does work in Rez files. Try this: > > #define APP_VERSION "1.0" > data 'tver' (1) { APP_VERSION $"00" }; Thanks, that variant *does* work (although I swear I tried it earlier and it didn't work). However when I try the following, I get "Fatal error trying to open the

Re: Problems with LstSetListChoices()

2000-06-22 Thread Neil Rhodes
> When I call the function I get a Fatal Exception. Here's some of my source > code: > > char ItemsText[2][10] = {"String1","String2"}; > //... > LstSetListChoices(pList,(char**)ItemsText,2); You've declared an array with 20 characters in it. You need to declare an array of character pointers: c

Re: Recursion?

2000-06-22 Thread Charles Rezsonya
actually what i like to do is take the calls from one to another but place them in parent functions. sorta like,... from main-> to doBlock-> do first half -> go back to doBlock with return -> depending do second half... so then only parts of calls or 'nests' are done at once. -Original Messa

Re: Recursion?

2000-06-22 Thread gcw
Is there an easy way to increase the stack space on a per application basis? Aaron Ardiri wrote: > > i keep hearing recursion should be avoided whiled devin' up an app. what > > exactly does this mean? don't call too many loops or repeated functions? > > any extra details or specs on what and

power estimation

2000-06-22 Thread Laurent Lazard
We are currently working on a tool to help developers evaluate the power consumption of their program. The principle is simple: when the program is executed on the POSE emulator, we stored the different opcodes executed and then associate each of these opcodes with an energy. At the end we just a

Re: Palm OS 1.0 and Palm OS 2.0 resource differences

2000-06-22 Thread krollin
When loading a form, ResLoadForm in Palm OS 1.0 looks for frmListObj, frmControlObj, frmFieldObj, frmTableObj, frmPopupObj, frmTitleObj, frmLabelObj, frmBitmapObj, frmGraffitiStateObj, and frmGadgetObj. To that list Palm OS 2.0 adds frmScrollBarObj. I don't see any additional objects added after

Color Bitmap

2000-06-22 Thread Mary Spears
I am trying to draw color bitmaps, which are stored in a db, using their own colortables. If I draw them directly to the screen, the color translation works fine. The problem is that my application always draws to an offscreen window and when the offscreen window is copied to the screen, the col

CharPtr's and FrmCustomAlert

2000-06-22 Thread Sam Trimble
Is there a way to put a CharPtr into a FrmCustomAlert? I'm using the following syntax (FrmCustomAlert(Alert, CharPtr, "","")) and it doesn't display the string properly... it gets cut off and garbage gets put on the end. And sometimes it doesn't even compile when I have it like this... Is there so

Constructor 1.5 HANGS

2000-06-22 Thread Fima Furman
I upgaded my Constructor to the latest version, and now I can't open any resource file. As soon as I open any resouce the constructor starts loading it, half opens the window, and then freezes, so I have to kill it through task manager. If I use the old 1.2 version, everything works well. Any ide

Re: DmWrite functionality

2000-06-22 Thread Tony Williams
"Daniel B. Sigurgeirsson" wrote: > > I need to move a block of data that's in a database record. So let's say I > have a record with 20 bytes and I want to move the last 15 bytes to the > beginning of the record, i.e. remove the first 5 bytes. Could I do: > > // Error checking removed for clar

RE: Constructor 1.5 HANGS

2000-06-22 Thread Jun-Kiat Lam
Hello Fima, Constructor 1.5 now generates a preference file inside the c:\winnt\Metrowerks folder (the Metrowerks preferences folder). Usually when it hangs, it helps to delete the Constructor preferences. Delete 'Constructor for Palm OS.pref' and the resource.frk folder inside c:\winnt\Metrowerk

Re: Shortcut-tap-tap-s works?

2000-06-22 Thread Holger Klawitter
> Short cuts do work. You're most likely not entering it correctly. You have > to enter them in some sort of edit field. The one generally used is the > find dialog. If you have upgraded from an older device you might have an old "Graffiti_Shortcuts.prc" on your device. To get the new one you h

Re: FrmRemoveObject problem !!

2000-06-22 Thread Kevin
I am able to remove objects in reverse order of creation, however, I always get a memory access error in POSE when removing a list object. Is this a problem that can be safely ignored? Kevin <[EMAIL PROTECTED]> wrote in message news:14835@palm-dev-forum... > > > > FrmRemoveObject has a bug when

Re: Here is: Colors and bitmap families: walkthrough

2000-06-22 Thread Chris Olson
Great!! I'll try that (apparently it's only in the Form Bitmap, 'cause my other bitmaps show up just fine ...) Yup, that fixed it! Now I jusy need to know how to clear an area of the screen ... Currently I use WinFillRectangle(sp?) and I get a dithered pattern instead of the blank I'm lookin

Re: strange list scroll bug

2000-06-22 Thread Richard Hartman
LstSetSelection()? I use LstScrollList() ... -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Schettino, John wrote in message <15097@palm-dev-forum>... > >In other words, in your form with the list's event handler: > >case keyDownEvent: > switch (e

Re: DmWrite functionality

2000-06-22 Thread Danny Epstein
"Daniel B. Sigurgeirsson" <[EMAIL PROTECTED]> wrote in message news:15102@palm-dev-forum... > DmWrite( pData, 0, pData + 5, 15 ); It sounds like you want to know if DmWrite is safe to use when the source and destination areas overlap. It isn't documented as being safe to use this way. The current

serial communications

2000-06-22 Thread Roberts, Nathaniel
I am having trouble trying to open a serial connection. The error message I recive is "Mem" from the code below. I was wondering if any one knows what I am not initilizing correctly to make this work. running on a Vx Thanks in advance Nathan UInt16 PortID = NULL; Err err=0; err = SrmOpe

Re: Here is: Colors and bitmap families: walkthrough

2000-06-22 Thread Aaron Ardiri
> i think i solved your problem. > apperantly the OS3.1 doesn't support compressed bitmaps. it depends on the type of compression :)) > when i compress the 2-bit bitmat, it shows corrupted on OS3.1 > when i use no compression for the 2-bit bitmap it shows ok on OS3.1 the compression that P

Re: Recursion?

2000-06-22 Thread Aaron Ardiri
> Is there an easy way to increase the stack space on a per application basis? yes.. check the 'pref' resource :)) az. -- Aaron Ardiri Java Certified Programmer http://www.hig.se/~ardiri/ University-College i Gävle mailto:[EMAIL PROTECTED] SE 801 76 Gävle SWEDEN Tel: +46 26 64

Linking woes!

2000-06-22 Thread Stephen Bentley
I'm afraid I haven't messed around with linker settings very much and I am having some problems I can't resolve. First, I get this message: LINK ERROR: MAIN.C 'PILOTMAIN' 16-BIT CODE REFERENCE TO 'SETOPTIONS' IS OUT OF RANGE. So I can to a Large Code Model (was Smart) It compiles, but when I t

Re: Linking woes!

2000-06-22 Thread Peter Epstein
This is simply it's way of telling you that you've exceeded the segment size limit. There are two different limits: the first is the 16 bit code reference, which limits how far a call site can be from the called procedure. The second is the segment size limit, which limits how much code you can

2 newbie questions

2000-06-22 Thread K. Chugh
hi- have 2 questions: 1) i'm trying to use the metrowerks tutorial- specifically chapter 3 "adding a menu and a simple dialog." the problem is, no menu shows up. i've created a menu bar, added a menu with a menu item to the menu bar, and set the main forms menu resource to the menu bars ID. t

RE: strange list scroll bug

2000-06-22 Thread Schettino, John
Oops, sorry. Didn't look to closely at the code I grabbed. The snippet below scrolls the selection thru the list (which also scrolls the list as needed), which is what I wanted when I wrote it ;) - John -Original Message- From: Richard Hartman [mailto:[EMAIL PROTECTED]] Sent: Thursday, J

RE: 2 newbie questions

2000-06-22 Thread Jun-Kiat Lam
Hello Kevin, hi- have 2 questions: 1) i'm trying to use the metrowerks tutorial- specifically chapter 3 "adding a menu and a simple dialog." the problem is, no menu shows up. i've created a menu bar, added a menu with a menu item to the menu bar, and set the main forms menu resource to the me

Re: 2 newbie questions

2000-06-22 Thread K. Chugh
thanks for the reply. the form definitely has it's menuid set to the menubars resource id. any other ideas? thanks, kevin Jun-Kiat Lam wrote: > > Hello Kevin, > > hi- have 2 questions: > > 1) i'm trying to use the metrowerks tutorial- specifically chapter 3 > "adding a menu and a simple di

Game Orient AI Books????

2000-06-22 Thread Paul Taylor
Does anyone know of any good *SIMPLE* game oriented Artificial Intelligence books (Specifically, ones that will translate well to the Palm platform)? I've written a small Palm game but need some simple AI routines to make it any good.. Thanks, Paul -- For information on using the Palm Deve

RE: 2 newbie questions

2000-06-22 Thread Jun-Kiat Lam
Well, it works for me here :-) If you send me your complete code, I can look at it and see what I can find. Rgds, -- jkl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of K. Chugh Sent: Thursday, June 22, 2000 10:17 PM To: Palm Developer Forum Subject: Re:

Re: Game Orient AI Books????

2000-06-22 Thread Steve Sabram
Game Developer magazine has an execellent series of articles on this subject. Their web site is www.gamedeveloper.com Steve Paul Taylor wrote: > Does anyone know of any good *SIMPLE* game oriented Artificial Intelligence > books (Specifically, ones that will translate well to the Palm platf

Re: palm-dev-forum digest: June 21, 2000

2000-06-22 Thread Ray Rischpater, KF6GPE
Thanks for the speedy response. Actually, that wasn't the problem -- it _looks_ (but I'll admit I didn't do the regression testing I should before saying it's really the problem) like it doesn't work under one of the following conditions: 1) You format the media on the Macintosh as a PC volume 2)

Re: power estimation

2000-06-22 Thread Yegor Bryukhov
You'll better re-ask this question in emulator-forum ! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: power estimation

2000-06-22 Thread Douglas I. Anderson
Don't have any firm answers, but a few observations: 1. Running code from RAM may not be the same as running code from ROM. As an experiment, try using one of the programs out there to load your code into flash. Then, see if that affects your power estimates. That would be an interesting re

Re: FAQ 4 this list??

2000-06-22 Thread Dave Lippincott
Every email message posted to this group since the beginning of the year is available for review with your news reader. Every message from as far back as 4/98 is available at egroups. (both are searchable) While not all of the suggested topics are listed in the Knowledge Base, allot of them are.

Re: FAQ 4 this list?? (same post as in massena/palm.programming.CW)

2000-06-22 Thread Bradly J. Barton
Yea, and then when someone comes on and asks one of these questions, we can just rudely tell them "Read the FAQ". Seriously, all of these topics are either in the Knowledge Base or in the archives of the forum... if a person doesn't read that, what makes you think they'll read a FAQ? I, myself,

  1   2   >