Problem with BmpCreate and WinCreateBitmapWindow

2004-05-12 Thread Eddie Gomez
My app captures a signature and stores the record (with Signature) into a database. To reduce file size, I am trying to store the signature as a 1bpp bitmap. I originally created an offscreen window which worked fine but created a bloated file size. I use WinCopyRectangle to load the signature

Multilizer

2004-05-12 Thread Ritu Chawla
hi, Canany body tell me about multilizer ? I have tried creating a base Prc and foreign language Prc's with multilizer. Is their any way by which i can replicate the subsequent changes in base prc to foreign language prc.? rgds, ritu -- For information on using the Palm Developer Forums,

inserting '\n' and invalid field length error

2004-05-12 Thread Sinoptic
Hello, I found that inserting any symbols with \n: in a field by using FldInsert function gives me invalid field length error in debugging POS Simulator, sometimes it crashes. However, If I insert the same symbols without '\n' everything is fine. The Reference says that FldInsert

Re: Problem with BmpCreate and WinCreateBitmapWindow

2004-05-12 Thread Ben Combee
At 03:35 AM 5/12/2004, you wrote: When the signature is captured and re-loaded, the graphics are extremely boxy. Not a low-res problem. It's more like serious lego-blocks. Hmmm... very odd. That sounds like a double-scaling issue -- do you ever change the coordinate system in your app? When I

Re: inserting '\n' and invalid field length error

2004-05-12 Thread Ben Combee
At 03:54 AM 5/12/2004, you wrote: Hello, I found that inserting any symbols with \n: in a field by using FldInsert function gives me invalid field length error in debugging POS Simulator, sometimes it crashes. However, If I insert the same symbols without '\n' everything is fine. Don't use

a mystery with FrmSetFocus() - is it maybe a bug?

