Re: global var access during alarm launch

2001-06-22 Thread Steve Mann
>>I now realize that (of course) you are correct and I can hit >>the database and >extract the information I need. but I'm worried about spending >too much time >performing these actions in response to a sysAppLaunchCmdAlarmTriggered >launch code. According to the documentation, one shou

Re: How to generate 3 notes consecutively?

2001-06-22 Thread Aaron Ardiri
> > POSE != real thing :) especially when dealing with graphics speed > > and sound :P > > I can see that debugging Liberty must have given you an extreme headache > then! :p when dealing with sound - we did our testing on the real devices :) sound was very easy tho, we played 1 sound ev

Re: global var access during alarm launch

2001-06-22 Thread Dan Samber
I now realize that (of course) you are correct and I can hit the database and extract the information I need. but I'm worried about spending too much time performing these actions in response to a sysAppLaunchCmdAlarmTriggered launch code. According to the documentation, one should not pe

Re: How to generate 3 notes consecutively?

2001-06-22 Thread Ng Wei Gee
Hi Aaron, > > When I test it on the emulator (with sound enabled), it played all 3 notes > > fine. However, when I test it on a real device, only 1 note gets played. Am > > I doing things correctly? Or what other things should I do? Any help is > > greatly appreciated, thanks! > POSE != real th

Re: How to generate 3 notes consecutively?

2001-06-22 Thread Ng Wei Gee
Hi, > When you use sndCmdFrqOn, the meanings of the parameters are not what you > seem to expect. (You probably meant to use sndCmdFreqDurationAmp.) For > sndCmdFrqOn: > > param1 = MIDI key index (0-127) > param2 = maximum duration in milliseconds > param3 = velocity (0 to 127) to be interpolat

How to detect memory leaks

2001-06-22 Thread Jeff Ishaq
Hi folks. I wrote a memory leak detection tool for my own use as a consultant, and I have since published an article about it. I haven't had a chance to get it into the PalmOS knowledge base yet, but you can still download the source code for the tool and use it immediately: http://www.ddj.com/

Re: m500 - Win NT 4 and USB

2001-06-22 Thread bdlynn
Just a note to this discussion. I found out from Code Warrior that I can't debug on the device using a usb cradle so have to get a second serial cradle to do development regardless of operating system. My device is an m500. So the operating system didn't help much there. Also, you might remember t

Re: Receiving beam doesn't call sysAppLaunchCmdGoTo

2001-06-22 Thread Danny Epstein
(This is more of a comm-dev-forum kind of thing.) You have to set the goToCreator field of the ExgSocketType when you get the sysAppLaunchCmdExgReceiveData sublaunch. You probably also need to set the goToParams field (which is another struct). The goToCreator field determines which application

Re: Table not displaying. Newbie not getting it...

2001-06-22 Thread Andres . Ramirez
put this line before the for bucle TblSetColumnUsable (pTable, 0, true); let me know if it works Greetings Andres ps: u could take a look at the palm examples (Address) Scott Herman <[EMAIL PROTECTED]> on 06/22/2001 05:18:12 PM Please respond to "Palm Developer Forum" <

Netlib & the output Buffer

2001-06-22 Thread Andres . Ramirez
i'm using the Berkeley Library (CW 6) , using Sockets The problem is: 1.- I have a form with a send button, 2.- Every time I write in the TextField and tap the button. The program sends that Text to the server (nwritten = write(shoSocketNumber, strP, nleft);). I do this process four times. So

Table not displaying. Newbie not getting it...

2001-06-22 Thread Scott Herman
Just learning Palm API. I've got a little app framework which is supposed to display some test data in a single column table, but it's just not working. Here's my table loading function... PRIVATE BOOL LoadLookupTable(FormType *pForm) { TableType *pTable = NULL; int row = 0,

Re: POSE 3.2 on the Mac

