Re: Can PRC file modify it's own resources to give is a different icon under different circumstances?

2003-06-05 Thread Jefferson
Hi Doug, Aaron Hal Mueller, Thanks a lot for ur valuable insight on this subject. Without doubt I’m goin to implement different means of notification. I’m still trying to change the application icon in my Resource DB for knowledge purpose. Please help me in this approach. I’m having trouble

Can't reset Tungsten W

2003-06-05 Thread Mark Cameron
This is not my night... I attempted to debug on a Tungsten W device, and it crashed before the program loaded. Now I can't get it to reset at all. I don't have my doc's here, and I can't find anything on the Palm site about how to do a warm or hard reset on a Tungsten W. Is the hard reset still

How to draw bitmap in high density for Palm?

2003-06-05 Thread Sean Yang
Hi, I used following code to show a bitmap in high density for palm os5 simulator, the BMP_DOT_16BITS_HIRES is a 24x24 bitmap, when run my application, the displayed bitmap likes in low desity, it's very ugly! Why? I find the coordinates has been changed to native coordinate after used

Re: Can't reset Tungsten W

2003-06-05 Thread Thomas Damme
It definately works for me: pressing the Power-key, do the reset and wait for some time before releasing the Power. Then I'am asked to erase the data. Did you press the Power long enough? Thomas Mark Cameron [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] This is not my

RE: Can't reset Tungsten W

2003-06-05 Thread Mark Cameron
That worked... thanks a ton! Guess I just wasn't holding it for long enough. -Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Thomas Damme Sent: Thursday, June 05, 2003 12:54 AM To: Palm Developer Forum Subject: Re: Can't reset Tungsten W It

HotSync connection

2003-06-05 Thread htn
Hi, Is there a way to find out if the HotSync communication setting on my device is 'Local' or 'Modem' programatically? Thanks in advance, htn -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Free handle error entering EvtGetEvent

2003-06-05 Thread Chris Apers
Fixed ! maybe it is good to say how you fixed it :) so, the next person who does a search in the archives for this error or similar can get a hint of a possible solution? Yes, I want to move a database from a memory card and a temporaly rename the existing database on device in case of

Re: PRC Tools

2003-06-05 Thread Anton Balazs
And what about debugging? And multi-segments? And many more? :) I' m developing with Linux and use Emacs make pose for debug you can use ddd or gvd. They are both easy and confortable to use. Tony :-) -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Information needed on retrieving unique device-id of a palm

2003-06-05 Thread Sadanandam O.
Hi all, I am a C++ developer recently started working on PalmOS programming. I've problem of putting proper authorization to an application. Does anybody know how to retrieve the unique device ID or unique serial number of a palm device. I have been going through several websites, but I

Re: Information needed on retrieving unique device-id of a palm

