Re: Trigger label changes bombing

2001-02-19 Thread Peter Epstein
At 10:40 AM 2/19/2001, Matt Mason wrote: >When I change the label on a popup trigger with this: >{ > CharPtr s = MemPtrNew(sizeof(char[MAX_ITEM_PRICE_SIZE])); > MemSet(s,MAX_ITEM_PRICE_SIZE,0); > s = StrIToA(s,qty); >CtlSetLabel(GetObjectPtr(ItemEditQtyPopTrigger),s); > MemPtrFree(s); >} >and then

disabling all buttons

2001-02-19 Thread Matt Mason
I need to disable all the buttons on the palm, including the silkscreen buttons. It sounds incredibly rude, but if you knew the app you would agree. In Prefs I can only change the app. Any suggestions? -- For information on using the Palm Developer Forums, or to unsubscribe, please see htt

How to free Memory

2001-02-19 Thread Herman Badenhorst
Hi group, if i've got the function below...how can i free the memory used by these variables? Thanks Herman static Boolean FrmSelectSupplierFormHandleEvent(EventPtr event) { Boolean handled = false; int i,x,y; FormPtr frm; FormPtr *frmNew; //a pointer to a form ControlPtr ctl; _Dy

Re: ScrDriverNew.c Line:499, Invalid Params

2001-02-19 Thread krollin
Yes, it appears that 320 is a limit. But that seems to be only for compressed bitmaps. I haven't been following this thread, so I didn't see if that was what you were using. But compressing bitmaps works with a fixed-size 40 byte buffer, so that's where the limit comes from. -- Keith Rollin

Re: arrow symbol on a button