2001-06-22 Thread Keith Rollin
I didn't reply before, because I know I've addressed it many times before. However, the only thing I could find in our stellar archives searching for "tick" or "TimGetTicks" was: http://www.escribe.com/computing/pcpqa/m5135.html While still true, you may not have believed it, since it

Re: Dynamic List Content?

2001-06-22 Thread Essell
i don't believe i've gotten sooo dumb !! I just didn't notice the 'itemNum' parameter passed to my draw function .. guess i was blind or something !! anayways that solved all my problems .. sorry to bother u guys unneccessarily !! thanks for all the help anyways .. -- For information on u

RE: Dynamic List Content?

2001-06-22 Thread Scott Johnson (Bellevue)
> From: Essell [mailto:[EMAIL PROTECTED]] > when the user scrolls the list, currItem keeps on getting > incremeneted & then the function references unallocated > memory & my application goes for a toss. Don't have that currItem variable. The itemNum parameter to your draw function tells you whi

Re: Dynamic List Content?

2001-06-22 Thread Essell
Thanks so much Neil .. my problem is kinda different though .. see i have a char** which is an array of strings that i want the list to display. but i want each list item to be displayed with a bitmap by its side. thats why i decided to use the LstSetDrawFunction. This is the gist of what i'm do

RE: Problem with the Palm ROM Builder

2001-06-22 Thread Richard Burmeister
> From: Ralph Krausse > > I have created my own ROM and want to burn them. I did with one palm and > tested. I thought what would happen is that the prc's I loaded > onto the ROM > would be download to normal memory from flash upon a hard reset. In fact > they aren't. I say this because I try to d

RE: Problem with the Palm ROM Builder

2001-06-22 Thread Peter Epstein
On devices with flash ROM (as opposed to mask ROM), you can write to the flash memory using suitable tools. This memory, as well as the volatile RAM, are attached to the processor and accessed directly in the usual way. Of course, the flash ROM has a different range of addresses than the volatile

Problem with the Palm ROM Builder

2001-06-22 Thread Ralph Krausse
I have created my own ROM and want to burn them. I did with one palm and tested. I thought what would happen is that the prc's I loaded onto the ROM would be download to normal memory from flash upon a hard reset. In fact they aren't. I say this because I try to delete them and they don't appear i

Re: overwrite ROM

2001-06-22 Thread Ricardo Costa Contin - PALM
any application can be notified by a reset or others events. see sysnotify and launch codes. Ricardo Contin Brazil. - Original Message - From: "Rania Saymeh" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 3:45 PM Subject: overwrite ROM >

overwrite ROM

2001-06-22 Thread Rania Saymeh
hi, is there a way to over write/ write to your ROM to get a certain application to start on ur reset? I guess the Palm ROM is a Flash ROM which probably makes it a little different from ROM, and more like a BIOS? any comments?? thanx! -- For information on using the Palm Developer Forums,

Re: We see no English in our Palm Database!

2001-06-22 Thread Jim Schram
At 1:55 PM -0400 2001/06/22, [EMAIL PROTECTED] wrote: >We are trying to save our field's text in a databse as different records and we are >using a program called "Insider" to let us view the database's data and we know our >data is being saved in the record because our data changes each time bu

Re: avoid PopUp Contrast form and clock form

2001-06-22 Thread Jim Schram
At 11:51 AM +0800 2001/06/22, [EMAIL PROTECTED] wrote: >What are their virtual key events? Look in Chars.h for vchrContrast, vchrBrightness, and other virtual key event definitions. As for the virtual characters used to initiate the popup clock application in Palm's m-series products, the valu

RE: We see no English in our Palm Database!

2001-06-22 Thread Richard.Johnstone
Click on the ascii button and that is the best you can get from it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 1:55 PM To: Palm Developer Forum Subject: We see no English in our Palm Database! We are trying to save our f

Re: Program in flash

2001-06-22 Thread Brian Mathis
On Fri, 22 Jun 2001, Doug Broadwell wrote: > Is it possible to load an application program in the Flash memory (I am > assuming that they normally reside in Ram and would be lost upon an extended > dead battery condition - am I wrong in my assumption?). > > Thanks, Doug Broadwell You can use Flas