2004-05-12 Thread Paul Nevai
Please help Why does this or any variation of it crash when called from a SysAppLaunch()-ed code where no global variables are available and the current focus is on a frmTableObj? I observed this years ago but could never figure it out why. frmP = FrmGetActiveForm (); FrmSetFocus (frmP,

Draw graphs, video and Jpeg

2004-05-12 Thread Ritu Chawla
Hi, 1. Can any body help me by telling how i can draw a graph on the palm screen. Do i need to use gadget for this? One message no: news:[EMAIL PROTECTED] posted on pilot.programmer newsgroup at news.superwaba.net on 31st Jult 2002 is discussing about events while drawing a graph on the screen

Printing

2004-05-12 Thread Aditi Paranjape
Hi: Has anybody written code for printing for the Palm OS? Or is there any sample code for it? Thanks! Aditi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Nevai Sent: Wednesday, May 12, 2004 5:46 PM To: Palm Developer Forum Subject: a mystery

raw IR

2004-05-12 Thread Mihai Ciornei
Hello I want to send something trough IR port to a printer but I have a problem Just take a look please I have a class Cir /*/ bool CIr::Open(int nSpeed, int nTimeOut) { UInt32 valueP; UInt16 valueLenP;

Re: Printing

2004-05-12 Thread wax wacky
What do you exactly mean by printing ?? - Original Message - From: Aditi Paranjape [EMAIL PROTECTED] Date: Wed, 12 May 2004 17:54:07 +0530 To: Palm Developer Forum [EMAIL PROTECTED] Subject: Printing Hi: Has anybody written code for printing for the Palm OS? Or is there any

Re: Printing

2004-05-12 Thread LeSalle Munroe
Check out the print boy SDK... http://www.bachmannsoftware.com/pbprem.htm - Original Message - From: Aditi Paranjape [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 9:24 AM Subject: Printing Hi: Has anybody written code for printing for the

Re: Problem with BmpCreate and WinCreateBitmapWindow

2004-05-12 Thread wax wacky
Where can we find a log file ? - Original Message - From: Eddie Gomez [EMAIL PROTECTED] Date: Wed, 12 May 2004 01:35:44 -0700 To: Palm Developer Forum [EMAIL PROTECTED] Subject: Problem with BmpCreate and WinCreateBitmapWindow My app captures a signature and stores the record (with

RE: Printing

2004-05-12 Thread Aditi Paranjape
Yes. I have seen this SDK. Is there any other way to give print commands from a Palm? - Aditi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LeSalle Munroe Sent: Wednesday, May 12, 2004 6:29 PM To: Palm Developer Forum Subject: Re: Printing Check out

64k Records on PalmOS 6

2004-05-12 Thread Ste
Hi, in palm os 6 (cobalt) is possibile to store records bigger than 64k, but is possibile to have more than 64k records per table, or there is yet this limit? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

PhnLibCardInfo() doesnt return values!

2004-05-12 Thread Keyur Patwa
Hi Cheng Ben, Thanks a lot for your reply. I have included that phone header file in my project and using the PhnLibCardInfo() function. But it doesn't return anything. Following is how I am using this function, UInt16 refNum; CharPtr* manufacturer; CharPtr* model; CharPtr* version; CharPtr*

howto download screenshots?

2004-05-12 Thread George VS
Hi group, Can anyone tell me how can I take screenshots from tungsteen simulator sony ux50 simulator in 480/320 resolution? Thanks! George VS -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Screen Rotate on T3

2004-05-12 Thread LeSalle Munroe
HI Does anyone know what is the char code for the rotate button on the T3, or how to diable this button... Thanks... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: howto download screenshots?

2004-05-12 Thread Matt Graham
George VS wrote: Can anyone tell me how can I take screenshots from tungsteen simulator sony ux50 simulator in 480/320 resolution? should work alt+PrntScrn open MS Paint ctrl+v -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: PhnLibCardInfo() doesnt return values!

2004-05-12 Thread Jeremy Cheng
Where are you getting your refNum from? If you're not, HsGetPhoneLibrary(refNum) should do the trick. Keyur Patwa wrote: Hi Cheng Ben, Thanks a lot for your reply. I have included that phone header file in my project and using the PhnLibCardInfo() function. But it doesn't return anything.

CDK 6.0 and Java

2004-05-12 Thread odeleon
Does anybody knows if Palm will include Java support for CDK 6.0, as JSync was in CDK 4.03? I could not find answer to this question in Palm site. Regards Oscar -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Printing

2004-05-12 Thread Dave Mottorn
I'm using the libraries that are available on Symbol's web site to print to a variety of printers through the IR port. It seems to be working pretty well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Aditi Paranjape Sent: Wednesday, May 12, 2004 9:45 AM

pushing apps over the air...

2004-05-12 Thread Jeremy Cheng
I'm told that it's possible to push apps over the air(sms?) to the palm devices (specifically the treo 600). Does any one happen to have any information on how this might be done? Jeremy -- For information on using the Palm Developer Forums, or to unsubscribe, please see

PhnLibCardInfo() returns false!

2004-05-12 Thread Keyur Patwa
Hi Cheng, Thanks for your reply! The problem is, I don't find any document for the PhnLibCardInfo() function so I have no idea which all parameters is to be passed to the function! As you said, I used the HsGetPhoneLibrary(refNum) function to get the refNum (which returns 6 as refNum) and passed

Re: PhnLibCardInfo() returns false!

2004-05-12 Thread Jeremy Cheng
I assume your device is a GSM phone? Jeremy Keyur Patwa wrote: Hi Cheng, Thanks for your reply! The problem is, I don't find any document for the PhnLibCardInfo() function so I have no idea which all parameters is to be passed to the function! As you said, I used the HsGetPhoneLibrary(refNum)

CW9: Function address for multisegment application.

2004-05-12 Thread Konstantin Klyatskin
This is a cut from my CW9 code: asm void table() { dc.w 0,1,2,3,4,5// etc. } void test1() { short * data; data = (short *)table; // now should be data[0] should = 0; data[1] should =1; etc. } OR asm short test2(short y, short cb, short cr) { fralloc+ movem.l

RE: PhnLibCardInfo() returns false!

2004-05-12 Thread Keyur Patwa
Hi Cheng, You are right; our device is a GSM phone (Treo 600)! Do u think I will be able to get the IMEI number programmatically? Thanks, Keyur. -Original Message- From: Jeremy Cheng [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:19 PM To: Palm Developer Forum Subject:

RE: Printing

2004-05-12 Thread Ben Combee
At 08:45 AM 5/12/2004, you wrote: Yes. I have seen this SDK. Is there any other way to give print commands from a Palm? There are several other SDKs, including IRPrint (http://www.irprint.com) and PalmPrint (http://www.stevenscreek.com/pilot/palmprint.shtml). Symbol also has a printing library

Re: CW9: Function address for multisegment application.

2004-05-12 Thread Ben Combee
At 12:39 PM 5/12/2004, you wrote: Everything (test1 and test2) works fine providing the code lays in the first code segment (code0). It fails for any other segment. Is there any way to use PC relative offset like lea.l table(PC),a0 (CW does not accept this syntax) or any other way to find

Re: WinInvertRectangleFrame bug on T3

2004-05-12 Thread David Fedor
To zoom the map in my program, I repeatedly call WinInvertRectangleFrame to draw a zoom rectangle that follows the stylus until the user lifts the stylus (and the map gets zoomed). But on a Tungsten 3 (and only on a T3), starting the zoom rectangle in the upper right corner of the desired area and

Re: 64k Records on PalmOS 6

2004-05-12 Thread David Fedor
Hi, in palm os 6 (cobalt) is possibile to store records bigger than 64k, but is possibile to have more than 64k records per table, or there is yet this limit? I know of no such limit in schema databases. At the same time, if you're working with that many entries, you would presumably want to

Searching for a record

2004-05-12 Thread Dana Long
Greetings, Kind of a beginner question here... I have to find records in a database based on two character fields in the record. In other words these two fields together constitute a primary key. Is my only choice to iterate through the entire database? Something like this? for (int i = 0; i

Re: CW9: Function address for multisegment application.

2004-05-12 Thread Konstantin Klyatskin
Ben, I talked not about offset between codes in different segments. I talked about possibility to make the code (staying in any single segment) to use offsets to PC pointer rather than table jumps. Then independently upon amount of segments I could use the adresses to navigate inside any single

RE: Searching for a record

2004-05-12 Thread Keyur Patwa
I don't have much experience with Database on Palm but I think it is the index position at which you add the record! -Original Message- From: Dana Long [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 2:26 PM To: Palm Developer Forum Subject: Searching for a record Greetings,

Re: Searching for a record

2004-05-12 Thread Ben Combee
At 01:26 PM 5/12/2004, you wrote: Greetings, Kind of a beginner question here... I have to find records in a database based on two character fields in the record. In other words these two fields together constitute a primary key. Is my only choice to iterate through the entire database?

Re: WinInvertRectangleFrame bug on T3

2004-05-12 Thread Luc Le Blanc
David Fedor a écrit : To zoom the map in my program, I repeatedly call WinInvertRectangleFrame to draw a zoom rectangle that follows the stylus until the user lifts the stylus (and the map gets zoomed). But on a Tungsten 3 (and only on a T3), starting the zoom rectangle in the upper right

odd dillemma

2004-05-12 Thread Ornstein, Adam
Compatibility coding... I coded my appStop function to close all program pointers, however in the earlier OS's it needs to re-allocated with MemPtrFree(ptr). If I simply set it to NULL and delete it, an memory leak occurs. Meanwhile in the later OS's it needs to be set to NULL and deleted.

Re: Searching for a record

2004-05-12 Thread Matt Graham
Dana Long wrote: I have to find records in a database based on two character fields in the record. In other words these two fields together constitute a primary key. Is my only choice to iterate through the entire database? No. If you keep the database sorted, you can also find it using

Re: Searching for a record

2004-05-12 Thread Matt Graham
(first attempt at this post went bad.) Dana Long wrote: I have to find records in a database based on two character fields in the record. In other words these two fields together constitute a primary key. Is my only choice to iterate through the entire database? No. If you keep the database

Re: PhnLibCardInfo() returns false!

2004-05-12 Thread Jeremy Cheng
The Treo section of the palmOne also has a download of Sample Code (Sample Code: All Treo 600 Sample Code). Download that and run the Phone Info program, in there. It displays the IMEI number (among other things). Keyur Patwa wrote: Hi Cheng, You are right; our device is a GSM phone (Treo

Re: WinInvertRectangleFrame bug on T3

2004-05-12 Thread Ben Combee
At 01:43 PM 5/12/2004, you wrote: Sounds like a faulty API implementation to me: it works fine on all other devices, which handle negative extents very well. To make it work on a T3, I'd have to check for negative extents and then swap fiddle with rectangle coordinates - a little clumsy. void

Re: odd dillemma

2004-05-12 Thread Ben Combee
At 01:51 PM 5/12/2004, you wrote: Compatibility coding... I coded my appStop function to close all program pointers, however in the earlier OS's it needs to re-allocated with MemPtrFree(ptr). If I simply set it to NULL and delete it, an memory leak occurs. Calling MemPtrFree is deallocating

IMEI solved!

2004-05-12 Thread Keyur Patwa
Thanks a lot Cheng, I got it. Keyur. -Original Message- From: Jeremy Cheng [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 3:02 PM To: Palm Developer Forum Subject: Re: PhnLibCardInfo() returns false! The Treo section of the palmOne also has a download of Sample Code (Sample

RE: odd dillemma

2004-05-12 Thread Ornstein, Adam
When using... if (gcNote != NULL) { MemPtrFree(gcNote); gcNote = NULL; } --- with palm os 3.5, I get a bus error on gcNote = NULL; if I write delete gcNote; gcNote = NULL; with palm os 3.5 I also get a bus error on gcNote = NULL; still leaves me

Re: Screen Rotate on T3

2004-05-12 Thread Tim Kostka
To disable this, look at SysSetOrientationTriggerState which is part of the Dynamic Input Area functions. You can find the documentation in DynamicInputAreas.pdf. -- Tim Kostka http://www.nuprograms.com LeSalle Munroe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] HI Does anyone

how to exit()

2004-05-12 Thread Matt Graham
Let's say my program recognizes a (relatively) catastrophic state in which I want to just display an error message and exit. Is there an equivalent to exit() that I could call that would stop execution from where ever I call it? Thanks, matt -- For information on using the Palm Developer

RE: how to exit()

2004-05-12 Thread Ornstein, Adam
You can always post a appstop event... but it wont stop the application in it's tracks. -Original Message- From: Matt Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 4:12 PM To: Palm Developer Forum Subject: how to exit() Let's say my program recognizes a (relatively)

RE: how to exit()

2004-05-12 Thread Roberto Machorro
If it's a catastrophic event, then you should probably raise a fatal exception. Check out the debug macros for a list of what's available. You can always post a appstop event... but it wont stop the application in it's tracks. -Original Message- From: Matt Graham [mailto:[EMAIL

RE: how to exit()

2004-05-12 Thread Jeffry Loucks
Try setjmp/longjmp at and to the point you'd like to be your exit point. Jeff Loucks Work 425-284-1128 [EMAIL PROTECTED] Mobile 253-691-8812 [EMAIL PROTECTED] Home 253-851-8908 [EMAIL PROTECTED] -Original Message- From: Ornstein, Adam [mailto:[EMAIL PROTECTED]

RE: odd dillemma

2004-05-12 Thread Ben Combee
At 03:09 PM 5/12/2004, you wrote: When using... if (gcNote != NULL) { MemPtrFree(gcNote); gcNote = NULL; } --- with palm os 3.5, I get a bus error on gcNote = NULL; It's likely the bus error is actually coming from MemPtrFree -- the debugger just shows PC at the

Re: 64k Records on PalmOS 6

2004-05-12 Thread Ste
Thanks! David Fedor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, in palm os 6 (cobalt) is possibile to store records bigger than 64k, but is possibile to have more than 64k records per table, or there is yet this limit? I know of no such limit in schema databases. At the

CamLib Zire71 vs Zire72

2004-05-12 Thread Regis St-Gelais
I have an application that take picture using PalmOne CameraLib APIs. It work fine in the Zire71 but not in the Zire72 I succesfully set the capture format using something like: CamLibCaptureDataFormat.type=kCamLibCaptureDataFormatRGB565; errNo=CamLibControl(refNum, kCamLibCtrlCaptureFormatSet,

Re: CamLib Zire71 vs Zire72

2004-05-12 Thread Jonatan Fernstad
Regis, Have you tried byteswapping each 16 bit pixel in the picture on the Z72? At a quick glance it looks like it may be an endian issue. Jonatan www.clievideo.com Regis St-Gelais [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have an application that take picture using PalmOne

Re: CamLib Zire71 vs Zire72

2004-05-12 Thread Regis St-Gelais
that's it, thanks. I did not find anything about that in the camlib documentation. -- Regis St-Gelais www.laubrass.com -- Jonatan Fernstad [EMAIL PROTECTED] a écrit dans le message de news:[EMAIL PROTECTED] Regis, Have you tried byteswapping each 16 bit pixel in the picture on the Z72? At a

Re: how to exit()

2004-05-12 Thread Tilo Christ
Hi! Try setjmp/longjmp at and to the point you'd like to be your exit point. I did that with the Palm macros for exception handling. My main routine looks like this: static UInt32 StarterPalmMain(UInt16 cmd, void */*cmdPBP*/, UInt16 launchFlags) { if (cmd == sysAppLaunchCmdNormalLaunch) {

GrfGetAndExpandMacro GrfGetMacro, Same or Different?

2004-05-12 Thread LionScribe
What's the difference between GrfGetAndExpandMacro GrfGetMacro function? Doesn't it seem that they do the same thing? Or am I missing something? Thanks in advance, LionScribe begin 666 Arye Schreiber.vcf M0D5'24XZ5D-!4D0-E9%4E-)3TXZ,BXQ#0I..E-C:')E:6)ECM!GEE.SM- MBX-D9..D%R[EMAIL

Re: GrfGetAndExpandMacro GrfGetMacro, Same or Different?

2004-05-12 Thread Douglas Handy
Arye, What's the difference between GrfGetAndExpandMacro GrfGetMacro function? The expand macro version substitutes current values for things like the date timestamps. I use it for cases where I'm doing my own insertion of shortcuts, since you can't just enqueue the shortcut character and