How can I debug my conduit ?

2003-01-02 Thread Gianni Morelli
Hi Everybody, first of all a very good 2003 to everybody I apologize you for my last message partially incorrect. I'm trying to debug a CONDUIT AND NOT A PALM APPLICATIONbut nothing! This is my configuration: Macintosh G4 Mac OS X ver. 10.2.2 Code Warrior for Mac OS, Ver. 8.0 Code

JBuilder / J2ME / Clie

2003-01-02 Thread Killerloop
Hello, I developp application in JAVA with JBuilder and the MobileSet Edition. Everything works well but i want now to developp for the last CLIE (running under OS 5). As the POSE works with OS3.5, i've looked for an emulator for the OS5. Sadly, there is just a simulator for the OS5. And the

Memory Stick and databases

2003-01-02 Thread Alexandre Barreto
How can i open a database in a memory stick? how can i specify where to lock for the database since the DmOpenDatabaseByTypeCreator don't specify nothing about memory sticks thanx a lot _ MSN Messenger: converse com os seus

RE: How can I debug my conduit ?

2003-01-02 Thread SebastianM
Hi, I never tried that on Mac, but I guess it's the same you do in Win. If you are trying to debug the conduit side, you will need the debugger from the tool used to compile the conduit itself. On MS VC++, you set the executable for the debugging session to HotSync.exe, set the breakpoints

RE: Memory Stick and databases

2003-01-02 Thread Jeff Wheeler
Alexandre Barreto asked: How can i open a database in a memory stick? I'm not sure about all Clie's, but the newer ones have VFS support in the OS. You'll use VFS to access files and databases on a memory stick. Look at VFSFileOpen() and associated functions. (Older Sony devices may have a

who can keyboard replacement by notification

2003-01-02 Thread nybxvc [EMAIL PROTECTED]
Hi, can anybody give me the code to make a keyboard replacement? I think of a complete example using SysNotifyRegister and SysNotifyKeyboardDialogEvent. But only with a text field with already some text in it and a button to close this keyboard, to see how the text can enter at the

SD Cards VS Flash Cards

2003-01-02 Thread Dave Mottorn
I'm writing an application for the Handera 330 and I will probably make the choice of a card a configuration variable but I was wondering if anyone had any thoughts about which type of card is best for different situations. I would especially like to see performance data if anyone has any. One

Re: About synchonize between .PDB and text file on PC Desktop?

2003-01-02 Thread Matt Graham
Su Duy Trinh wrote: Thanks in advance, Trinh. Too much code and too big of a question. Filter out the unnecessary stuff and focus your question and try again. Matt -- For information on using the Palm Developer Forums, or to unsubscribe, please see

bsearch

2003-01-02 Thread Chris Apers
Hi, Is there a bsearch function in PalmOS ? Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How can I debug my conduit ?

2003-01-02 Thread Ben Combee
At 09:58 2003-1-2 +0100, you wrote: Hi Everybody, first of all a very good 2003 to everybody I apologize you for my last message partially incorrect. I'm trying to debug a CONDUIT AND NOT A PALM APPLICATIONbut nothing! This is my configuration: Macintosh G4 Mac OS X ver. 10.2.2 Code

Re: bsearch

2003-01-02 Thread Ben Combee
At 16:25 2003-1-2 +0100, you wrote: Hi, Is there a bsearch function in PalmOS ? SysBinarySearch for random arrays. SysFindSortPosition for databases. -- Ben Combee [EMAIL PROTECTED] CodeWarrior for Palm OS technical lead Palm OS programming help @ www.palmoswerks.com -- For information on

Re: SD Cards VS Flash Cards

2003-01-02 Thread Matthew Bevan
One situation would be entering transactions as fast as possible another would be use of the card as a short-term archive. In both cases I would use Compact Flash. (SD is a type of flash) CF cards are generally faster, and cheaper for larger densities. Less so now, but the difference is

Re: GCC Debugger

2003-01-02 Thread Thorne Ventura
Larry - When I execute your instructions, after about a minute I get: localhost:2000: Bad file descriptor Any idea why? Thanks. Thorne Ventura -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Can't get POPUPTRIGGER to work

2003-01-02 Thread Thorne Ventura
I'm following all the instructions in Palm OS Programming, but I can't seem to get a popuptrigger list to display. Here's my code... in .RCP file (embedded in a FORM): POPUPTRIGGER 1 ID MainPrefsMidiChannel AT (10 30 136 12) RIGHTANCHOR LIST 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Re: Can't get POPUPTRIGGER to work

2003-01-02 Thread Thorne Ventura
Ooops, I copied the wrong .H file lines. Corrected below. THanks for any help. Thorne Ventura wrote: I'm following all the instructions in Palm OS Programming, but I can't seem to get a popuptrigger list to display. Here's my code... in .RCP file (embedded in a FORM): POPUPTRIGGER 1