We see no English in our Palm Database!

2001-06-22 Thread DrumBSF
We are trying to save our field's text in a databse as different records and we are using a program called "Insider" to let us view the database's data and we know our data is being saved in the record because our data changes each time but how do we get english words to show up? Th

RE: Creating .pdb's externally.

2001-06-22 Thread Steve Mann
>JC>>Ahah! (the lights go on) So when I see these databases on PalmGear like >"The Complete 2001 Baseball Schedule" someone has taken the raw data >(in Excel maybe) and generated a CSV with which they might use your tool >to get it into a Palm DB and then write some code around it to view the da

OEM PalmOS devices ?

2001-06-22 Thread Denis Faivre
Does anyone know if it is possible to get PalmOS devices as OEM parts, typically the m100 without its case, that could be integrated in another machine ? Thanks in advance, -- Denis Faivre - [EMAIL PROTECTED] -- Ablivio - http://www.ablivio.com -- For information on using the Palm Developer

Re: How to generate 3 notes consecutively?

2001-06-22 Thread Aaron Ardiri
> I'm trying to get my app to play 3 notes (something like the Hotsync when it > starts and ends). I've the following code: > > SndCommandType snd; > > snd.cmd = sndCmdFrqOn; > snd.param1 = 2400; > snd.param2 = 150; > snd.param3 = sndMaxAmp; > SndDoCmd(NULL, &snd, false); > > snd.

RE: Creating .pdb's externally.

2001-06-22 Thread John J. Corelli
>The question I have regarding this subject, and your product, is that >if I put together an application which would require the user to import >their own CSV database, (using p-rad for example), how would I >distribute the app without p-rad? Sorry, that wasn't clear from your initial question

Receiving beam doesn't call sysAppLaunchCmdGoTo

2001-06-22 Thread S Boedecker
Hi, Looking at the Palm OS Programming Bible, it says that a application handheld on the receiving end of a beam will have the sysAppLaunchCmdGoTo launch call sent to it after the sysAppLaunchCmdExgReceiveData has completed. I am returning a 0 in PilotMain after processing sysAppLaunchCmdExgRece

RE: Creating .pdb's externally.

