drawing bitmaps

2004-02-25 Thread desa
I call WinSetCoordinateSystem(kDensityDouble) and I can use functions like WinDrawLine on my high-density windows, but when I use WinDrawBitmap(...) it doubles the pixels so the image it draws looks low-res. Here's the code. MemHandle handle = DmGetResource(bitmapRsc, 1000); BitmapType *bitmap =

Re: drawing bitmaps

2004-02-25 Thread Ben Combee
At 02:29 AM 2/25/2004, you wrote: I call WinSetCoordinateSystem(kDensityDouble) and I can use functions like WinDrawLine on my high-density windows, but when I use WinDrawBitmap(...) it doubles the pixels so the image it draws looks low-res. Here's the code. MemHandle handle =

Re: Detecting whether dbID is invalid

2004-02-25 Thread Aaron Ardiri
I have a situation where I have a cardNo and a dbID of a database. At the time I try to access the database using the dbID, it is not any longer available (deleted) and my code crashes. What I would like to do is to check whether the dbID is valid, but I can't seem to find anything in the API

Palm hangs after our driver is installed

2004-02-25 Thread Dhanashri
Hello All, We have written a Palm OS device driver for a serial keyboard. We have implemented the driver using the traps for EvtGetEvent and EvtEventAvail. We have NOT used any external tool like hackmaster. But the problem is that the device hangs sometimes all of a sudden when our driver is ON.

Re: Detecting whether dbID is invalid

2004-02-25 Thread James Lin
Aaron Ardiri wrote: I have a situation where I have a cardNo and a dbID of a database. At the time I try to access the database using the dbID, it is not any longer available (deleted) and my code crashes. What I would like to do is to check whether the dbID is valid, but I can't seem to

Re: Detecting whether dbID is invalid

2004-02-25 Thread Aaron Ardiri
I have a situation where I have a cardNo and a dbID of a database. At the time I try to access the database using the dbID, it is not any longer available (deleted) and my code crashes. What I would like to do is to check whether the dbID is valid, but I can't seem to find anything

Panning

2004-02-25 Thread KEN
hi, how to do panning without re-drawing the vector map? i.e. moving the screen instead of re-drawing each time thx -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

ExgSend if user Cancellation?

2004-02-25 Thread apple k
Hi. I am quite new to the Exchange Manager and learnt that the ExgSend function can actually control the interruption of user's cancellation. err = ExgPut(exgSocket); // put data to destination if (err==errNone) { err = ExgDBWrite(WriteProc,exgSocket,beamerDBName,dbID,0);

[Ask] creating dictionary database in .pdb format

2004-02-25 Thread swli
Hello, I am a student doing a project of English to Chinese Dictionary for Palm. However, I have no idea on converting the dictionary database from txt format into pdb format. I hope anyone who know how to create dictionary database in pdb format can teach me how to do it. Thank you. -- For

Problem with simulator

2004-02-25 Thread [EMAIL PROTECTED]
Hello! I´ve developed an app to a Tungsten W and It´s work correct. Now I want to execute this app in Palm simulator PalmOS 5.0 and it doesn´t work. I can´t write into a field text. What´s the matter? I need help!! -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: [Ask] creating dictionary database in .pdb format

2004-02-25 Thread KEN
pdbc maybe helpful it can include .txt files in records and convert to .pdb format swli [EMAIL PROTECTED] ¦b¶l¥ó news:[EMAIL PROTECTED] ¤¤¼¶¼g... Hello, I am a student doing a project of English to Chinese Dictionary for Palm. However, I have no idea on converting the dictionary database from

Re: Program works on Tungsten T3 Simulator, but crashes real T3

2004-02-25 Thread Jeremy
I did finally fix the problem. I found that there is a new Dynamic Input Area sample onthe PalmSource website. They have some changes to the sample. I used their changes, and tested it on a friends T3, and it no longer crashes. The link to that sample code is:

Re: Program works on Tungsten T3 Simulator, but crashes real T3