2001-02-19 Thread Aaron Ardiri
> > why not just put the bitmap over the button? :> then, handle > > ctlSelect events on the button :) - thats how i have been doing > > it since the beginning.. > > Aaron, could you show how does that look like in the resource file? I > myself have been using the gadget approach (I guess bot

RE: automatically running app on reset

2001-02-19 Thread David Vediner
Read up on the notification manager, if you're using OS 3.5. Also look into the launch codes, namely sysAppLaunchCmdReset or something like that. Using these tools your app can be called upon certain system events. It's all laid out in the docs. -Original Message- From: herry [mailto:

Floating point numbers rounding off

2001-02-19 Thread ajitnk
Hi everybody, i am trying to add up a set of floating point numbers. but i don't want the result to be rounded off during addition. Is there any way to prevent rounding off OR do i have to use different data type ? any guesses ? Thanx Regards Ajit -- For information on using the Palm Deve

Re: Beginner to GCC and DevStudio

2001-02-19 Thread silin
Randy: Thanks. Once I followed the instructions at Falch.net I was up and running very shortly afterward. Regards, Kirk Randy Brown wrote: > > There is an installation guide for DevStudio at falch.net. Follow it and > it will help you install everything you need to get going.

Re: Do nilEvents work when a Dialog is present?

2001-02-19 Thread Aaron Ardiri
> I may be wrong but FrmDoDialog does not call your main event handler so > EvtGetEvent with your nilEvent timeout value is never getting called. > > I had an application that trapped the keyboard and HW buttons in my main > event handler. When I used FrmDoDialog, the virtual keyboard and the HW

Serial Link timeout ??

2001-02-19 Thread ajitnk
Hi everybody, i am getting this error when i debug my applciation in POSE. "CmdReadRemoteMem: error in SlkReceivePacket = Serial Link timeout. Trying to Read address 0x0" can anybody see what's the reason ? thanx Regards ajit -- For information on using the Palm Developer Forums, or to uns

RE: Trigger label changes bombing

2001-02-19 Thread Borislav Kolev
Deleting the pointer of the allocated chunk is what is surely wrong. Aside the rules set by Palm (which define how triggers/fields hold and manipulate data) there is something that should be bothering you additionally in that code: setting a simple buffer should not be that hard, right? I mean, i

Re: [?] Plugging List text into a Field

2001-02-19 Thread Alan Ingleby
You are using SDK 3.5. These types were used in earlier SDKs. #include "PalmCompatibility.h" to make SDK3.5 understand them, or change them to the new types. eg: Word -> UInt16 (just look in PalmCompatibility.h to see what changes). Regards, Alan Ingleby Systems Developer ProfitLink Consulting

Bizarre Question Answered

2001-02-19 Thread Bradly J. Barton
Ok.. (raising hand for people to slap).. I found my own answer right after I asked it... GrfSetState(false, false, true); First parm is caps lock, second is num lock, and third is shift.. since I know when I've cleared this field and when I need to do this, this function is perfect. -

editable list help

2001-02-19 Thread Jim Duffy
Hi all, I designed forms and routines to look and act like the CategoryEdit dialogs that come up when a user selects to edit a list of categories to be implemented in 5 separate popup lists in my app where a user can edit the text within these lists. The char arrays to hold these lists are stor

Bizarre Question of the Day

2001-02-19 Thread Bradly J. Barton
Ok.. here's an odd question (at least I think it is).. I have a field that is set to have Auto Shift enabled. It works just fine, of course, except that if for some reason I clear the field text programmatically.. in this case, the cursor is at the beginning of the field (as it should be), but the

RE: [?] Plugging List text into a Field

2001-02-19 Thread Richard Burmeister
> From: Randy Brown > The compiler (GCC) doesn't like "Word", "VoidHand", or "VoidPtr." > I don't know which SDK you're using, but in 3.5 those types are no longer used. In PalmCompatibility.h, you'll see that "Word" is now "UInt16", "VoidHand" is now "MemHandle", and "VoidPtr" is "MemPtr". So,

Re: How to draw a left arrow and a right arrow?

2001-02-19 Thread Edward Ye
Thanks. Could u tell me how to do this? I want to put a left arrow and right one on a repeating button. Thanks again. Rgs. Edward - Original Message - From: Holger Klawitter <[EMAIL PROTECTED]> To: Palm Developer Forum <[EMAIL PROTECTED]> Sent: Friday, February 16, 2001 5:3

Re: Trigger label changes bombing

2001-02-19 Thread Philip Sheard
> Does the Palm OS know to free the chunk itself when the control is unloaded? no. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Trigger label changes bombing

2001-02-19 Thread Neil Rhodes
on 2/19/01 10:40 AM, Matt Mason at [EMAIL PROTECTED] wrote: > When I change the label on a popup trigger with this: > { > CharPtr s = MemPtrNew(sizeof(char[MAX_ITEM_PRICE_SIZE])); > MemSet(s,MAX_ITEM_PRICE_SIZE,0); > s = StrIToA(s,qty); > CtlSetLabel(GetObjectPtr(ItemEditQtyPopTrigger),s); > MemP

Re: Trigger label changes bombing

2001-02-19 Thread Dave Lippincott
your variable 's' must exist for the life of the trigger if you're using CtlSetLabel. Also make sure the character length of 's' does not exceed the length of the original label (plus NULL). - Original Message - From: "Matt Mason" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm

Re: When not call CtlShowControl?

2001-02-19 Thread Ben Combee
"Jacky Cheung" <[EMAIL PROTECTED]> wrote in message news:39868@palm-dev-forum... > > In Palm Reference document pg.186 on CtlShowControl, it says > > "Do not use this function directly, instead use FrmShowObject..." > > Why is that? what's the problem with CtlShowControl? Among other things, CtlS

Re: POSE Suggestion

2001-02-19 Thread Jason Partyka
Ah. May I ask why? Also - you can go ahead and code this yourself if you wish, as POSE is GPL'd. -Jason Jason A. Partyka HighTower, Inc. 7301 N. Lincoln Avenue Lincolnwood, IL 60712 847.674.0081(v) 847.674.0544(f) [EMAIL PROTECTED] http://www.hightowerinc.com *

Re: Please help with ExgDBRead()

2001-02-19 Thread Danny Epstein
"ThuNguyet Nguyen" <[EMAIL PROTECTED]> wrote in message news:40254@palm-dev-forum... > /* FUNCTION:ReadFromFile */ > /* */ > /* DESCRIPTION: Call back function for exchange manager fun

locking a code resource in memory

2001-02-19 Thread george williams
So, I need to memlock a handle to a code resource which is in a prc. This memory ptr needs to persist across applications. My question is: should I copy the code resource into dynamic memory, lock it, and set its owner to the OS, or should I lock it in storage memory where it lives? It seems

automatically running app on reset

2001-02-19 Thread herry
I noticed that the security application gets executed first when you lock and reset the palm. How do you tell the OS to which application to execute the first thing on reset? By default, it goes to the Prefs application, is there any way of changing this? Herry -- For information on usin

Please help with ExgDBRead()

2001-02-19 Thread ThuNguyet Nguyen
Hi everybody, I read PRC file or PBD file from my device that connects to Palm thru the serial port, put the data in a file stream. Before, I use the data manager functions create the database in Palm it works fine. I think I can not use DmCreateDatabaseFromImage() because the database is to big

Re: arrow symbol on a button

2001-02-19 Thread Mauricio Tavares
At 08:28 PM 2/19/01 +0100, you wrote: >> You can also, place a bitmap over a gadget and catch the penDownEvent >> inside the FormHandler function. Something like this must do the work: > > why not just put the bitmap over the button? :> then, handle > ctlSelect events on the button :) - thats h

RE: FldGetTextLength (fldP) and StrLen (FldGetTextPtr (fldP))

2001-02-19 Thread Jacky Cheung
I may be wrong but I think if fldP is empty, you may get error when you do StrLen(NULL) (I have this problem before). But FldGetTextLength should work fine. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Nevai Sent: Tuesday, February 20, 2001

Re: FldGetTextLength (fldP) and StrLen (FldGetTextPtr (fldP))

2001-02-19 Thread Philip Sheard
> Are there any circumstances when > > FldGetTextLength (fldP) != StrLen (FldGetTextPtr (fldP)) yes, if the field is empty. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

FldGetTextLength (fldP) and StrLen (FldGetTextPtr (fldP))

2001-02-19 Thread Paul Nevai
Are there any circumstances when FldGetTextLength (fldP) != StrLen (FldGetTextPtr (fldP)) ??? Best regards, Paul -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Trigger label changes bombing

2001-02-19 Thread Alan Ingleby
Does the Palm OS know to free the chunk itself when the control is unloaded? Regards, Alan Ingleby "Peter Epstein" <[EMAIL PROTECTED]> wrote in message news:40235@palm-dev-forum... > > At 10:40 AM 2/19/2001, Matt Mason wrote: > >When I change the label on a popup trigger with this: > >{ > > Cha

Re: POSE Suggestion

2001-02-19 Thread krollin
> A suggestion to those with the power to do such things... That would be you (as well as every other developer on this forum)! > Sorry if this is the wrong forum for this comment... You could post it to emulator-forum, or tools-forum. > I could get slammed if there is an easy solution to

Re: When Drawing Direct To Screen slows you down...

2001-02-19 Thread Ben Combee
> I'm VERY glad you pointed that out! It's excellent news, and it means I only have to deal with all these nasty issues on 2 Palm > devices: IIIc and Prism! Finally we can get Atari ST speed out of this thing! :) What about the color Sony Clie? -- Ben Combee Veriprise Wireless

Re: Help needed with palm assembly language

2001-02-19 Thread Ken Krugler
>Hi, >I am new to 68000 assembly language and I was wondering if anyone could help >me to understand the following few lines of code. It belongs to an app, >which I am trying to make some changes in: > >I would really appreciate your help > >1652pea -4608(a5) >1656pea -4628(a5) Th

Re: Do nilEvents work when a Dialog is present?

2001-02-19 Thread Dave Lippincott
I may be wrong but FrmDoDialog does not call your main event handler so EvtGetEvent with your nilEvent timeout value is never getting called. I had an application that trapped the keyboard and HW buttons in my main event handler. When I used FrmDoDialog, the virtual keyboard and the HW buttons r

POSE Suggestion

2001-02-19 Thread Bradly J. Barton
A suggestion to those with the power to do such things.. I would really love to see the ability in POSE to change the "Palm's" time settings without changing the host computer's settings. Sorry if this is the wrong forum for this comment, but I figured by posting such a comment here I could get s

PPP socket connection horribly slow

2001-02-19 Thread Michael . Williams
Hello, I am using a PPP connection, establishing the connection rate at 33,600 BPS, and then communicating with a server via sockets. It all works, but my data transfer rate is so slow as to be ludicrous, I am able to send/receive right around 750 bytes per second. I am using an SPT 1740, stan

Re: Trigger label changes bombing

2001-02-19 Thread Philip Sheard
> When I change the label on a popup trigger with this: > { > CharPtr s = MemPtrNew(sizeof(char[MAX_ITEM_PRICE_SIZE])); > MemSet(s,MAX_ITEM_PRICE_SIZE,0); > s = StrIToA(s,qty); > CtlSetLabel(GetObjectPtr(ItemEditQtyPopTrigger),s); > MemPtrFree(s); > } > and then try to use the popup trigger o

Re: Do nilEvents work when a Dialog is present?

2001-02-19 Thread Peter Epstein
At 11:28 AM 2/19/2001, Jon Zaring wrote: >I'm trying to do some animation in a FrmDoDialog window. For some reason, >however, when the Dialog is open, the nilEvent stops occurring -- at least >in POSE. I will get a nilEvent if I click on something in Dialog, but only >once, and only after I clic

Re: ScrDriverNew.c Line:499, Invalid Params

2001-02-19 Thread Chad Harrison
OK, after many attempts at figuring out what is going on... it seems that on 3.0 and 3.1 I get the ScrDriverNew.c Line:499, Invalid Params error when trying to draw to an offscreen windows when the bitmap is larger than 320 wide. I can use just about any height, so far. I tried 320 X 320, an

Do nilEvents work when a Dialog is present?

2001-02-19 Thread Jon Zaring
I'm trying to do some animation in a FrmDoDialog window. For some reason, however, when the Dialog is open, the nilEvent stops occurring -- at least in POSE. I will get a nilEvent if I click on something in Dialog, but only once, and only after I click. The timeout on EvtGetEvent is set to 100.

RE: Urgent!!!

2001-02-19 Thread Jacky Cheung
Same, I now don't treat any "Urgent" message as urgent anymore. This is bad. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Ardiri Sent: Tuesday, February 20, 2001 4:39 AM To: Palm Developer Forum Subject: RE: Urgent!!! > I hope the folks

Re: arrow symbol on a button

2001-02-19 Thread Aaron Ardiri
> You can also, place a bitmap over a gadget and catch the penDownEvent > inside the FormHandler function. Something like this must do the work: why not just put the bitmap over the button? :> then, handle ctlSelect events on the button :) - thats how i have been doing it since the beginni

Re: arrow symbol on a button

2001-02-19 Thread German Dominguez
You can also, place a bitmap over a gadget and catch the penDownEvent inside the FormHandler function. Something like this must do the work: case penDownEvent: FrmGetObjectBounds(form, FrmGetObjectIndex(form, GadgetID), &rect); if (RctPtIn

Re: Link Error Message

2001-02-19 Thread Danny Epstein
Your idea is commonly referred to as "jump islands" or "code islands". They can be a pain to maintain, but are a valid solution to the problem. Personally, I would switch to multiple segments before resorting to jump islands, but there are cases were you need both. As mentioned in other threads, t

Trigger label changes bombing

2001-02-19 Thread Matt Mason
When I change the label on a popup trigger with this: { CharPtr s = MemPtrNew(sizeof(char[MAX_ITEM_PRICE_SIZE])); MemSet(s,MAX_ITEM_PRICE_SIZE,0); s = StrIToA(s,qty); CtlSetLabel(GetObjectPtr(ItemEditQtyPopTrigger),s); MemPtrFree(s); } and then try to use the popup trigger on the form, I get a

RE: Memory leaks

2001-02-19 Thread Jacky Cheung
To open the console window, click on Palm->Open Debug Console... then type in hd 0 and press enter. Hope this help. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Manal Milad Sent: Tuesday, February 20, 2001 2:50 AM To: Palm Developer Forum Subje

Re: Code Warrior Setting Problem

2001-02-19 Thread Ng Wei Gee
Hi! I've included the line, but it still doesn't give me the formatting colours. I've seen some other sample projects that included the file pilot.pch. What exactly is precompiled headers and how can it affect the colouring? Regards, Gee. Jun-Kiat Lam <[EMAIL PROTECTED]> wrote in message news:4

Re: arrow symbol on a button

2001-02-19 Thread German Dominguez
You can also, place a bitmap over a gadget and catch the penDownEvent inside the FormHandler function. Something like this must do the work: case penDownEvent: FrmGetObjectBounds(form, FrmGetObjectIndex(form, GadgetID), &rect); if (RctPtIn

Do nilEvents disappear when in a Dialog?

2001-02-19 Thread Jon Zaring
I'm trying to do some animation in a FrmDoDialog window. For some reason, however, when the Dialog is open, the nilEvent stops occurring -- at least in POSE. I will get a nilEvent if I click on something in Dialog, but only once, and only after I click. The timeout on EvtGetEvent is set to 100.

RE: Intranet browser

2001-02-19 Thread Borislav Kolev
If licensing the proxy server is option for you, check out www.jpsystem.com for the SureWave PQA browser. Regards, Bobby Kolev for JPSystems, Inc. www.jpsystems.com -Original Message- From: Troy C. Bleeker [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 10:39 AM To: Palm Devel

RE: Urgent!!!

2001-02-19 Thread Craig Evans
I have a couple of thoughts on the urgent issue - --- Academic/School deadlines. Why isn't project management a required 101 level course? But, students being student will leave everything to the last minute, and then their problems become everyone else's. --- Commercial/Business Project deadline

Intranet browser

2001-02-19 Thread Troy C. Bleeker
Anyone know of a web browser for palm that lets you browse inside a firewall from inside the firewall. All I've found go out to a server first and then can't see inside the firewall. The old PalmScape PR 5.0a5 does but it has limited functionality. -- For information on using the Palm Devel

Re: Code Warrior Setting Problem

2001-02-19 Thread Oscar
Dear jkl, I have already added the line #define PILOT_PRECOMPILED_HEADERS_OFF at the very beginning of my project, but still nothing change, what should I do now? p.s. I am using CW 6 and SDK 3.5. Thanks a lot! Oscar - Original Message - From: "Jun-Kiat Lam" <[EMAIL PROTECTED]> To: "Pal

Re: [?] Plugging List text into a Field

2001-02-19 Thread Randy Brown
Paul - Thanks for the rapid reply. Unfortunately, I have one more problem. (Only one, yeah... sure ;-) The compiler (GCC) doesn't like "Word", "VoidHand", or "VoidPtr." I currently have and in my #include(s). I've searched the FAQ and KnowledgeBase (yes, I'm researching before posti

RE: arrow symbol on a button

2001-02-19 Thread Richard.Johnstone
On the button field, go to the label and change it to Hex mode. Then it is just 02 for left, 03 for right -Original Message- From: S Santoso [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 11:17 AM To: Palm Developer Forum Subject: arrow symbol on a button Hi, How do I assig

arrow symbol on a button

2001-02-19 Thread S Santoso
Hi, How do I assign arrow (left or right) picture on a button? There is a font selection in a contructor program (button object), I have changed the font from standard to symbol, how do I get the arrow picture? Any help is very appreciated. Thank in advance, S Santoso -- For information on

Re: Conduit installation

2001-02-19 Thread Rich Bolen
I'm using the Conduit Development Kit for Java. Does it provide these install aides? "Brian Mathis" <[EMAIL PROTECTED]> wrote in message news:40197@palm-dev-forum... > > -BEGIN PGP SIGNED MESSAGE- > > Rich Bolen wrote: > > > How is the installation directory for a conduit determined at

Re: Conduit installation

2001-02-19 Thread Brian Mathis
-BEGIN PGP SIGNED MESSAGE- Rich Bolen wrote: > How is the installation directory for a conduit determined at install > time (for Win32 machines)? Is it from the registry? If so, which keys > are used? > > Thanks, > Rich Download the Conduit Developer Kit and use the Install Aide

Re: Urgent!!!

2001-02-19 Thread Brian Mathis
-BEGIN PGP SIGNED MESSAGE- Dave Lippincott wrote: > I don't get it... Whats up with all the 'Urgent' requests lately? > > Every question posted to this forum is 'Urgent' whether or not 'urgent' > is included in the subject. If someone can answer, they will as soon as > they read t

Re: Code Warrior Setting Problem

2001-02-19 Thread Jun-Kiat Lam
Gee and Oscar, The stationery that came with certain versions of the SDK used precompiled OS headers instead of just linking in the OS headers directly. When using precompiled headers, you do not have access to the browser information for the OS symbols such as the OS types and API function names

Re: [?] Plugging List text into a Field

2001-02-19 Thread dpw Designs
Use LstGetSelectionText to the text of a list item. pObj1 = GetObjectPtr(pForm, iListID) LstGetSelectionText(pObj1, iSelection) // Returns a pointer to the list text Then use a function like the following to place the text into your field static void SetFieldText(Word FieldId, char *Str)

Re: Implementing Links using frameless button ;-)

2001-02-19 Thread Aaron Ardiri
> I'm doing a dynamic UI application (a mini browser) > for looking at web page content on the palm. > > For implementing the links i found it easier to draw > frameless buttons and then underline them. > > There seems to be no usability issues,infact it eases > work to a great degree. > > Any

RE: Urgent!!!

2001-02-19 Thread Aaron Ardiri
> I hope the folks who benefit from having their urgent questions answered > here remember that it is good list -server citizenship to return the favor > someday and answer someone elses question. i hope so too :> there was a time where i asked some pretty stupid questions :)) as i am sur

[?] Plugging List text into a Field

2001-02-19 Thread Randy Brown
Hello - Can someone point me to example code for transferring the contents of a selection from a List into a field? The list is on one form, and the field is on another. I know there's some memory management hoops to jump, but haven't been able to leap them yet. TIA. [rb} http://www.randybro

Conduit installation

2001-02-19 Thread Rich Bolen
How is the installation directory for a conduit determined at install time (for Win32 machines)? Is it from the registry? If so, which keys are used? Thanks, Rich -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/for

Implementing Links using frameless button ;-)

2001-02-19 Thread Nitin Nangia
Hi All, I'm doing a dynamic UI application (a mini browser) for looking at web page content on the palm. For implementing the links i found it easier to draw frameless buttons and then underline them. There seems to be no usability issues,infact it eases work to a great degree. Any comments o

RE: Form loading

2001-02-19 Thread Mitch Fawcett
Here is how I understood your scenario: You return to your main form no matter whether you tap OK or Cancel on the modal form. The only difference is that if you tap OK you want some data to be processed and if you tap Cancel you don't want the data to be processed. If that's about right, then y

RE: Urgent!!!

2001-02-19 Thread Mitch Fawcett
I hope the folks who benefit from having their urgent questions answered here remember that it is good list -server citizenship to return the favor someday and answer someone elses question. Mitch Fawcett Tapn'see Software Home of SuperList2 http://www.tapnsee.com > -Original Message- >

RE: Form loading

2001-02-19 Thread Richard Anderson
Hi, I use FrmPopupForm to popup modal dialogues ontop of normal forms. To return I use FrmReturnToForm (MainForm); - if you replace main form with 0, you go back to the last form (be carfull if you have more than one form open though, as I think you actually go back to the first opened

Urgent!!!

2001-02-19 Thread Dave Lippincott
I don't get it... Whats up with all the 'Urgent' requests lately? Every question posted to this forum is 'Urgent' whether or not 'urgent' is included in the subject. If someone can answer, they will as soon as they read the message. -- For information on using the Palm Developer Forums, or

Form loading

2001-02-19 Thread Manal Milad
Here is the scenario: Most of the time, I have only one form displayed, let's call it MainForm. I can select different menu items and each will display a modal form. If I select OK, I want to get rid of the new modal form and redraw the MainForm again (some data will be updated). If I select can

RE: Memory leaks

2001-02-19 Thread Richard Anderson
Rely on the debug ROMS, normal ROMS dont show you the errors. Any errors shown up by the debug ROMS need fixing. Rik > -Original Message- > From: Manal Milad [SMTP:[EMAIL PROTECTED]] > Sent: 19 February 2001 13:50 > To: Palm Developer Forum > Subject: Memory leaks > > 1. I have m

Memory leaks

2001-02-19 Thread Manal Milad
1. I have memory leaks, but I cannot find out why. I don't have a real device yet, I am using Pose to test. Can I use the console window and hd 0 to figure out where the memory leaks are? If yes, how, because I looked in several places and all say open the console window, but they never say how.

Web clipping app!

2001-02-19 Thread p_ban75
hi, can anyone give me the code for an internet connection using web clipping.I want the c programming code.My ui consist of a form ,text field and a button.in the text field i want to enter the url and when i click the button i should be able to get the page and display it. thanxs anyway. --

RE: HotSync settings

2001-02-19 Thread Fergal Moran
In this case I would look for a server based synchronisation method using something like scout synch or extended connect. You can do everything that you can do using hotsync but from a more centralised location. It is far more expensive but will work out cheaper in the end with saved administrat

Strange problem

2001-02-19 Thread Stringer
>Subject: Strange problem >From: "Ng Wei Gee" <[EMAIL PROTECTED]> >Date: Mon, 19 Feb 2001 05:15:44 +0800 > char *qwe; > ... > ... > ... > StrIToA (qwe, SysRandom(0)); Not a strange problem, just a basic C language problem. Change "char * qwe;" to "char qwe[21];" You shouldn't be writing to

Re: HotSync settings

2001-02-19 Thread Gordon, Douglas
>From: "DesertHajah" <[EMAIL PROTECTED]> >I need to deploy the Palm Desktop (hotSync Manager) on a large firm. >All computers run NT Workstation (soon Win2k), and each have their own >hardware configuration. This configuration is known and well documentated. >I need a way of remotely setting the

string tokenizer question

2001-02-19 Thread Stringer
>Subject: string tokenizer question >From: "Laor, Boaz" <[EMAIL PROTECTED]> >Date: Sun, 18 Feb 2001 15:49:07 -0500 >I am trying to use StrStr to find a string within a subsrting, but the >porgram crashes, what could be wrong? is it that i don't have a null pointer >at the end? what is the correc

error message

2001-02-19 Thread Herman Badenhorst
what does this error message mean? "MemoryMgr.c, Line. 4359, Free Handle" thanks Herman -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: ScrDriverNew.c Line:499, Invalid Params

2001-02-19 Thread Chad Harrison
> >---this is where 3.0,3.1,3.2 crashes--- >> WinDrawBitmap(bitmapP, 0, 0); > > what type of bitmap are you drawing? specifically, what depth? 1 bit. about 400 X 300. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tec

Re: Beginner to GCC and DevStudio

2001-02-19 Thread Randy Brown
There is an installation guide for DevStudio at falch.net. Follow it and it will help you install everything you need to get going. If you are looking for information about programming on PalmOS, there are several books available, as well as details on the PalmOS site. >Is there a quick refe

RE: Mem Leaks

2001-02-19 Thread Su
Fergal Thanx a lot for explaining in so detail. Su --- Fergal Moran <[EMAIL PROTECTED]> wrote: > In its most basic - a memory leak is when you > allocate memory and do not > free it afterwards > > ie. > int foo(){ > char* pszTmp = new char [5000]; //allocate memory > for pszTmp > do_som

Re: Consistent crashes

2001-02-19 Thread Philip Sheard
Sorry, it was very late at night when I last looked at your code. Try this: // if (FldGetTextLength(pCtlField)>0) // wrong test hText=FldGetTextHandle(pCtlField); if(hText) { FldSetTextHandle(pCtlField,NULL); pText=(CharPtr)MemHandleLock(hText); if(*pText) addNote(pText,ADD_N

RE: Mem Leaks

2001-02-19 Thread Fergal Moran
In its most basic - a memory leak is when you allocate memory and do not free it afterwards ie. int foo(){ char* pszTmp = new char [5000]; //allocate memory for pszTmp do_some_stuff; return 0; } will cause a memory leak whereas int foo(){ char* pszTmp = new char [5000]; //allocate memor

Mem Leaks

2001-02-19 Thread Su
Hello.. Can somebody explain me exactly whats this 'Memory Leak'. And what causes this ??? Thanx all Su __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ -- For information

Seeking help for HackMaster API

2001-02-19 Thread Dodphen
Hello, Are there any books or websites which are helpful for studying HackMaster API? I would like to have some materials which are easier to be understood since I don't know too much about it. Thanks Dodphen -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: urgent help required:Palm Errorx 0201 (dmErrmemError)

2001-02-19 Thread sreekant b
oonakku pollepey illaiyaa dai kalieelj paiya --- ajitnk <[EMAIL PROTECTED]> wrote: > Hi everybody, > > I am get this error in the POSE when i am trying to > install the PRC. > "Could not install Palm OS file because palm Os > error )x0201 (dmErrmemError) > occured". > > i have no idea why i am

Re: urgent help required:Palm Errorx 0201 (dmErrmemError)

2001-02-19 Thread sreekant b
oothi moodittu pooiii cheruda sreek --- ajitnk <[EMAIL PROTECTED]> wrote: > Hi everybody, > > I am get this error in the POSE when i am trying to > install the PRC. > "Could not install Palm OS file because palm Os > error )x0201 (dmErrmemError) > occured". > > i have no idea why i am getting th

Re: DmWriteCheck failed

2001-02-19 Thread Philip Sheard
> I have a big problem for my palm program. in my program, I let user input two field and save the value into the database. > > but it always show "DmWrite:DmWriteCheck failed" when I insert a longer value than before into the database. how can I handle this? DmResizeRecord() -- For inform

urgent help required:Palm Errorx 0201 (dmErrmemError)

2001-02-19 Thread ajitnk
Hi everybody, I am get this error in the POSE when i am trying to install the PRC. "Could not install Palm OS file because palm Os error )x0201 (dmErrmemError) occured". i have no idea why i am getting this error. couldn't find much info in the documentation. can anybody help me out please. th

Re: DmWriteCheck failed

2001-02-19 Thread krollin
1. Call DmWriteCheck yourself to see what error code it returned. It can return dmErrNotValidRecord, dmErrWriteOutOfBounds, or errNone. Determining what it thinks the problem is might help. 2. If it returns dmErrNotValidRecord, the pointer you're passing in to DmWriteCheck is invalid. This co