2003-06-05 Thread Rodolphe Bréjaude
you have this : UInt16 GetNumeroSerie(UInt8** MonNumeroSerie) { UInt16 bufLen=0; SysGetROMToken (0, sysROMTokenSnum, MonNumeroSerie, bufLen); return bufLen; } - Original Message - From: Sadanandam O. [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday,

Re: Information needed on retrieving unique device-id of a palm

2003-06-05 Thread Aaron Ardiri
you have this : UInt16 GetNumeroSerie(UInt8** MonNumeroSerie) { UInt16 bufLen=0; SysGetROMToken (0, sysROMTokenSnum, MonNumeroSerie, bufLen); return bufLen; } you may also want to read this: http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_si

Re: Information needed on retrieving unique device-id of a palm

2003-06-05 Thread Aaron Ardiri
you may also want to read this: http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_si d=GNoWxZKgp_lva=p_faqid=131p_created=1032296706p_sp=cF9zcmNoPTEmcF9ncmlk c29ydD0mcF9yb3dfY250PTEmcF9zZWFyY2hfdGV4dD1hcmRpcmkmcF9zZWFyY2hfdHlwZT0zJnBf

RE: Where is my file? after I created a filestrem.

2003-06-05 Thread Sebastian Cancinos
From the PalmOS API Reference: When the fileModeTemporary open mode is used and the file type passed to FileOpen is 0, the FileOpen function uses sysFileTTemp (defined in SystemMgr.rh) for the file type, as recommended. In future versions of Palm OS, this configuration will enable the automatic

Segments memory repartition with CWxx

2003-06-05 Thread Rodolphe Bréjaude
Hello, I have trouble reparting my different sources .cpp into the 4 segments. What are the maximal size of each segment? Is there any rules to respect? I succeed the repartition, the exection is good on my Palm, but when I reboot the Palm, it is blocked on the PALM screen and only a HardReset

Off-Screen-Window - full memory

2003-06-05 Thread Giorgos Sarris
Hi all, I'm making a game with CW6 and C++. It wil have a lot of animation. That's why I need to make 3 big off-screen windows. The first is : 160x96 The second : 160x96 The third: 160x64 But when I create the third the POSE emulator can't start. (The OS5 simulator has no problem) I

Re: Where is my file? after I created a filestrem.

2003-06-05 Thread Aaron Ardiri
When the fileModeTemporary open mode is used and the file type passed to FileOpen is 0, the FileOpen function uses sysFileTTemp (defined in SystemMgr.rh) for the file type, as recommended. In future versions of Palm OS, this configuration will enable the automatic cleanup of undeleted

Re: Off-Screen-Window - full memory

2003-06-05 Thread Chris Apers
What's the depth of your offscreen ? What version of palmos do you use on POSE ? Dynamic heap size differ from a version to another and from a device to another. Do you allocate also memory with MemPtrNew or MemHandleNew ? Do you use a big class in your app ? Hi all, I'm making a game with

Can't find 'code' resource in target application

2003-06-05 Thread Richard Coutts
I just started getting the error Can't find 'code' resource in target application When trying to run the emulator in debug mode from CW8. I haven't seen this one before and can't find any documentation on it. I suspect my app has grown to the size that I'm running into some long jump

Re: Rules for ARM - 68K

2003-06-05 Thread Eric VERGNAUD
le 6/06/03 2:26, Jeff Ishaq à [EMAIL PROTECTED] a écrit : I need to read raw data from a OS preference resource. On OS4 machines, it's simply a matter of locking down the returned resource handle and casting it to the appropriate OS-defined structure pointer. However, on OS5, ARM alignment

Re: is there any XML parser for Palm OS 5?

2003-06-05 Thread Dave Lippincott
You don't need one specifically written for Palm. Any generic one will do. Try your favorite search engine. As a parting gift for playing with us today, goto Google.com and type Palm XML and click 'Google Search'. You won't be disappointed. - Original Message - From: Song Liu [EMAIL

Re: palm-dev-forum digest: June 03, 2003

2003-06-05 Thread Aaron Ardiri
So what does this mean for me? Is there a way to place it in the trap table? (does the function actually exist?) I only need this for debugging purposes, so if I could make it work on the emulator that would be fine. Will I have the same sort of problem with the cooresponding function for

Free handle error entering EvtGetEvent

2003-06-05 Thread Chris Apers
Hi, I have an MemoryMgr.c, Line:3583, Free Handle error on the simulator entering EvtGetEvent(event, evtNoWait); in my program. When i press the debug button, the debugger show me the following lines : 0x60105B7C( __Startup__ ) 0x600F960C( PilotMain ) 0x600F9CD6( ProcessNotify ) 0x60104FD0(

Audio/Video application

2003-06-05 Thread Surendra
Hi all, I want to develop a Audio/Video application on PalmOS. My application has to interact with the Audio/Video devices to play the content. The application should be hardware independent and it should work withall Palm devices running PalmOS5.x. Does PalmSDK provides API layer to develop

Re: Why won't it auto-shut-off?

2003-06-05 Thread Ryan Bruner
Well, I'm still having problems with auto-power-off working while I have an alarm displayed from my application. I'm looking for any advice anyone could offer. :-) I replaced my call to FrmCustomAlert with a custom form using FrmInitForm, FrmDoDialog, etc. This is fine, but it didn't help

Re: PRC Tools

2003-06-05 Thread Albert J. Franklin
An IDE that is easy on the wallet is VFDIDE (http://www.vfdide.com). There are three levels of support: Visual Form Development (VFD), VFD plus Code Development (CD), and VFD-CD plus source level debugging. Al - Original Message - From: Dan Patrutiu [EMAIL PROTECTED] Newsgroups:

Re: Audio/Video application

2003-06-05 Thread Palm Dev Forum
Yes and No. Since the API is generic and not tied to specific devices, but rather to interface types, it is No. But, the answer is Yes, because you can write our own driver or use somebody's library that uses the PalmOS API to control the interface hardware. I'm sure someone knows a good

Re: Can PRC file modify it's own resources to give is a differenticon under different circumstances?

2003-06-05 Thread Hal Mueller
Jefferson, I think you should take a moment to step back from worrying about this particular alligator, and go back to your original question of how to drain the swamp. The typical user does not spend long periods of time gazing at the Launcher. Even when the Launcher is active, you can't

Re: Free handle error entering EvtGetEvent

2003-06-05 Thread Chris Apers
Fixed ! Hi, I have an MemoryMgr.c, Line:3583, Free Handle error on the simulator entering EvtGetEvent(event, evtNoWait); in my program. When i press the debug button, the debugger show me the following lines : 0x60105B7C( __Startup__ ) 0x600F960C( PilotMain ) 0x600F9CD6( ProcessNotify )

Palm OS and Pocket PC programming tool

2003-06-05 Thread Regis St-Gelais
I have a big application on Palm OS that I need to port to Pocket PC. Since I will have to keep the two versions alive, I am asking myself if there is a multiplatform programming tool that would allow me to generate both the Palm OS and the Pocket PC version from the same sources (new ones of

Re: Can PRC file modify it's own resources to give is a different icon under different circumstances?

2003-06-05 Thread Douglas Handy
Hal/Jefferson, Even when the Launcher is active, you can't count on your app being displayed because the user might have only one category of apps visible. And not only that, but some launchers cache the icons so wouldn't necessarily display a different icon even if you did change it and the

Re: Palm OS and Pocket PC programming tool

2003-06-05 Thread Keith Rollin
At 11:30 AM -0400 6/4/03, Regis St-Gelais wrote: I have a big application on Palm OS that I need to port to Pocket PC. Since I will have to keep the two versions alive, I am asking myself if there is a multiplatform programming tool that would allow me to generate both the Palm OS and the Pocket

Re: Return back after Hotsync

2003-06-05 Thread Jeff Ishaq
At 01:16 PM 6/4/2003 +0300, iyad abu-shaera wrote: I tried the following code to return back after hotsync: case sysAppLaunchCmdSyncNotify: cmdPBP-purgeAlarm = true; SysCurAppDatabase( cardNo, appID ); AlmSetAlarm( cardNo, appID, 10101, TimGetSeconds() + 5, 0 );

RE: Palm OS and Pocket PC programming tool

2003-06-05 Thread Hendrik Schreiber
}There are such tools, but they typically require programming in a }language that's a higher level than C or C++. I don't know of any }tools for C/C++. } }If you're willing to go the higher route, there are tools like }NSBasic, OrbForms, and SuperWaba that offer Palm and Pocket PC }variants.

