Alarm + globals?

2002-05-07 Thread Wischnewski, Berndt
Hi List people, just to excuse my maybe silly questions, I am new to palm programming. I am developing a diary program at an psychological institute in Berlin. The program should come up several times a day, and then the subject should answer questions. So far I thought that an Alarm, maybe, or

RE : How do i debug shared libraries?

2002-05-07 Thread Dinesh Kumar
Hai Nihar, i'm not sure if debugging the Shared Lib is possible or not But yes, you can load the netllib shared library in your shared library You can wrap the NetLib functions in ur SharedLib Functions for Loading ,Opening and Closing of the NetLib. For making a TCP Connection you can

RE: RE : How do i debug shared libraries?

2002-05-07 Thread Waseem Anis
Shared libraries can be debugged by specifying the host application(.prc) in the Project Settings -Target -Runtime Settings. Luck, Waseem. -Original Message- From: Dinesh Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 1:23 PM To: Palm Developer Forum Cc: [EMAIL PROTECTED]

Form Resize in run time

2002-05-07 Thread cpssband cpssband
Hi, is there any way or any form function i can use to re-adjust the width, height, left origin, top origin, . during the run time of my palm application ... i use Code Warrior to code my palm application .. i tried to frm.Width = 150 , but, it gives me an error thanks chong keng woon

Disable Keyboard Coming Out

2002-05-07 Thread cpssband cpssband
Hi, i am using Handspring Visor Prism PDA .. i want to disable the keyboard from coming out when user tap the 123 or abc on the PDA ... is there anyway i can code it in Code Warrior ...? thanks __ Do You Yahoo!? Yahoo! Health - your guide to health

loopback problem using serial manager

2002-05-07 Thread sunita rawat
Hi All, I am using serial manager but i am facing a problem regarding loopback. I want to run a small program in emulator. But i am getting nothing on the receiving side. Can anyone help me? After going through forums and knowledge base, i understood that usinf serial manager and ir we can

FloatManager

2002-05-07 Thread Rafail Mladenov
Hello all, I'm trying to do this: FlpCompDouble fPrice, fTotal,fQuantity; fTotal.fd = fQuantity.fd * fPrice.fd ; ... And I receive: Error : illegal operand I'm using CodeWarrior 8 Can someone tell me where did I go wrong ? Please help! thanks in advance for any help. Raffo --

Re: Disable Keyboard Coming Out