Re: Can't get POPUPTRIGGER to work

2003-01-02 Thread Ben Combee
At 12:50 2003-1-2 -0600, you wrote: I'm following all the instructions in Palm OS Programming, but I can't seem to get a popuptrigger list to display. Here's my code... in .RCP file (embedded in a FORM): POPUPTRIGGER 1 ID MainPrefsMidiChannel AT (10 30 136 12) RIGHTANCHOR LIST 1 2 3 4 5

Palm OS Simulator (debug) crashes

2003-01-02 Thread Daniel CAUNE
Hi, I encounter a problem while debuging my C++ project from Metrowerks CodeWarrior V9.0 on the Palm OS Simulator (debug, using the NTFullDbg_enUS ROM): the Palm OS Simulator immediately crashes. I notice that this crash only occurs when I select the features C++ Exception Handling and C++

Creating Launchers

2003-01-02 Thread JKingGrim
How do you draw a tAIB icon resource to the screen? Also, how do you set your launcher as the default? Finally, when a call to SysUIAppSwitch is made, does it return to where it left off in the code, or does it start the application over from PilotMain? Thanks, Jonathan King

Re: Palm OS Simulator (debug) crashes

2003-01-02 Thread Ben Combee
At 21:10 2003-1-2 +0100, you wrote: Hi, I encounter a problem while debuging my C++ project from Metrowerks CodeWarrior V9.0 on the Palm OS Simulator (debug, using the NTFullDbg_enUS ROM): the Palm OS Simulator immediately crashes. I notice that this crash only occurs when I select the features

Re: Encoding problem in Alerts

2003-01-02 Thread Ken Krugler
My problem concerns encoding as it could be seen from the title of this post. I've come across it when I tried to open my MyApp.prc file with a Constructor. When this trial was performed I was given a message which informed me that Constructor faced encoding problems in Talt (Alerts) resources.

Re: Creating Launchers

2003-01-02 Thread Ben Combee
At 15:11 2003-1-2 -0500, you wrote: How do you draw a tAIB icon resource to the screen? tAIB resources are Palm OS bitmaps, just with a different resource type and ID. Also, how do you set your launcher as the default? Look at Preferences.h. Finally, when a call to SysUIAppSwitch is made,

Re: Can't get POPUPTRIGGER to work

2003-01-02 Thread Thorne Ventura
Thanks, Ben. You were right on and I've got it working now. Thorne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Palm OS Simulator (debug) crashes

2003-01-02 Thread Daniel CAUNE
Bizarre! Are you using the debug OS image with the debug build of the simulator? Yes, that is! Palm Simulator: (...)\Palm Tools\Palm OS Simulator\Debug\PalmSim.exe palmsim.ini: ROM=E:\bin\PalmOS5.0SDK\Palm Tools\Palm OS Simulator\Debug\enUS\NTFullDbg_enUS.rom Can you try setting the

Re: Palm OS Simulator (debug) crashes

2003-01-02 Thread Ben Combee
At 21:57 2003-1-2 +0100, you wrote: Bizarre! Are you using the debug OS image with the debug build of the simulator? Yes, that is! Palm Simulator: (...)\Palm Tools\Palm OS Simulator\Debug\PalmSim.exe palmsim.ini: ROM=E:\bin\PalmOS5.0SDK\Palm Tools\Palm OS

Re: JBuilder / J2ME / Clie

2003-01-02 Thread Laurent THALER
Killerloop a écrit: Hello, I developp application in JAVA with JBuilder and the MobileSet Edition. Everything works well but i want now to developp for the last CLIE (running under OS 5). As the POSE works with OS3.5, i've looked for an emulator for the OS5. Sadly, there is just a simulator

Re: Palm OS Simulator (debug) crashes

2003-01-02 Thread Daniel CAUNE
I ran the Palm Simulator application independently from the CodeWarrior IDE, and then I ran the debug process: the problem occurs. So I've configured CodeWarrior IDE so that it runs the Palm Simulator when I launch the debug process: the problem doesn't occur anymore! I don't touch anything

how to get data out of sysNotifyEventDequeuedEvent

2003-01-02 Thread Danny Wong
hi, what is the correct way to get data out of sysNotifyEventDequeuedEvent? tried swapping endian but it doesn't work. thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: how to get data out of sysNotifyEventDequeuedEvent

2003-01-02 Thread Ben Combee
At 16:18 2003-1-2 -0700, you wrote: hi, what is the correct way to get data out of sysNotifyEventDequeuedEvent? tried swapping endian but it doesn't work. You need to both swap endians and also account for structure padding differences -- on the ARM CPUs, 32-bit values have to be aligned on

RE: how to get data out of sysNotifyEventDequeuedEvent

