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

2003-06-06 Thread Dave Lippincott
also take a look at these articles in the KB: http://makeashorterlink.com/?E578211D4 http://makeashorterlink.com/?Z188321D4 The operative theme here is not all devices have a unique number you can use. - Original Message - From: Aaron Ardiri [EMAIL PROTECTED] To: Palm Developer Forum

Re: Off-Screen-Window - full memory

2003-06-06 Thread Giorgos Sarris
Chris, I use POSE Handspring Prism, I have some MemPtr MemHandle but none Global. I have a SMART class for my application (I tried BIG also but is the same) Another question: I copy a transperent (From Constructor) bitmap to a off-screen-window and then how can I keep it transperent when and

Re: Off-Screen-Window - full memory

2003-06-06 Thread Chris Apers
I use POSE Handspring Prism, Did you check the dynamic heap size of this device ? I have some MemPtr MemHandle but none Global. I have a SMART class for my application (I tried BIG also but is the same) i was meaning C++ class. Another question: I copy a transperent (From

Re: Segments memory repartition with CWxx

2003-06-06 Thread Sebastian Voges
On Thu, 05 Jun 2003 14:17:50 +0200, Rodolphe Bréjaude wrote: 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

Re: Segments memory repartition with CWxx

2003-06-06 Thread Rodolphe Bréjaude
Thanks your help... - Original Message - From: Sebastian Voges [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, June 05, 2003 3:47 PM Subject: Re: Segments memory repartition with CWxx On Thu, 05 Jun 2003 14:17:50 +0200, Rodolphe

RE: Memory problem and Zire debugging

2003-06-06 Thread Armel Asselin
Hello, I did not dig into your problem much but I find it strange that you do MemHandleNew MemHandleLock ... MemPtrFree usually either you do: MemHandleNew MemHandleLock ... MemHandleUnlock MemHandleFree or MemPtrNew ... MemPtrFree hope it helps Armel -- For information on using the Palm

LstGetVisibleItems returns wrong value???

2003-06-06 Thread Don Heitzmann
What might cause LstGetVisibleItems to return a value of 1 less than the correct value? My PiLRC source for the list item says VISIBLEITEMS 5; when I call the function during initialization of the form, the value returned is 4. Another list on the same form, with 6 visible items, returns the

Not going to sleep..please help!

2003-06-06 Thread Ryan Bruner
I've now been struggling with this issue for 2 weeks, with no clue as to the cause. I posted questions twice, but no one has responded yet, so I'm trying yet again. My application sets an alarm. When the alarm fires, I respond to the trigger event by sounding the alarm, and then I respond

RE: Memory problem and Zire debugging

2003-06-06 Thread Mark Cameron
Yeah, I'm wondering if that's a problem... but according to the Palm OS Companion, MemPtrFree should do the same thing as using MemPtrRecoverHandle and then using MemHandleFree: When you no longer need the chunk, call MemPtrFree, which releases the chunk even if it’s locked. Am I out to

Re: Memory problem and Zire debugging

2003-06-06 Thread Ben Combee
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 Tungsten W. As I understand it, it is also not possible to debug directly on a Zire device

RE: Memory problem and Zire debugging

2003-06-06 Thread Ben Combee
At 10:52 2003-6-5 -0700, Mark Cameron wrote: Yeah, I'm wondering if that's a problem... but according to the Palm OS Companion, MemPtrFree should do the same thing as using MemPtrRecoverHandle and then using MemHandleFree: When you no longer need the chunk, call MemPtrFree, which releases

RE: Memory problem and Zire debugging

2003-06-06 Thread Keith Rollin
At 5:40 PM +0200 6/5/03, Armel Asselin wrote: I did not dig into your problem much but I find it strange that you do MemHandleNew MemHandleLock ... MemPtrFree Personally, I don't find this strange. It's what a lot of the built-in Palm OS applications do. usually either you do: MemHandleNew

Why the reset after new HotSync UserID

2003-06-06 Thread John C. Christensen
On a fleet of company owned Symbol units, we've decided to assign HotSync User Names and User IDs according to a company wide scheme. I've added provisions to my app to set these values on the handheld's. When the User Name and ID are set in the conventional way (during a HotSync, after a hard

Re: Why the reset after new HotSync UserID

2003-06-06 Thread Dave Lippincott
It may be due to OS updates. Hotsync will automatically download any OS updates to the unit after a reset. These all require a reset after installing. If I force a reset after I set User Name and User ID will it accomplish the same thing or is there something else I need to do? No. Hard

Re: Not going to sleep..please help!

2003-06-06 Thread Matt Hebley
You can stop the device going to sleep by playing with the auto off timer. See Evt***AutoOffTimer(). There are several functions that call this internally, but FrmDoDialog should not do this, unless you provide your own event handler and do it yourself. Other than that, I don't know what would

RE: Memory problem and Zire debugging

2003-06-06 Thread Mark Cameron
Ben Keith, Thanks for the information. I haven't tracked down the bug yet, but this is helping in my process of elimination. I'll probably find that my memory leak is caused by good old fashioned stupidity... but if I find anything worth noting I'll report back to this forum. Cheers, -Mark

Armlet's...

2003-06-06 Thread Mario Blancas
I have been working with armlets, but I am stuck with the following problem: When I am creating the Dll to run my program in the simulator, I have to use a function of 68k, that does the following: ... RGBColorType rgbColor; IndexedColorType idColor; // IdColor = WinRGBToIndex (*rgbColor);

Re: Arabic localization

2003-06-06 Thread tarekahf
I am now going though the documentaiton available in the Palm OS Developer Program Web Site. I found so many good stuff there, and this will keep me bussy for a while. My first application will be very simple: Input: Text Box to accept an un-formatted string of Arabic Characters. Process:

How to read Russian HotsyncID...

2003-06-06 Thread Jeff Diamond
SUMMARY: How does the PalmOS store Russian characters in a HotsyncID? DETAIL: My PalmOS app reads the HotsyncID using DlkGetSyncInfo(NULL,NULL,NULL,pszBuffer,NULL,NULL); This works for any 8-bit character set, which covers most European characters and accents, but of course not Asian

Rules for ARM - 68K

2003-06-06 Thread Jeff Ishaq
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 and byte ordering take effect, so it becomes more difficult.

Re: Not going to sleep..please help!

2003-06-06 Thread Ryan Bruner
Matt, I've only seen it on a real device. Actually, I haven't explicitly tested this on the emulator. But, I'm going to guess it is happening there as well. Well, I know that I'm not using Evt***AutoOffTimer() APIs. And, you're right...FrmDoDialog doesn't seem to be enough to do it. Even

Multi-Sync of Palms on a same PC at the same time

2003-06-06 Thread apple k
Hi, Does anybody know any third-party software supports for multiple of palms which do the synching on the same PC at the same time? As I learned that the Scout Sync basically used for synching over the Network but not sure how to do it in batch synchronization. We have our own prc and conduit.

PilRC problem with HackMaster

2003-06-06 Thread Raison Mikhael
I have a problem with PilRC. I work with prc-tools on a linux station, with the SDK 5 and with PilRC v2.9. Everytime I try to create a hack, PilRC returns me the same error : rcpfile.rcp:8: error : value expected, got This error is relative to the declaration of the traps : TRAP ID 1000

Re: PilRC problem with HackMaster

2003-06-06 Thread Chris Faherty
Raison Mikhael [EMAIL PROTECTED] wrote on 6/6/03 3:58 am: TRAP ID 1000 0xA132 for example. TRAP ID 1000 VALUE 0xA132 Somewhere in the versions it became picky about that. Can't remember which is the correct syntax. -- /* Chris Faherty [EMAIL PROTECTED] */ -- For information on using the

RE: Not going to sleep..please help!

2003-06-06 Thread Jeff Wheeler
I don't have any specific advice for how your code is causing this behavior, but from your descriptions, it appears that you've recently added something unrelated that is resulting in the problem. Perhaps you are corrupting memory, perhaps you corrupt a program pointer and run rogue code, etc.

Re: Not going to sleep..please help!

2003-06-06 Thread Ted Beisler
Hi, This is only a guess, but are you in some way skipping or not using SysHandleEvent in your event loop? Maybe you are somehow not allowing the system to put itself to sleep by not giving the system a chance to process the sleep event. -Ted At 09:28 PM 6/5/2003 -0400, you wrote: Matt,

WinPalette

2003-06-06 Thread [EMAIL PROTECTED]
Hi, how can I use my own palette to Draw a bitmaps( from table) I have to use Winpalette but the image always takes the default palette. thanks. ** SPECIAL ADSL ** L'ADSL à partir de 15,95 EUR/mois et le modem ADSL offert ? C'est en exclusivité chez Tiscali ! Pour profiter de

Re: RE: Not going to sleep..please help!

2003-06-06 Thread Ryan Bruner
The debug roms in the emulator are not reporting anything being corrupted, etc. I did try to cause the problem on the emulator, but I can't make the emulator EVER sleep regardless of my software. Apparently, it is always on. (Does someone know how to make the emulator actually sleep?) If I

Re: WinPalette

2003-06-06 Thread Aaron Ardiri
how can I use my own palette to Draw a bitmaps( from table) I have to use Winpalette but the image always takes the default palette. use 16bpp (also, make sure you have the palette in the bitmap) or, set your own palette using WinSetPalette() --- Aaron Ardiri [EMAIL

Information needed on viewing pdb files (Beginner)

2003-06-06 Thread Sadanandam O.
Hi all, Is there any way that I can view the .pdb files that are dragged from the palm emulator to the desktop. Please let me know if any viewer is available to view it. Thanks Regards, sadanand. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: Multi-Sync of Palms on a same PC at the same time

2003-06-06 Thread Mark Cameron
We use Asta SkyWire (www.astatech.com), and it's been great. It's a developers' tool that is inexpensive and almost royalty free (just a small per server fee if you're distributing software). We checked out everything on the market, and most tools were way out of our price range and came with

RE: Memory problem and Zire debugging

2003-06-06 Thread Sebastian Voges
That's kind of like cleaning up the kitchen before burning down the house (or am I the only one who does that?). how many housed did you already burn down? You should talk to somebody about that... :-) sebastian -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: Information needed on viewing pdb files (Beginner)

2003-06-06 Thread Dave Lippincott
A hex editor worked for me. I used Hackman to verify data was written correctly. If you want to use the contents, then go to your favorite Palm download site and search on view PDB or desktop PDB. If I remember correctly there are a couple of desktop viewers available. - Original Message

RE: Can't find 'code' resource in target application

2003-06-06 Thread Kevin OKeefe
Just a guess but did you check your link map and make sure one of your segments hasn't grown too big? K -Original Message- From: Richard Coutts [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 8:17 PM To: Palm Developer Forum Subject: Can't find 'code' resource in target

Re: How to read Russian HotsyncID...

2003-06-06 Thread Jeff Diamond
Ken, Thanks so much for the info. The problem then is that there's no universal standard as to how multicharacter characters might be implemented in a different country. It depends on their hack. The issue is that the person will enter their hotsync ID to get a registration code to unlock

Glyph

2003-06-06 Thread iyad abu-shaera
There is anyway to desplay the character that is belong to a specific glyph number? _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- For information on using the

bluetooth connection problem

2003-06-06 Thread Raymond Ho
With bluetooth connection, I use RFComm to communicate with bluetooth device as following : MemSet( btParams, sizeof(btParams), 0 ); // note this leaves the remote dev addr null btParams.role = btVdClient; // we are the client side btParams.authenticate = false; //No

Database showing separately in App Launcher

2003-06-06 Thread Geoff Thompson
I use the same Creator when creating my database, but it shows up separately in the App Launcher. Yet, when I delete the program (via App Delete), the database is also deleted. What am I doing wrong? -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Database showing separately in App Launcher

2003-06-06 Thread Ben Combee
At 12:48 2003-6-6 -0500, Geoff Thompson wrote: I use the same Creator when creating my database, but it shows up separately in the App Launcher. Yet, when I delete the program (via App Delete), the database is also deleted. What am I doing wrong? Your application does have type 'appl', right?

Re: Database showing separately in App Launcher

2003-06-06 Thread Geoff Thompson
Your application does have type 'appl', right? Are there any other apps with that same creator code on the device? Actually, no. It is a...ahem...HACK... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

MsaSuToTime and MsaimeToSu

2003-06-06 Thread Chris Apers
Hi, I'd like to know why if i call MsaSuToTime to convert Sound Unit to time (...) and call MsaTimeToSu with the returned MsaTime param i don't receive the previoulsy passed SU. ??? Thanks for your answer Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: Need help with sound stream on TT

2003-06-06 Thread Ron Nicholson
On Fri, 6 Jun 2003 09:57:53, c.prinoth writes: I wrote a piece of code which should be playing a continuous 440Hz tone, but all I get is the tone with noises, clicks and lots of pauses. Anyone have an idea of what I might be doing wrong? This looks like a 68k callback, where certain instructions

chinese characters

2003-06-06 Thread Hendrik Schreiber
Hi, This probably has been discussed before, but I couldn't find the right bit of information in the archives... I need to display Chinese characters on a Palm 4 device... and have no clue how. Here's the situation: - I know the unicode number of the characters. - What I don't know is how to

problem writing to database (beginner)

2003-06-06 Thread Matt Andreko
I have some code which just needs to write to a single table database. however, it's dying on a line, that i'm not sure how to fix. (i'm new to palm and c++) I've snipped most of the important parts here. It is dying on one of two lines, being: StrCopy(pChar, Orders\0); DmStrCopy(s, 0, pChar);

RE: problem writing to database (beginner)

2003-06-06 Thread Kevin OKeefe
Actually you probably didn't show us the important part: What is pChar? I'm guessing it is not actually pointing to a chunk of memory, so your StrCopy is clobbering memory. A debugging session would tell you that. Kevin -Original Message- From: Matt Andreko [mailto:[EMAIL PROTECTED]

RE: problem writing to database (beginner)

2003-06-06 Thread Keith Rollin
From: Matt Andreko [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 12:32 PM To: Palm Developer Forum Subject: problem writing to database (beginner) I have some code which just needs to write to a single table database. however, it's dying on a line, that i'm not sure how to fix.

RE: problem writing to database (beginner)

2003-06-06 Thread Kevin OKeefe
Damn, I did it again! I really should make sure there's not more at the end of the message! Oh well, Keith probably has you covered... K -Original Message- From: Kevin OKeefe Sent: Friday, June 06, 2003 12:41 PM To: Palm Developer Forum Subject: RE: problem writing to database

RE: problem writing to database (beginner)

2003-06-06 Thread dennis
Char * pChar = (Char*)MemPtrNew(5 * sizeof(Char*)); StrCopy(pChar, Orders\0); You have not allocated sufficient space in pChar. You probably don't want to say 5 * sizeof(Char *) as this allocates space for 5 pointers to characters. The base item is (char) not (char *).

RE: problem writing to database (beginner)

2003-06-06 Thread Sebastian Voges
On Fri, 06 Jun 2003 15:01:45 -0500, denni wrote: Char * pChar = (Char*)MemPtrNew(5 * sizeof(Char*)); StrCopy(pChar, Orders\0); You have not allocated sufficient space in pChar. You probably don't want to say 5 * sizeof(Char *) as this allocates space for 5

Re: problem writing to database (beginner)

2003-06-06 Thread Matt Andreko
ok, i've seen my mistakes there, and the application is running fine, no crashes. However, do you see any reason why in my data, there would be random letters placed there? i'm looking at the data when i'm pulling it off into a text file (this program is known to work already), and when reading

Re: Glyph

2003-06-06 Thread David Chevalier
iyad abu-shaera wrote: There is anyway to desplay the character that is belong to a specific glyph number? http://astro.uchicago.edu/home/web/valdes/pilot/AsciiChart/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Serial Manager callbacks with OS 5

2003-06-06 Thread Bill Heidler
No help at all available on this? I have implemented a Serial Wakeup handler, but my app crashes after 5 to 15 characters. Maybe I just have a bug somewhere, but I need to know if I am on a wild goose chase and this implementation will never work. The statement at the beginning of FAQ Answer

POL::CField::Replace()

2003-06-06 Thread Scott D . Schmitz
I have been running into an error (accessing memory which is no longer allocated) when using POL::CField and calling the Replace routine. Best I can tell, this happens when I have an active insertion point in the field and I replace the field's text. Replace() calls FldDrawField() which in

Re: problem writing to database (beginner)

2003-06-06 Thread Sebastian Voges
On Fri, 06 Jun 2003 15:52:46 -0500, Matt Andreko wrote: ok, i've seen my mistakes there, and the application is running fine, no crashes. However, do you see any reason why in my data, there would be random letters placed there? i'm looking at the data when i'm pulling it off into a text

Re: How to read Russian HotsyncID...

2003-06-06 Thread Ken Krugler
Hi Jeff, Thanks so much for the info. The problem then is that there's no universal standard as to how multicharacter characters might be implemented in a different country. It depends on their hack. The issue is that the person will enter their hotsync ID to get a registration code to

RE: :CField::Replace()

2003-06-06 Thread Maks Pyatkovskiy
I've never seen such issue. I rechecked it once again on Palm OS 3 - Palm OS 5 debug ROMs with no result. No comments. __ Best regards, Maks Pyatkovskiy -Original Message- From: [EMAIL PROTECTED] [mailto:bounce-palm-dev- [EMAIL PROTECTED]

Re: problem writing to database (beginner)

2003-06-06 Thread Matt Andreko
perhaps i'm stupid, or just inexperienced, but what could i do to stop this from happening? The data in this field will range from 3-20 characters long, so i just said 20 would be good. I don't mind if it has spaces after it, but i can't have random data, since the data is being parsed into

Re: Need help with sound stream on TT

2003-06-06 Thread news.palmos.com
I had a problem just like this, had me stumped for quite awhile. Finally I used sndInt16Little instead of the 8 bit unsigned format I was using, and presto no clicks. The sampled sound api apparently has bugs with other formats. Scott Ludwig Ron Nicholson [EMAIL PROTECTED] wrote in message

Re: Multi-Sync of Palms on a same PC at the same time

2003-06-06 Thread Sebastian Cancinos
I´d recommend XTND connect server. I used it a few years ago and it was great. I can imagine it is even better now. S. --- apple k [EMAIL PROTECTED] wrote: Hi, Does anybody know any third-party software supports for multiple of palms which do the synching on the same PC at the same time? As

Re: Database showing separately in App Launcher

2003-06-06 Thread Geoff Thompson
Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 12:48 2003-6-6 -0500, Geoff Thompson wrote: I use the same Creator when creating my database, but it shows up separately in the App Launcher. Yet, when I delete the program (via App Delete), the database is also

Need help wit sound stream on TT

2003-06-06 Thread c . prinoth
I wrote a piece of code which should be playing a continuous 440Hz tone, but all I get is the tone with noises, clicks and lots of pauses. Anyone have an idea of what I might be doing wrong? Here is what I am doing: int onoff; SndStreamRef stream1; const int Rate=11025; typedef struct { int

Re: Can't find 'code' resource in target application

2003-06-06 Thread Ben Combee
At 23:17 2003-6-5 -0400, Richard Coutts wrote: 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