2004-02-25 Thread Jamie Macleod
Weird, that's what I'm using. Jeremy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I did finally fix the problem. I found that there is a new Dynamic Input Area sample onthe PalmSource website. They have some changes to the sample. I used their changes, and tested it on a

Re: MSL include problems the Web Services Toolkit recipe

2004-02-25 Thread Glen Peters
Thanks Ben, I 've gotten all that fixed up. I left everything as compiler relative and just checked Always check user paths. Now the conpiler finds all the include stuff except... I have another problem. As soon as I include the palmSharedLib.h file (following the recipe), I get the following

Re: Detecting whether dbID is invalid

2004-02-25 Thread Daniel Seifert
Hi, [James Lin] Doesn't DmOpenDatabase (and about all of the other DmMgr functions) usually generate a fatal alert when given an invalid cardNo and dbID? [Aaron] thats not what the docs say: Returns DmOpenRef to open database. May display a fatal error message if the database

Re: Detecting whether dbID is invalid

2004-02-25 Thread Aaron Ardiri
then again, it has been proven many times that the docs are faulty *g* I think that is indeed the case here. Because I tried to use DmOpenDatabase (and similiar functions) and it crashed on me. Reproduce by using DmOpenDatabase(0, 1234, dmModeReadOnly) ;-( that sucks. then the only

Re: drawing bitmaps

2004-02-25 Thread desa
This paragraph describes my problem exactly in the article. Note that this means you will not be able to draw a low density bitmap as a quarter size small bitmap on a high density screen by simply calling WinSetCoordinateSystem before the draw. You would need to create a nativeFormat offscreen

Re: Detecting whether dbID is invalid

2004-02-25 Thread Daniel Seifert
Am Mi, den 25.02.2004 schrieb James Lin um 10:42: Hi, Doesn't DmOpenDatabase (and about all of the other DmMgr functions) usually generate a fatal alert when given an invalid cardNo and dbID? Yes :-( One alternative is to use DmGetDatabase() to iterate through all of the databases on the

Treo600 play ringtone in background help

2004-02-25 Thread palmDev
i'm trying to play a ringtone in the background using TonesLibPlayTone() and setting the block = false and its not working. From the API doc: Comments Background play is only supported if the user calls the stop operation (i.e., when in forever duration mode). Otherwise, an error is return.

TblSetRowHeight - OS 3.1

2004-02-25 Thread Edward P. Ross
OK - Looking further into this, I have narrowed down the problem a bit. With OS 3.5, before I do a TblDrawTable I need to do a TblEraseTable. That solves most of the problem. The first column is a checkbox. It does create a new, related issue. The table is always ~100 pixels tall. When I

Re: SysKeyboardDialog on Tapwave

2004-02-25 Thread Ryan Andersen
Never mind... i believe this is a tapwave issue only. I am working with them to resolve it. Ryan Andersen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am programmatically popping up the System keyboard dialog on a tapwave (on the device and sim), the field active and focused

Window 68K.c, Line:92, No shadow window found

2004-02-25 Thread Paul Nevai
Can someone tell me where this Tungsten T3 crash message is coming from and what it means: Window 68K.c, Line:92, No shadow window found Is Window 68K.c part of the OS or part of a Palm appl? Thanks, PaulN -- For information on using the Palm Developer Forums, or to

Cw 9.3 compiler has better stability (thanks Ben)

2004-02-25 Thread Regis St-Gelais
After a few days of using the new cw 9.3 compiler. I did not have a single crash while building my multi target application. Even when I build my (palmrez linker) sub target on the same build run as my main (palm os 68K linker with merge) target, it does not crash anymore (well not since I use the

RE: Cw 9.3 upgrading to Palm OS SDK 5.3

2004-02-25 Thread Muriph, Michael
I installed CW 9 applied the 9.2 patch. Used it for the last 4 weeks or so. Very basic uses. I just applied the 9.3 update. I assume I open buildall and hit make?? Can I apply the SDK 5.0 R3 just like the instructions I found on e-scribe. Looks like Ben wrote them for some folks. --

PilRC Designer latest version is 2.1.3.0??

2004-02-25 Thread Muriph, Michael
Is 2.1.3.0 the latest version of this tool? I just installed the 9.3 patch. If a new version comes up do we get these in CW updates? Is there a download page? -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Palm OS 6 (Cobalt), where can I get it?

2004-02-25 Thread Vu Pham
- Original Message - From: Zack Shenkle [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 11:06 AM Subject: Palm OS 6 (Cobalt), where can I get it? At the latest Palm Source, OS 6 was given out to attending

Re: Window 68K.c, Line:92, No shadow window found

2004-02-25 Thread Chris Tutty
From: Paul Nevai [EMAIL PROTECTED] Can someone tell me where this Tungsten T3 crash message is coming from and what it means: Window 68K.c, Line:92, No shadow window found Is Window 68K.c part of the OS or part of a Palm appl? From memory I saw this after bad logic caused a handle returned

Argument list types of 'sysTrap' handlers

2004-02-25 Thread Peyman Purparhizkar
Hi everybody, I wan to write a handler for 'sysTrapEvtDequeuePenStrokeInfo' What should be the return type an arguments list types for this Handler, is there any where in CW for Palm OS V9.0 documentation that this question is answered ? Thanks, Peyman.

Re: PilRC Designer latest version is 2.1.3.0??

2004-02-25 Thread Ben Combee
At 04:25 PM 2/25/2004, you wrote: Is 2.1.3.0 the latest version of this tool? As far as I know. I just installed the 9.3 patch. If a new version comes up do we get these in CW updates? Is there a download page? There will not be any future updates of this tool, since Falch.net is not

Re: Argument list types of 'sysTrap' handlers

2004-02-25 Thread Ben Combee
At 05:00 PM 2/25/2004, you wrote: Hi everybody, I wan to write a handler for 'sysTrapEvtDequeuePenStrokeInfo' What should be the return type an arguments list types for this Handler, is there any where in CW for Palm OS V9.0 documentation that this question is answered ? Nope. Hacks and

Re: MSL include problems the Web Services Toolkit recipe

2004-02-25 Thread Ben Combee
At 11:32 AM 2/25/2004, you wrote: I have another problem. As soon as I include the palmSharedLib.h file (following the recipe), I get the following error from within the library: illegal use of incomplete struct/union/class 'soap' palmSharedLib.h line 149 struct soap *soap = (struct

Re: About the HackMaster example program

2004-02-25 Thread Ben Combee
At 03:59 PM 2/24/2004, you wrote: Hi, Thank you for the reply, I fixed the corrupted ID's and installed the latest update (v9.3) but the problem still remains , here is a few important things that I should mention : 1 - I am using Palm m515 handheld and i debug the program with a Rom Image

Re: Cw 9.3 compiler has better stability (thanks Ben)

2004-02-25 Thread Mark Lussier
I [finally] upgraded to 9.3 as well, almost the second I saw it was available and yes, way way way better! thanks! Mark http://www.botzam.com Regis St-Gelais [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] After a few days of using the new cw 9.3 compiler. I did not have a single

Re: ExgSend and ExgDisconnect

2004-02-25 Thread apple k
Referring to the LionScribe's email. I have the similar problem with him. It wouldn't call the actual beam feature by using ExgSend unless we call the ExgDisconnect. It was creating me a lot of problem whereby user cancel the operation or no receiver detected. I did try to detect the error

Problem with MemHandle while reusing table

2004-02-25 Thread Pinaki Roy
Hi, i'm having problem with memoryhandle --- i 'm displaying data in a table and i 'm using customloadroutine to display text data and to populate the data i 'm calling a separate function where i'm using following code - for(column=0;columnkNumTextColumns;column++) for(row1=0;

Re: Program works on Tungsten T3 Simulator, but crashes real T3

2004-02-25 Thread vikram sonawane
Date: Tue, 24 Feb 2004 15:26:43 -0700 From: Jamie Macleod [EMAIL PROTECTED] Subject: Re: Program works on Tungsten T3 Simulator, but crashes real T3 Jeremy, Did you find the solution? I'm having the same problem with no T3 of my own to test it on. Jamie Jeremy [EMAIL PROTECTED]