2001-06-22 Thread Hal Mueller
At 10:02 AM -0700 6/22/01, Steve Mann wrote: >You might want to look at JFile, FileMaker, HandiBase, and other >similar tools if their feature sets and UI components would work for >you. Perhaps they have APIs (FileMaker doesn't) that you can use to >access databases created by them in a C-base

RE: Text in selector trigger

2001-06-22 Thread Ray Marshall
That's exactly what you want to do. As long as you don't copy a string that is longer than the original string, you're in good shape. Do a CtlGetLabel to get a pointer to the original string, copy your string into the buffer and call CtlSetLabel to update it. //Ray -Original Message- From

RE: Creating .pdb's externally.

2001-06-22 Thread Steve Mann
>The question I have regarding this subject, and your product, is that >if I put together an application which would require the user to import >their own CSV database, (using p-rad for example), how would I >distribute the app without p-rad? Sorry, that wasn't clear from your initial question (o

RE: We have read the docs!

2001-06-22 Thread Robert McKenzie
Sorry, Scott, but your comment is simply wrong. The format of the DmWrite call is Err DmWrite( void *recordP, // destination UInt32 offset, // offset within destination const void *srcP, // source UInt32 bytes) // number of bytes t

RE: Blink On! Blink Off! Blick On!

2001-06-22 Thread Richard Burmeister
> From: Jim Garozzo > > Is it possible to make anything blink writing code on a Palm? I mean > without creating a timer and turning on the label/button/etc and then off > controlling the blinking manually? > You want to write code to make text blink without using a timer? Unless the hardware ca

POSE 3.2 on the Mac

2001-06-22 Thread Paul Nevai
I reported this to a couple of places but rec'd no feed back... I noticed that POSE 3.2 on the Mac has significantly slowed down. As if the internal clock was slowed down. For instance, this code startedTicks = TimGetTicks (); while (TimGetTicks () < startedTicks + 100)

RE: Bitmap Family and Color

2001-06-22 Thread Richard Burmeister
> From: Nicholas Pleis > > BITMAPFAMILY ID 1001 "" "" "" "TableBackground.bmp" > > resulted in a properly color bitmap. Is this just the > way it is? > When Palm added support for color bitmaps, they wanted to make it easy for programmers to create one resource that could handle the various bit

Text in selector trigger

2001-06-22 Thread Francisca Sepulveda
Hi all I want to use CtlSetLabel to set the text in a selector trigger. I understand I have to manage the string memory allocation myself. And FYI, I'm using CodeWarrior as my dev tool. What I'd like to know is: where is the original string that is set in Constructor for that selector trigger st

Re: Blink On! Blink Off! Blick On!

2001-06-22 Thread Phillip Streck
i don't believe so Philip Streck Akron General Medical Center Information Systems >>> "Jim Garozzo" <[EMAIL PROTECTED]> 06/22/01 12:15PM >>> Is it possible to make anything blink writing code on a Palm? I mean without creating a timer and turning on the label/button/etc and then off controlling

Re: We have read the docs!

2001-06-22 Thread Scott Herman
There is no association between newRecord & newRecordPtr. newRecordPtr refererences your record, but you're writing your data to newRecord which is NOT what newRecordPtr references. At 10:53 AM 6/22/01 -0400, [EMAIL PROTECTED] wrote: > We have read the docs and we have a question

Blink On! Blink Off! Blick On!

2001-06-22 Thread Jim Garozzo
Is it possible to make anything blink writing code on a Palm? I mean without creating a timer and turning on the label/button/etc and then off controlling the blinking manually? Thanks! Jim -- ** James P. Garozzo - Connectivity Engine

Re: Database Help

2001-06-22 Thread Steve Mann
>That make sense - I have tried the fix you suggested, and get the error >"incompatible type for argument 3 of DmWrite" So I guess it doesn't like >that. It only seems happy when I have &map[i]. That's a C/compiler issue. Try DmWrite (newRecordP, 0, ( Char * ) *map[i], sizeof( Map )); If you

RE: How to generate 3 notes consecutively?

2001-06-22 Thread Richard Burmeister
> From: Ng Wei Gee > > SndCommandType snd; > > snd.cmd = sndCmdFrqOn; > snd.param1 = 2400; > snd.param2 = 150; > snd.param3 = sndMaxAmp; > SndDoCmd(NULL, &snd, false); > > snd.cmd = sndCmdFrqOn; > snd.param1 = 1500; > snd.param2 = 100; > snd.param3 = sndMaxAmp; > SndDoCmd(NU

RE: Creating .pdb's externally.

2001-06-22 Thread John J. Corelli
Steve (or anybody) - The question I have regarding this subject, and your product, is that if I put together an application which would require the user to import their own CSV database, (using p-rad for example), how would I distribute the app without p-rad? For these types of utilities, what i

Bitmap Family and Color

2001-06-22 Thread Nicholas Pleis
Do I HAVE to specify a bitmap as part of a bitmap family if I want to use color bitmaps in my application? I attempted to specify a resource like: BITMAP ID 1001 "test.bmp" Assuming that it would be saved with it's color information intact. Any effort to force it to work properly failed, howeve

Program in flash

2001-06-22 Thread Doug Broadwell
Is it possible to load an application program in the Flash memory (I am assuming that they normally reside in Ram and would be lost upon an extended dead battery condition - am I wrong in my assumption?). Thanks, Doug Broadwell -- For information on using the Palm Developer Forums, or to unsu

Rotating display

2001-06-22 Thread Doug Broadwell
Does anyone know if there is an easy way to rotate the display (graphics and text) 90/180/270 degrees? Thanks, Doug Broadwell -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: We have read the docs!

2001-06-22 Thread Richard Burmeister
> From: [EMAIL PROTECTED] > > We have read the docs and we have a question on how > o save the text in our field. This is our code. > > gDb=DmOpenDatabaseByTypeCreator(yourdbtype,yourapptype,dmModeReadWrite); > if(! gDb) >DmCreateDatabase(0,yourdbname,yourapptype,yourdbtype,false); > DmOpenDat

Re: Popping up forms and events flow

2001-06-22 Thread Dave Lippincott
If there are no controls on the form, you could just use a bitmap instead of a form. Save an area of the screen, draw you bitmap, do your processing, restore the screen. - Original Message - From: "Ben Combee" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EM

How to generate 3 notes consecutively?

2001-06-22 Thread Ng Wei Gee
Hi all, I'm trying to get my app to play 3 notes (something like the Hotsync when it starts and ends). I've the following code: SndCommandType snd; snd.cmd = sndCmdFrqOn; snd.param1 = 2400; snd.param2 = 150; snd.param3 = sndMaxAmp; SndDoCmd(NULL, &snd, false); snd.cmd = sndCmdFr

RE: We have read the docs!

2001-06-22 Thread Robert McKenzie
Seems like a simple typo to me. The first DmWrite: DmWrite(newRecordPtr,0,&newRecord,sizeof(newRecord)); copies all of newRecord into the database record. The second DmWrite: DmWrite(newRecordPtr,0,(CharPtr) &newRecord->serialnum,sizeof(newRecord)); overwrites the databas

Re: We have read the docs!

2001-06-22 Thread Aaron Ardiri
you know.. maybe you dont intend to come across the way you do, but you should take more care in regards to how you "demand" answers for certain things.. we've all been in your position - AND - we managed to pull through it, without being a nightmare to others :) try again - and re

We have read the docs!

2001-06-22 Thread DrumBSF
We have read the docs and we have a question on how o save the text in our field. This is our code. gDb=DmOpenDatabaseByTypeCreator(yourdbtype,yourapptype,dmModeReadWrite);

coversion from serial to USB

2001-06-22 Thread Mario Manente
hi, I have a Visor with a serial interface application which i want to convert to use USB. Does anybody have any examples or more information on how to do this. Also any ideas on how it works on the PC and a example if possible. thanks -- For information on using the Palm Developer Forums, or

RE: PALM types Versus ANSI ??

2001-06-22 Thread Richard Burmeister
> From: Rick Gadbois > > What are the advantages/disadvantages to using the built in palm > data types > as opposes to ansi? > The main advantages are: 1. The Palm types include useful info in the name. E.g., Int16 is going to be 16 bits. Is int 8, 16, or 32? (The name gives you no clue, unles

RE: Whoever thought up c++ should be shot!!!

2001-06-22 Thread Richard Burmeister
> From: [EMAIL PROTECTED] > Subject: Whoever thought up c++ should be shot!!! > > How do you define the fields in a database? Do you use records? > Please help. The only book we have on the subject doesn't show > how to define fields in a database, it just assumes we already > defined them. > P

Re: global var access during alarm launch

2001-06-22 Thread Dan Samber
Whoops! You're right (of course).. I feel stupid.. Dan "Eric W. Sirko" wrote: > > In order to determine the next alarm, I need to access information that is > > normally kept in global variables, but I (of course have no access). > > Global variables do not survive the termination of y

Re: Popping up forms and events flow

2001-06-22 Thread Ben Combee
"Phil Hodge" <[EMAIL PROTECTED]> wrote in message news:53926@palm-dev-forum... > > Hello all, > > I have the following scenario: I would like to pop up a modal form with no > buttons on it (so it can't be a conventional FrmDoDialog which is dismissed > by a button click). I need it to say somethi

Re: Database Fields Don't mix

2001-06-22 Thread Jeff Wheeler
> DmWrite(newRecordPtr,0,&newRecord,sizeof(newRecord)); You're saving "pointers to characters" instead of character strings in your database. Try writing the strings themselves. Obviously, as soon as you unlock the text handle for the field, the pointer to that data isn't valid anymore. Once

Re: How to create new rsrc(resource file)?>>>

2001-06-22 Thread Ben Combee
"Santhosh" <[EMAIL PROTECTED]> wrote in message news:53962@palm-dev-forum... > > To create a new resource file (.rsrc) all you need to do is start > Constructor and > > click on the Menu File->New Project option . To add to this, to rename an existing .rsrc file, on Windows, you need to rename bo

Re: PALM types Versus ANSI ??

2001-06-22 Thread Ben Combee
"Rick Gadbois" <[EMAIL PROTECTED]> wrote in message news:53946@palm-dev-forum... > > What are the advantages/disadvantages to using the built in palm data types > as opposes to ansi? > > i.e. Int vs int The Palm types, as defined in the 3.5 and later SDK, will remain the same size when Palm migra

Re: Trouble in porting application to an older version.

2001-06-22 Thread Ben Combee
<[EMAIL PROTECTED]> wrote in message news:53953@palm-dev-forum... > > Hi, > I compiled an application that was previously compiled under version 3.0 of the sdk under wdk 3.5. The application runs absolutely well while run on emulator and the palm version 3.5. I tested the application using a palmo

Re: How to create new rsrc(resource file)?>>>

2001-06-22 Thread Santhosh
Hi To create a new resource file (.rsrc) all you need to do is start Constructor and click on the Menu File->New Project option . Thanks, Santhosh "Shoeb" <[EMAIL PROTECTED]> wrote in message news:53940@palm-dev-forum... > > > Hi, > > Hey I'm not able to change the Starter.rsrc filename, ca

Re: date conversion problem

2001-06-22 Thread Santhosh
Hi You can use the Time Manager to convert dates from whatever format into Palm date formats . First you will have to get the current system date format by using the PrefGetPreferences function . Thanks, Santhosh "Dhananjay_Agrawal" <[EMAIL PROTECTED]> wrote in message news:53936@palm-dev-foru

Re: Creating .pdb's externally.

2001-06-22 Thread Jeremy Neal Kelly
Have a look at 'Par'; I haven't used it, but I know it runs on Unix, it's open source, and it apparently includes libraries for manipulating PDB's, etc. A fellow named David Williams posted this link to it just a few days ago: http://www.djw.org/product/palm/par/index.html Good luck, Jeremy N

Re: autoexec in PalmOS?

2001-06-22 Thread Santhosh
Hi There is no shut down ,restart concept with the Palm OS . Whenever you press the power button ,only the display is switched off and the OS goes into sleep mode . So you do not have any autoexec or equivalent feature in Palm OS Thanks, Santhosh "Rania Saymeh" <[EMAIL PROTECTED]> wrote in mes

Lucky Charms and Database Fields Don't mix

2001-06-22 Thread DrumBSF
We are trying to save the text in text fields that the user inputs into database fields. The code below compiles but it doesn't save the data. The variables like Serial are pointers to the text in the text fields. Any help would be apreciated. gDb=DmOpenDatabaseByTypeCreator(ourdbtype,yourap

RE: OT: m500 - Win NT 4 and USB

2001-06-22 Thread Richard Anderson
I think an earlier reply stated the best solution. Which was the m500 should ship with a USB or Serial option. I resent the fact that if I buy an m500 I have to buy a serial cradle as well. Dont get me wrong, I really really want to use USB, but its pointless when most of your customers use NT4. T

Trouble in porting application to an older version.

2001-06-22 Thread jobypjoy
Hi, I compiled an application that was previously compiled under version 3.0 of the sdk under wdk 3.5. The application runs absolutely well while run on emulator and the palm version 3.5. I tested the application using a palmos33-en-iii.rom. The application uses the Currency symbols. The follo

Re: OT: m500 - Win NT 4 and USB

2001-06-22 Thread Jeff Wheeler
> We also make our own hardware in a Palm V modem casing, this now needs > changing. Our product is an industrial product and we need to know when to > make the Vx to m500 transition. This is not as simple as it looks, as there > are all sorts of availability problems, such as getting the surface

Re: Database Help

2001-06-22 Thread Sara Revell
That make sense - I have tried the fix you suggested, and get the error "incompatible type for argument 3 of DmWrite" So I guess it doesn't like that. It only seems happy when I have &map[i]. My database structure is as follows: // Structure of the Database typedef struct { Int32 mapID; Char

RE: field overlocking?!!!

2001-06-22 Thread Prashanth
okay!for that case,when i work in the same way with a single field i don't have any errors.but it happens only when i have two fields,and again it's a run time error,i.e,i get it only when i try to type something into the field.however if i unlock the memhandle,this error is not there,but i reciev

Re: Whoever thought up c++ should be shot!!!

2001-06-22 Thread Jeff Wheeler
> How do you define the fields in a database? Do you use records? A Palm database doesn't have "fields". A "record" in a Palm database is simply a binary stream of data of some known size. You read the data and decide what it means. Typically, the data is read into a structure (or class), but

RE: field overlocking?!!!

2001-06-22 Thread Prashanth
yes.through the debugger,the field object is locked only twice.and the error i'm getting is a run time error.ie,i'm getting the error only when i try to write something into the field AND NOT OTHERWISE.anyway,her's what i'm doing. if(l_numofrecords<2)//this is to check locking,the

Java Conduit problem. Please help.

2001-06-22 Thread virenpalm
Hi ! First of all if this query should rather have gone to a different forum. Pardon me if I am at wrong location. I am trying to write a conduit in Java using CDKJ. I have not done anything extra - only picked up a sample RDBMS conduit from there and add my functionality into it. I am readin

PALM types Versus ANSI ??

2001-06-22 Thread Rick Gadbois
What are the advantages/disadvantages to using the built in palm data types as opposes to ansi? i.e. Int vs int -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: field overlocking?!!!

2001-06-22 Thread Bozidar Benc
Text handle of a field object must not be kept locked by your application. So, if you are locking the text handle, then be sure to always unlock it, otherwise field routines will shout on you. Bozidar > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf O

Re: field overlocking?!!!

2001-06-22 Thread Simon Bennett
Hi, You should always try the newsgroup archives - they can save a lot of time. This thread - http://www.escribe.com/computing/pcpqa/m5977.html - might help. Regards, Simon Bennett -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.

RE: field overlocking?!!!

2001-06-22 Thread Prashanth
shoeb, the scrolling should be done before u pass NULL as a parameter(for relievig the field handle)and before you unlock the handle. prashanth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Shoeb Sent: Friday, June 22, 2001 5:49 PM To: Palm Developer F

Re: Creating a POSE .psf file from a real device

2001-06-22 Thread Daniel Morais
On Thursday 21 June 2001 23:13, Keith Rollin wrote: > There's no existing tool I know that will do this for you. Most > people cross-HotSync to move data around. But your tool idea sounds > neat. If you write one, I'd like to include it with Poser. You'r right, this kind of tool can be very u

Whoever thought up c++ should be shot!!!

2001-06-22 Thread DrumBSF
How do you define the fields in a database? Do you use records? Please help. The only book we have on the subject doesn't show how to define fields in a database, it just assumes we already defined them. -- For information on using the Palm Developer Forums, or to unsubscribe, please see h

How to create new rsrc(resource file)?>>>

2001-06-22 Thread Shoeb
Hi, Hey I'm not able to change the Starter.rsrc filename, can anyone help me ?? Also how to create new resource file (.rsrc) file to an existing project ? thanks & regards Shoeb -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/t

RE: field overlocking?!!!

2001-06-22 Thread Shoeb
Hi, Sorry for interfering inbetween but I'm unable to mail the query to forum directly so I'm replying to this mail ! Hope all can understand. Hi, Hey I'm not able to change the Starter.rsrc filename, can anyone help me ?? Also how to add a new resource file (.rsrc) file to the existing project

Re: field overlocking?!!!

2001-06-22 Thread [EMAIL PROTECTED]
I need to see some code here. Have you tried running your program through a profiler and see how many times the field's handle _actually_ is locked without begin unlocked? -- Christian Falch.net DeveloperStudio for Palm OS -"Developers' first choice for PDAs" "Prashanth"

RE: field overlocking?!!!

2001-06-22 Thread Shoeb
Hi, Sorry for interfering inbetween but I'm unable to mail the query to forum directly so I'm replying to this mail ! Hope all can understand. Here is a problem faced by me, may be a silly one one for experts. I'm providing a noneditable field in a user screen. The problem is that the contents

date conversion problem

2001-06-22 Thread Dhananjay_Agrawal
Hi all, I need to convert the date from Oracle format to date field in PalmOS. I am unable to do it. Can you guide me on it? Thanks in advance Dhananjay -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

autoexec in PalmOS?

2001-06-22 Thread Rania Saymeh
anyone aware of an equivelant to autoexec using the PalmOS? I'm trying to restrict the user to using one application while using the palm, when the palm shuts down or resets it should start at the login screen of the application.. any advice will be appreciated! Rania -- For information on u

RE: field overlocking?!!!

2001-06-22 Thread Prashanth
hey christian, no,you probably have mistaken me here.i have taken care of that.i'm locking it only twice so there is no chance of the lock count increasing.but i'm not unlocking it.i mean the overlocked handle error occurs only after 15 times of locking,which is not the case here,and morover the e

Re: Facing Table Problem.............

2001-06-22 Thread Shaikh Khurram Saghir
The problem seems to be in your code. It seems to me that while setting up the values for the elements of the table you have either hard coded something or you are using the same record element from your database to populate all the table elements. Remeber the same LOOP element is not going to be

Re: field overlocking?!!!

2001-06-22 Thread [EMAIL PROTECTED]
Prashanth, When working with fields, you can lock the handle to the field's text to manipulate it. When locking the handle, a reference count is increased to let different parts of your program lock the same handle at the same time. The catch is that you also need to unlock the handle, and that y

Facing Table Problem.............

2001-06-22 Thread Ravindra
Hi EveryBody , I am new to palm development , that's why facing lot of problems can anybody help me ? I've got a problem with handling Palm OS tables. I've got a table with 3 rows and 4 columns.3 columns are filled with static data and only one of the columns contain field data from a database r

field overlocking?!!!

2001-06-22 Thread Prashanth
hello! if anyone is having one of the better days,please help me out here. i'm basically working on records on text field.can anybody tell me what's "field overlocked" error?!!it's not "chunk overlock" because if i unlock the memory handle it's giving me a "chunk underlocked" error!!! thanks a lot

Popping up forms and events flow

2001-06-22 Thread Phil Hodge
Hello all, I have the following scenario: I would like to pop up a modal form with no buttons on it (so it can't be a conventional FrmDoDialog which is dismissed by a button click). I need it to say something such as 'Please wait...' while I perform an operation which is going to take a while, th

Flooding the dynamic heap, gremlin-ing my program

2001-06-22 Thread Ng Wei Gee
I remember reading somewhere that there's a command to flood the dynamic heap until very little memory is left in the debugger. How do I do that? :) Another problem is that my program uses the SysUISwitch (can't rem the exact function name!) to change program upon one of the button presses. In su

Re: Startup options

2001-06-22 Thread Shaikh Khurram Saghir
I don't think that it's possible untill or unless you over write the ROM itself. Regards, Khurram - Original Message - From: Doug Broadwell <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: Palm Developer Forum <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 4:52 AM Subject: Startup o