2003-01-02 Thread Danny Wong
i, I have this code and the simulator chokes on it. EventType event; UInt32 value; // copy the event memcpy((void *)event, ((SysNotifyParamType*)cmdPBP)-notifyDetailsP, sizeof(EventType)); value = EndianSwap32(event); do you have an example? thanks -Original Message- From: [EMAIL

PopupTrigger and Events

2003-01-02 Thread Bill Andreozzi
I'm finally getting around to 5-way navigation and have it working for just about every in the application with the exception of my popup-triggers. I have a series of popup triggers that work from left to right. If a user clicks left, I would like it to go to the trigger on the left.

Re: PopupTrigger and Events

2003-01-02 Thread Ben Combee
At 16:48 2003-1-2 -0800, Bill Andreozzi wrote: I'm finally getting around to 5-way navigation and have it working for just about every in the application with the exception of my popup-triggers. I have a series of popup triggers that work from left to right. If a user clicks left, I would like

Re: PopupTrigger and Events

2003-01-02 Thread James
Ben Combee wrote: When LstPopupList is running (such as when a popup trigger is activated), the device is running in a separate event loop from your application. AFAIK, there are no hooks available that would let you process events while the list is popped up. That's really a shame. It

Re: PilRC Designer and Bitmaps

2003-01-02 Thread Horace Ho
Thanks Ben. PilRC does not auto-map the bitmap's palette when the original bitmap: BITMAPFAMILYEX ID 1234 COMPRESS BEGIN BITMAP icon-lg-8-d144.bmp BPP 8 DENSITY 1 END is changed to: BITMAPFAMILYEX ID 1234 COMPRESS BEGIN BITMAP icon-lg-8-d144.bmp BPP 8 DENSITY 1 COLORTABLE END Ben Combee

Re: StrPrintF example needed

2003-01-02 Thread James
Mark Wilden wrote: Actually, that part of the code is valid: char *sdf; sdf = ABC; Four bytes of constant data have been allocated for ABC, and sdf is set to point at that data. If sdf isn't going to change, then char sdf[] = ABC; is equivalent, and saves the space for the

Re: Programmatic hard reset

2003-01-02 Thread Alex Robinson
Oliver wrote: Note that the latest iPAQ has a fingerprint scanner built-in. Spoofing them made waves a while back: http://www.counterpane.com/crypto-gram-0205.html#5 Alex -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: PopupTrigger and Events

2003-01-02 Thread Ben Combee
At 18:53 2003-1-2 -0800, you wrote: Ben Combee wrote: When LstPopupList is running (such as when a popup trigger is activated), the device is running in a separate event loop from your application. AFAIK, there are no hooks available that would let you process events while the list is popped

Re: Programmatic hard reset

2003-01-02 Thread Oliver
Spoofing them made waves a while back: That's a good one. Here's another interesting and more detailed story about biometric security systems and its reliability: http://www.heise.de/ct/english/02/11/114/ So I guess the HP device with built-in scanner is likely not much more (if at all)

Re: PopupTrigger and Events

2003-01-02 Thread Scott Dreslinski
That's really a shame. It certainly would be nice if the system let you specify your own callback to handle list events. (Being able to specify a custom list event handler also would allow developers to implement incremental searching in popup lists that don't have real list choices.)

CW9 ide issues

2003-01-02 Thread Scott Dreslinski
I have heard talk about it, but is there a scheduled plan to release an update to CW9 IDE with regards to code completion and Generating browser data from Language Parser? Half my api's show up as colored and right clickable to goto definition, and then there are others that don't, all in the

Re: Re: PopupTrigger and Events

2003-01-02 Thread Oliver
Check out the buttons prefs menu. I'd say this falls under your category of a bad idea... :-) Perhaps the designers were influenced by Bill G. and figured a dozen apps ought to be enough for everyone! ;-) Oliver __ Do you Yahoo!? Yahoo!

CW9 skips bitmaps in .rsrc

2003-01-02 Thread Horace Ho
Converted a previous CW8 project automatically into CW9. CW9 compiles and link without any error. However, when I load the .prc in the Simulator/Emulator, the 256 icon is not shown, only the bw one is shown. Then I just ran the app. Crashed. Later I found that the .prc file size is

Re: CW9 skips bitmaps in .rsrc

2003-01-02 Thread Horace Ho
The problem is solved. When I tried to create an empty CW9 (as I have no problem of building new project from CW9 so far) and migrate my code and resource to the empty project, I found the zero byte .rsrc is 4k is size! Constructor opens the proper .rsrc file in the hidden Resource.frk folder.

Re: CW9 ide issues

2003-01-02 Thread Ben Combee
At 00:18 2003-1-3 -0500, you wrote: I have heard talk about it, but is there a scheduled plan to release an update to CW9 IDE with regards to code completion and Generating browser data from Language Parser? Yes. We are planning on releasing a 9.1 patch at the end of January. There will be a