2002-05-07 Thread robert20155
In your event loop, throw away the keyboard events. Like this: static void EventLoop (void) { UInt16 error; EventType event; do { EvtGetEvent (event, evtWaitForever); if (event.eType == keyDownEvent) { if (event.data.keyDown.modifiers commandKeyMask) {

Memory Leak in table Load function

2002-05-07 Thread Amit Kalekar
Hello All, I have implemented the TableLoadDataFuncType function to draw the textItem of the table. I am drawing the text elsement from the gloabl array g_pAcceptDataSet. It is working fine, but it gives me the memory leak error for the pszField . So Memeory allocated through the MemHandleNew is

Re: FloatManager

2002-05-07 Thread Dave Lippincott
Anything wrong with using floats or doubles? (direct mathematic operations are not supported with the old float manger routines) float fPrice, fTotal,fQuantity; fTotal = fQuantity * fPrice; However, if you are working with monetary units you will be better off using integers. You will notice

Hack and Comand Bar

2002-05-07 Thread Mike McCollister
Hi, Does anyone know how to have a hack add a bitmap or two to the command bar and have it respond to the pressing of that bitmap? Right now I can trap SysHandleEvent and check for eventP-eType == menuCmdBarOpenEvent. However, I'm not sure how to handle the MenuCmdBarAddButton in a hack.

Re: 2 version strings

2002-05-07 Thread Ralph Krausse
To Chris Tuddy, actually you aren't high jacking this thread, that is the question I wanted to ask. How do I change both version numbers programmatically? That is exactly what I want to do. Here is my scenario. We have replaced HotSync with our own version. It sync's over data, pdbs and prcs

Re: Table checkboxes

2002-05-07 Thread Joe
--- Nihar Desai [EMAIL PROTECTED] wrote: I have tables wherein there is a column of checkbox and the other columns are label items. Now I have to read the rows where the user has ticked the check boxes. When the user selects a checkbox, your app gets a tblSelectEvent. You should store

Re: 2 version strings

2002-05-07 Thread Joe
--- Ralph Krausse [EMAIL PROTECTED] wrote: How do I change both version numbers programmatically? The version number is a resource with type 'tver' and ID of 1 or 1000 (one app can have both, but most just use 1000). Open the prc, get a handle with DmGetResource(), lock it down, modify it,

Re: Alarm + globals?

2002-05-07 Thread Joe
--- Wischnewski, Berndt [EMAIL PROTECTED] wrote: The program should come up several times a day, and then the subject should answer questions. So far I thought that an Alarm, maybe, or not with an Attention would be a good idea. But after the alarm, my application comes up with an

Re: Disable Keyboard Coming Out

2002-05-07 Thread Joe
--- cpssband cpssband [EMAIL PROTECTED] wrote: i want to disable the keyboard from coming out when user tap the 123 or abc on the PDA ... Intercept the vchrKeyboard, vchrKeyboardAlpha, and vchrKeyboardNumeric virtual keys right after EvtGetEvent() in your app's event loop.

Re: Form Resize in run time

2002-05-07 Thread Ben Combee
In article 85746@palm-dev-forum, [EMAIL PROTECTED] says... Hi, is there any way or any form function i can use to re-adjust the width, height, left origin, top origin, . during the run time of my palm application ... i use Code Warrior to code my palm application .. i tried to

Re: 2 version strings

2002-05-07 Thread John Marshall
On Tue, May 07, 2002 at 07:16:21AM -0700, Joe wrote: The version number is a resource with type 'tver' and ID of 1 or 1000 (one app can have both, but most just use 1000). [...] Well, there's a million and one now :-) John -- For information on using the Palm Developer Forums, or to

Re: 2 version strings

2002-05-07 Thread Ben Combee
In article 85757@palm-dev-forum, [EMAIL PROTECTED] says... Recently we had to change the way we sent the new version over because of the 64K limit. Now I need to know how to programmatically change the version and name that is set with constructor. So in short (I know I haven't been), I

Re: 2 version strings

2002-05-07 Thread Ben Combee
In article 85733@palm-dev-forum, [EMAIL PROTECTED] says... Alternatively, is it a problem if the prc database version number (set using the PalmRez settings) panel is the same for all prc's? The PRC database version field is an increasing value: usually, you either always leave this as 1, or

Re: Hack and Comand Bar

2002-05-07 Thread Ben Combee
In article 85756@palm-dev-forum, [EMAIL PROTECTED] says... Hi, Does anyone know how to have a hack add a bitmap or two to the command bar and have it respond to the pressing of that bitmap? Right now I can trap SysHandleEvent and check for eventP-eType == menuCmdBarOpenEvent. However,

RE: Again C++ in Shared Lib using CW

2002-05-07 Thread Scott Johnson
From: Ben Combee [mailto:[EMAIL PROTECTED]] inline void operator delete (void *ptr) { MemPtrFree (ptr); } Doesn't this require an if (ptr != 0) test first? I don't believe the compiler generates that test for you at the point of call. -slj- -- For information on using the Palm

RE: Dumping .RSRC to .R

2002-05-07 Thread Scott Johnson
From: Ben Combee [mailto:[EMAIL PROTECTED]] Actually, it isn't [a bug in UIResDefs.r in the SDK]... its more of a bug in DeRez. The reason that UIResDefs.r has the align word is because the various resources that get assembled into the 'tFRM' need to be even-aligned Oops yes, now I more

Re: 2 version strings

2002-05-07 Thread John Marshall
On Tue, May 07, 2002 at 04:50:05PM +1200, Chris Tutty wrote: From: Danny Epstein [EMAIL PROTECTED] http://www.escribe.com/computing/pcpqa/m47007.html There are a million messages explaining how to set the tver 1 and 1000 resources but I can't find any information on how to change the

RE: RE : How do i debug shared libraries?

2002-05-07 Thread Akhilesh Singh
You'll need CW8 for that, I dont know about CW7, but CW6 does not support Debugging Shared Libs. -AS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Waseem Anis Sent: Tuesday, May 07, 2002 1:29 PM To: Palm Developer Forum Subject: RE: RE : How do i

Getting keyDown input for a gadget

2002-05-07 Thread Dave Brown
Hi- I'm writing a Gadget that needs to take keyboard input and for some reason I can't seem to figure out a way to get the keyDown event. From the docs I don't see what else I should do. Ideas? The Gadget is an edit control that can left, center, right justify text and change font. Is there a

Re: Memory Leak in table Load function

2002-05-07 Thread Holger Klawitter
I am drawing the text elsement from the gloabl array g_pAcceptDataSet. It is working fine, but it gives me the memory leak error for the pszField . So Memeory allocated through the MemHandleNew is not being able to delete for all the columns. Can anybody is having idea how to free the memory

Re: VFS Format

2002-05-07 Thread David Fedor
I have tried on emulator and it seems it does not perform format. So I want to try on the real Palm. What's the crash looks like? What does a debugger tell you? It produce an error which is not listed in the error list. Then it crashes my application and return back to the main menu.