Re: Palm OS and Pocket PC programming tool

2003-06-05 Thread José dos Santos Machado
... you could also try Java to keep at least the business logic platform independent. The UI won't necessarily work nicely with Java as the UI offered by Palm is too poor. Or you could move to Lua (there are ports to PalmOS and PPC) and keep all your business logic, and also don't worry with the

Re: Palm OS and Pocket PC programming tool

2003-06-05 Thread Aaron Ardiri
There are such tools, but they typically require programming in a language that's a higher level than C or C++. I don't know of any tools for C/C++. while 'tools' may not exist at the moment to do this - it doesn't mean that it cannot be done. we currently have a single source base (not

POLConstructor (NewBee)

2003-06-05 Thread Robert Cheezem
In the tutorials for POL, the constructor was used to create resources. In the stationary/wizard for POL, the PILRC is used. When I try to switch from the PILRC to the constructor, I get an error when adding the resource file. I do the following: 1) Delete the *_rsc.rcp file from the Resource

Re: Free handle error entering EvtGetEvent

2003-06-05 Thread Aaron Ardiri
Fixed ! maybe it is good to say how you fixed it :) so, the next person who does a search in the archives for this error or similar can get a hint of a possible solution? --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70

Re: Palm OS and Pocket PC programming tool

2003-06-05 Thread David Thacker
Regis St-Gelais [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a big application on Palm OS that I need to port to Pocket PC. Since I will have to keep the two versions alive, I am asking myself if there is a multiplatform programming tool that would allow me to generate

RE: POLConstructor (NewBee)

2003-06-05 Thread Maks Pyatkovskiy
POL tutorial was written for CodeWarrior 8 and Constructor. You may bypass first statements which describe how you should create the first app on CW8 (now you have a powerful POL App Wizard) and simply open project tutorial from Step 1 folder. After opening this project, you can continue with

Re: Palm OS and Pocket PC programming tool

2003-06-05 Thread José dos Santos Machado
Aaron Ardiri escreveu: There are such tools, but they typically require programming in a language that's a higher level than C or C++. I don't know of any tools for C/C++. while 'tools' may not exist at the moment to do this - it doesn't mean that it cannot be done. we currently have a single

Re: Problem on Double Density in ICONFAMILYEX

2003-06-05 Thread Ben Combee
At 09:02 2003-6-4 +0800, Eric Lo wrote: Is it possible to use the executable of PilRC instead of the plug-in in CW8? No. V8 doesn't have a linker that will accept PRC or RO files. You'll need to upgrade to V9 to get that capability. At 00:18 2003-6-4 +0800, Eric Lo wrote: Well. I can compile

Re: Codewarrior and STL

2003-06-05 Thread Ben Combee
At 11:55 2003-6-4 +1000, Kristian Penno wrote: Has the STL implimentation shipped with Codewarrior been updated since version 7? Yes. V8 shipped with a version of MSL from our CW Pro 7 product, and V9 shipped with a MSL based on the Pro 8 release. -- Ben Combee [EMAIL PROTECTED] CodeWarrior for

Re: linker error

2003-06-05 Thread Ben Combee
At 10:16 2003-6-4 +, swatts wrote: I made a sample project in code warrior the one which is given in its documentation,BUt after adding resources i tried to compile and run it but ti gives linker error ie PALMREZ ERROR:can't find pict#0 for tbmf#1000. how to debug and what to do .how we have

Re: Multithreaded Problem

2003-06-05 Thread Dawn Margerum
you can sort of thread using the new sound manager create stream callback stuff. This would be an os5 only solution however. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Memory leaks from FrmDrawForm.

2003-06-05 Thread Todd Niec
My program is suddenly giving me two memory leaks. These appear to have something to do with the display of the main form. The form is not marked to save the bits behind the form, which is what it almost seems to be doing. Coudl the be because I am closing the form wrong? I am just calling

Re: Memory leaks from FrmDrawForm.

2003-06-05 Thread Ben Combee
At 15:53 2003-6-4 -0500, Todd Niec wrote: My program is suddenly giving me two memory leaks. These appear to have something to do with the display of the main form. The form is not marked to save the bits behind the form, which is what it almost seems to be doing. Coudl the be because I am

Re: Memory leaks from FrmDrawForm.

2003-06-05 Thread Keith Rollin
At 3:53 PM -0500 6/4/03, Todd Niec wrote: My program is suddenly giving me two memory leaks. These appear to have something to do with the display of the main form. The form is not marked to save the bits behind the form, which is what it almost seems to be doing. Coudl the be because I am

Re: Palm OS and Pocket PC programming tool

2003-06-05 Thread Jamie Macleod
http://www.penright.com/ I know nothing about this tool. Jamie Regis St-Gelais [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a big application on Palm OS that I need to port to Pocket PC. Since I will have to keep the two versions alive, I am asking myself if there is a

Text pixel size.

2003-06-05 Thread Eitan
Hi all, I draw text directly to screen using WinPaintChars and I like to know the actual size of this text on screen (in pixels), Is there a way that I can obtain this information? Thanks in advance, Eitan __ Do you Yahoo!? Yahoo! Calendar - Free online calendar

Re: Text pixel size.

2003-06-05 Thread Ben Combee
At 13:50 2003-6-4 -0700, Eitan wrote: Hi all, I draw text directly to screen using WinPaintChars and I like to know the actual size of this text on screen (in pixels), Is there a way that I can obtain this information? FntCharsWidth and similar functions will do this. -- Ben Combee [EMAIL

Re: Serial Manager callbacks with OS 5

2003-06-05 Thread Bill Heidler
Can someone from PalmSource elaborate on this problem? This is a major issue for a lot of people like me who are developing an interface to (asynchronous) Serial devices! There is a Knowledge Base FAQ entry (Answer ID 413) that states the following: a.. SysNotifyBroadcastFromInterrupt is non

Re: is there any XML parser for Palm OS 5?

2003-06-05 Thread Chris Tutty
From: Dave Lippincott [EMAIL PROTECTED] You don't need one specifically written for Palm. Any generic one will do. Hmm, that disagrees with quoted experience from this group. Most desktop implementations are heavily recursive and therefore stack-heavy which is why, if my memory serves me

Re: Cannot debug with CW8 or transfer ROM with Tungsten T

2003-06-05 Thread Bill Heidler
On 2002-12-27 Ben Combee wrote: You can download the Palm OS 5 Simulator and debug to that using V8, although its best to update to V8.3 to fix some connection problems using that setup. Can you please elaborate on the connection problems? What are the workarounds, or is it definitely better

Re: Cannot debug with CW8 or transfer ROM with Tungsten T

2003-06-05 Thread Ben Combee
At 16:12 2003-6-4 -0700, Bill Heidler wrote: On 2002-12-27 Ben Combee wrote: You can download the Palm OS 5 Simulator and debug to that using V8, although its best to update to V8.3 to fix some connection problems using that setup. Can you please elaborate on the connection problems? What are

vchrHardCradle and vchrHardCradle2

2003-06-05 Thread htn
Hi, Please tell me what is the difference between these two keys. I searched eScribe and Palm OS Reference Manual but couldn't find any info about them. Thanks in advance, htn -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online

Re: is there any XML parser for Palm OS 5?

2003-06-05 Thread Song Liu
Thank you Chris, it does help. Chris Tutty [EMAIL PROTECTED] news:[EMAIL PROTECTED] From: Dave Lippincott [EMAIL PROTECTED] You don't need one specifically written for Palm. Any generic one will do. Hmm, that disagrees with quoted experience from this group. Most desktop

Re: Unexplained Beep

2003-06-05 Thread Kristian Penno
Never mind The beep goes away if I set handled to true before returning from the form event handler KP Kristian Penno [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I currently have this code to show a form, the form does some stuff (stuff currently commented out), and revert back

Memory problem and Zire debugging

2003-06-05 Thread Mark Cameron
Hi there, I have a two-part question relating to an out of memory error on the Zire m150. First of all, I've seen talk about a Zire emulator that's available through the Palm SG Developer Program. I've signed up and found simulators for the Z71, Tungsten T Tungsten C, and an emulator for the