Writing a char* to the database

2003-03-18 Thread Blackwell Chris A Maj CENTAF-PSAB/C3 TCT Attack Coordinator
Simple question... I want a dynamic List box that I get entries for from a database. From memory... the database struct is struct dbstructType { int ref; char* text; } *curRec; The input to add into the text is a text field: curRec-text=FldGetTextPtr(...);

Re: In a loop is it possible to use button

2003-03-18 Thread Ron Nicholson
Compute bound loops seem common to many applications which have to do a good amount of compression, encryption, sorting, math crunching, recursive game tree analysis, etc. How to best handle this when a large amount of local state has to be set up and torn down between time limited compute chunks

Re: convert hexa to decimal

2003-03-18 Thread Dan Patrutiu
Hemamalini [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there any function to convert hexa to decimal Thank you, HEma As soon as I know, there is no such function in the Palm OS SDK. The inverse one is StrIToH (decimal to hexa). Writing your own function might not be

Grey Sacale using WinSetForeColor

2003-03-18 Thread Alexandre Barreto
i need to draw in a mono color Palm but WinSetForeColor just set the color to blakc no mather what number i use in the function how can i get grey scale to work? thnx _ MSN Messenger: converse com os seus amigos online.

Re: How to add icons to a list?

2003-03-18 Thread Stringer
Subject: How to add icons to a list? From: krishna kumar [EMAIL PROTECTED] I'm using category list in my application. I need to add icons along with text in the list. Is it possible? I will be grateful if there is some reply. Pass a callback function and draw each list item

How to Easily Simulate/Emulate Low Memory

2003-03-18 Thread Mike McCollister
Hi, I have a user of mine who is having some crashing problems with one of my programs that I cannot reproduce. I have since found out that he has only about 128 Kbytes free memory. Well, I am about to try to reproduce this but am wanting to know if anyone has any simple techniques to reduce

Re: How to Easily Simulate/Emulate Low Memory

2003-03-18 Thread Young S. Cho
Look for the MemoryHog application. That should do what you're trying to do... Young. Mike McCollister [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have a user of mine who is having some crashing problems with one of my programs that I cannot reproduce. I have since

Re: How to Easily Simulate/Emulate Low Memory

2003-03-18 Thread Jonatan Fernstad
I would do something like this. 1. Check how much free memory is available. 2. Create a new database and fill it up with records (choose a good recordSize) in a loop until you only have X bytes free in RAM. 3. Run your application. /Jonatan Mike McCollister [EMAIL PROTECTED] wrote in message

Sampled sound

2003-03-18 Thread Chris Apers
Hi, Do you know where can i find source code to convert 16bit/mono/raw data into yamaha ADPCM ? i need to do it programatically. Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to Easily Simulate/Emulate Low Memory

2003-03-18 Thread Mike McCollister
Young, Thanks. That is exactly what I was looking for. Mike --- Young S. Cho [EMAIL PROTECTED] wrote: Look for the MemoryHog application. That should do what you're trying to do... Young. Mike McCollister [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have a

Re: Grey Sacale using WinSetForeColor

2003-03-18 Thread Dan Patrutiu
There is a function named WinSetColors in OS3.5, which is taking as parameters RGBColorType 's. This is what you need. First be sure you have set the display mode using the WinScreenMode function (I assume you are using the latest SDK, this function has another name in prior ones). Dan

Re: Search Database Name

2003-03-18 Thread Winter2OO1
Thanks. Now I can copy Database name to an array. However, when I exit my program, the system crash, and the error message is Minor error while exiting app: un-freed check at 0x00F7E1D8, size 32 (ownerID 2). I use this function to free memory when exit my program === case

convert Wav to PDB

2003-03-18 Thread Winter2OO1
Hi, I try to write a program to convert wav file to pdb file using Java or C++. Does anyone know any website or books talk about this topic. Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: convert Wav to PDB

2003-03-18 Thread Matthew Bevan
I try to write a program to convert wav file to pdb file using Java or C++. Does anyone know any website or books talk about this topic. The simplest solution is to write an application that wraps the WAV (or any other) file in a PDB header marking the file as a stream. There are already

Re: How to Easily Simulate/Emulate Low Memory

2003-03-18 Thread Ronnie van 't Westeinde
I had a similar problem, but it turned out that not the total amount of memory available was limiting, but the amount of dynamic heap space (which is limited to 128k on a 2Mb system) Once I found out, I just installed a Palm V with 2Mb memory in the emulator, and the problem reproduced. Ronnie

Turning Beam Receive on/off

2003-03-18 Thread Tom K
Hi, Is it possible to detect a beam receive in an application and ignore it, or to disable/enable it from within an app? thanks Tom -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

POL cancelled?

2003-03-18 Thread Florent Pillet
I just got an email from TeT saying that POL support is cancelled. This can't be true. This is a nightmare. -- Florent Pillet, Code Segment [EMAIL PROTECTED] Developer tools and end-user products ICQ: 117292463 Palm, Mac, Unix, Windows http://perso.wanadoo.fr/fpillet -- For

Re: POL cancelled?

2003-03-18 Thread Ben Combee
At 19:50 2003-3-18 +0100, you wrote: I just got an email from TeT saying that POL support is cancelled. This can't be true. This is a nightmare. We were disappointed to hear this as well. I'm a big fan of the library, and I think Maks, the primary author of POL, has done a wonderful job

Windows Enter (CrLf) character on Palm

2003-03-18 Thread N
For my Palm application data is entered from Windows application. This application has has one multiline field to enter multiline comments. When this data transfered to Palm, I see [] kind of junk character. I figured out that its due to Cr character of windows, bcz windows use 2 character Cr

Button text corruption on OS3.5.1?

2003-03-18 Thread Mark A. Peters
My application displays a modal alert using FrmCustomAlert. This alert has three buttons, and is displayed in two contexts: when the application has been launched normally, and during processing of a non-normal launch code. When it is displayed during normal launch code processing, it is fine.

Dynamic PopUp List

2003-03-18 Thread Scott D . Schmitz
I am trying to create a dynamic pop-up list via LstNewList() and populating list with LstSetListChoices(). I am using this list in conjunction with a table which uses the pop-up list and therefore would prefer to populate my list instead of overriding the draw messages as internally tables

Re: POL cancelled?

2003-03-18 Thread Brad Figler
I agree. I just converted our project over to use POL. It is a solid framework. If it ever gets converted to a GNU project or such, I will be more than willing to contribute to it. ~Brad Florent Pillet [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I just got an email from TeT

Re: POL cancelled?

2003-03-18 Thread Patrick
I'm a newbie, what's POL. Pat... - Original Message - From: Brad Figler [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 2:33 PM Subject: Re: POL cancelled? I agree. I just converted our project over to use POL. It

Re: Button text corruption on OS3.5.1?

2003-03-18 Thread Ben Combee
At 11:17 2003-3-18 -0800, you wrote: My application displays a modal alert using FrmCustomAlert. This alert has three buttons, and is displayed in two contexts: when the application has been launched normally, and during processing of a non-normal launch code. When it is displayed during normal

Re: POL cancelled?

2003-03-18 Thread Brad Figler
Palm Object Library. It is a collection of C++ classes for palm OS. It provides an Application/Form framework that really simplifies laying out a project. It wraps many of the palm OS managers as well. ~Brad Patrick [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm a newbie,

RE: POL cancelled?

2003-03-18 Thread Vinu Raj
I'm a newbie, what's POL. Pat... POL is Palm Object Library. It's a C++ framework for Palm OS. It's like MFC for Palm OS programming. Here's a link to the POL home page for more information: http://www.aqpoint.com/pol/default.htm. -- Vinu -- For information on using the Palm Developer

Recompiling prc-tools under Falch's DevStudio's Cygwin?

2003-03-18 Thread kcorey
Hi All, Has anyone else tried recompiling prc-tools under Developer Studio's version of Cygwin? I was able to go through the setup of the environment, and perform the make correctly, however now I'm stuck by a 'make install' command that's failing. Specifically, here are the last few lines

Modify a tLBL in a tFRM

2003-03-18 Thread trifusion
Is it possible to modify the tLBL (label) in a tFRM (Form) without unpacking and repacking the tFRM (Form) resource? Said another way: Is there an easy way to change the label of a form that is not active while the program is running? Thanks Greg -- For information on using the Palm

Re: POL cancelled?

2003-03-18 Thread Henry Skoglund
Brad Figler [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I agree. I just converted our project over to use POL. It is a solid framework. If it ever gets converted to a GNU project or such, I will be more than willing to contribute to it. Me too. I spent 10 years doing apps

Palm SDK and PRC

2003-03-18 Thread Ricardo Marques
Hi. I´m a student in my final year and, together with another person, as a final project I have to create an aplication for a PDA in order to use Bluetooth to comunicate with a PC. For our project, since we aren't able to accquire Codewarrior we chose PRC-tools (due to being free) to

Re: Button text corruption on OS3.5.1?

2003-03-18 Thread Mark A. Peters
Okay, thanks! Mark Peters Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 11:17 2003-3-18 -0800, you wrote: My application displays a modal alert using FrmCustomAlert. This alert has three buttons, and is displayed in two contexts: when the application has been

How do you acces the Sd Card?

2003-03-18 Thread Brandon Sean Fogerty
What functions can you use to get information on an Sd Card? Like the Name Brandon, memory size, etc? THanks!Brandon Lead Programmer/Graphics/Music [EMAIL PROTECTED] Http://www.DreamCodersRealm.com We Write Tomorrow's Code! GOD Bless you Always my Friend!! -- For

Re: How do you acces the Sd Card?

2003-03-18 Thread Brad Figler
See Expansion Manager and Virtual File System Manager in the PalmOS API for details (chapters 29 and 53, respectively). Brad Brandon Sean Fogerty [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What functions can you use to get information on an Sd Card? Like the Name

Re: Writing a char* to the database

2003-03-18 Thread Alan Ingleby
There are several faults with the code you list below. All of them point to a lack of understanding of some fundemental C concepts, particularly pointers. I would suggest you read a good C book, or a tutorial on the web. Sorry to seem harsh, but the issues you raise are not really related to

Re: Writing a char* to the database

2003-03-18 Thread Alan Ingleby
Blackwell Chris A Maj CENTAF-PSAB/C3 TCT Attack Coordinator [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On a side note, I just noticed your email address, and I'm hoping this project isn't going to affect the war effort :-) Alan -- For information on using the Palm Developer

RE: Writing a char* to the database

2003-03-18 Thread Colleen Dong
i suggest Object oriented programming in C++ by Bjorn Strotustrup -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alan Ingleby Sent: Tuesday, March 18, 2003 3:49 PM To: Palm Developer Forum Subject: Re: Writing a char* to the database There are several

Web clipping on Tungsten Ts, 5.0 OS

2003-03-18 Thread Matt Sian
Hello, I thought web clipping was history as of OS 4.x. Recently I've heard two different people claim to have it working on Tugnsten Ts with OS 5.0. Anyone know how to do this, I miss many of my prior applications. From a developers standpoint I want to know also. I've tried installing

Re: Dynamic PopUp List

2003-03-18 Thread Andrés Mora
hi, this is a good example for Dynamic PopUp List Char* VEHLista[20]; //***LISTA VEHICULOS numRows = DmNumRecords(VEHDB); for (row = 0; row numRows; row++) { recHandle = DmQueryRecord(VEHDB,(UInt16)row); if (recHandle) { dest =

i330

2003-03-18 Thread Richard Good
Anybody using the i330 to make voice calls from inside an application? I have an app that makes calls and works with the handspring springboard based phone and the treo but no luck using the i330. The app uses the palm os 3.5 based calls. Thanks for any help -- For information on using the Palm

Re: i330

2003-03-18 Thread Douglas Handy
Richard, The app uses the palm os 3.5 based calls. I don't think there are any OS 3.5 based APIs for that; they were added in OS 4.0 with the first Palm branded combination phone / pda. Handspring had their own extensions for their devices under 3.5, so I wouldn't expect the i330 to be

Re: i330

2003-03-18 Thread Richard Good
In article [EMAIL PROTECTED], Douglas Handy [EMAIL PROTECTED] wrote: Your right there was no telephony manager prior to 4.0, but the i330 uses 3.5. Handspring's sample code (dialer.c) makes calls to check if any helper application exists for voice calls. I was -hoping- something similar existed

Re: i330

2003-03-18 Thread Douglas Handy
Richard, Handspring's sample code (dialer.c) makes calls to check if any helper application exists for voice calls. I was -hoping- something similar existed for the i330 Handera may have something similar -- but since pre 4.0 devices don't have OS support for it, it had to be added by the

No overwrite when launching off Card

2003-03-18 Thread Andrew Waites
Hi, Ths Extension card section in the Palm doco indicates that if you launch an app off the card and the same appexists on the Palm then you will be prompted whether or not to replace it In my testing if I copy an app from Palm to card then launch off the card there is no prompting..it runs

Re: Windows Enter (CrLf) character on Palm

2003-03-18 Thread Markus Dresch
Palm needs on Lf to do this job and since it does not recognize Cr it displayes []. Questions: - Am I correct about the problem yes. but it's not a problem - Is it common issue with data transfer from Windows-Palm a common issue? it's simply a fact that palm uses \n and not \r\n -