ctrl key on some keyboards?

2005-05-04 Thread Greg Parker
pssh (an ssh client) wants to recognize any control key as such. Some external keyboards set event.keyDown.modifiers|controlKeyMask, but others apparently don't, according to some of pssh's users. Is there any way to recognize the control key on such keyboards? Watching for undocumented events

Re: Codewarrior 2 targets broken, can't create new

2005-05-04 Thread Ben Combee
At 11:53 PM 5/4/2005, you wrote: 2 of my 4 targets have broken - they refuse to recognise a large section of the defines in my Rsc.h file 2 work fine Here's the wierd bit if I delete a bad target and create a new target (cloning it from a good target) then the new target won't work either. What is

Codewarrior 2 targets broken, can't create new

2005-05-04 Thread Rob
2 of my 4 targets have broken - they refuse to recognise a large section of the defines in my Rsc.h file 2 work fine Here's the wierd bit if I delete a bad target and create a new target (cloning it from a good target) then the new target won't work either. What is going on?? Rob -- For infor

GLib with CodeWarrior

2005-05-04 Thread Bernie Tschirren
I created some tools so you can call into GLibs from CodeWarrior. Its had minimal testing, but if people are interrested I will put it up on a website. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

NetLib function on treo 600, 650

2005-05-04 Thread softwareinsight
Somebody knows if I can continue using the NetLib socket functions on the palmOS 5.2 and 5.4 in treo 600 and 650? Thank you Miguel Conde -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Sattelite Forms error on the Treo 600

2005-05-04 Thread softwareinsight
I am developing on the sattelite forms 6.0.1. I have a problem whit the PalmOS 5.2.1 on a treo 600 device. I was debug the aplication on the PalmOS 5.2 Simulation and ocurr the same error, this is the message error: Internal Error: Failure in File DynBmp.c Line 192 Any body know something about it.

Re: debug treo - is it possible?

2005-05-04 Thread Ton van Overbeek
On 2005-05-05, IanB <[EMAIL PROTECTED]> wrote: > libusb-win32 filter locks my machine up and won't uninstall. I can't > reinstall, either. Help. > Under W2k/XP it starts a process called libusbd-nt.exe. Start Windows Task Manager, find it under Processes, and kill it before you try to uninstall

Re: shut down problem

2005-05-04 Thread Ton van Overbeek
On 2005-05-04, Scott Erickson <[EMAIL PROTECTED]> wrote: > Henk, > Could this be the reason... I have a struct to hold my app settings. I > make one declaration of that to be global. In appstart i allocate memory > for it with memptrnew and a temporary memprt. then i use in in many > func

Re: debug treo - is it possible?

2005-05-04 Thread IanB
libusb-win32 filter locks my machine up and won't uninstall. I can't reinstall, either. Help. "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > No. The Treo 600 doesn't handle USB debugging through USBPort.dll... It might work with gdb using the USB-to-TCP bridge that w

charge for contract work?

2005-05-04 Thread Mishael Kim
just wondering how much you guys charge for contract work. It's a fairly small simple application that I think should take about a week to finish. Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Bluetooth printing help

2005-05-04 Thread Palm
the srmclose right after the srmExtOpen is a typo in the email. it is not there in my code. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

System not handling other Vrocker events besides vchrRockerCenter

2005-05-04 Thread Trevor Majula
functionHandle(event) { keyDownEvent: if(TxtChrIsHardKey(modifiers, chr) { HandleNxtCategory(...); } else { if(EvtGetVirtualChr(chr)) { switch(chr) { Vc

Bluetooth printing help

2005-05-04 Thread Palm
I've written some code to send a simple string to a bluetooth printer. I've removed the error checking for ease of reading but i do not get any errors at any point. I do not however get anything to print on the printer. The bluetooth printer adapter led does blink indicating it is receiving

Re: debug treo - is it possible?

2005-05-04 Thread Ben Combee
No. The Treo 600 doesn't handle USB debugging through USBPort.dll... It might work with gdb using the USB-to-TCP bridge that was just released. -Original Message- From: "IanB" <[EMAIL PROTECTED]> Subj: debug treo - is it possible? Date: Wed May 4, 2005 6:04 pm Size: 222 bytes To: "

treo 600 winxp usb driver

2005-05-04 Thread IanB
Win xp dosen't recognize the usb for treo 600. Is there a palmone usb driver available? Ian. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: DmFindResource() question

2005-05-04 Thread Robert Moynihan
geoff wrote: hey, I'm trying to iterate through my database with dmfindresource() to find all resources of one type. in the 68k sdk docs it says that dmInvalidRecIndex is returned when it cannot find any record of that id and type(in this case). but when i compile with pods1.1 palm os 5 it says

DmFindResource() question

2005-05-04 Thread geoff
hey, I'm trying to iterate through my database with dmfindresource() to find all resources of one type. in the 68k sdk docs it says that dmInvalidRecIndex is returned when it cannot find any record of that id and type(in this case). but when i compile with pods1.1 palm os 5 it says it is undeclare

debug treo - is it possible?

2005-05-04 Thread IanB
Is it possible to debug a treo 600 usb using cw9? Anyone know the secret? Thanks, Ian. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Graffiti state always up on T5 Simulator

2005-05-04 Thread Stadin, Benjamin
Hi, I've a strange problem with the Graffiti shift on the T5 Simulator. I set the state down in the event handler on the form after the first char is received and move the Graffiti shift for landscape and dia state. It's working on other normally on the Garnet SDK 5.4 Simulator, but not on T5

Re: shut down problem

2005-05-04 Thread Chris Tutty
From: "Scott Erickson" <[EMAIL PROTECTED]> > functions with no problems. then in appstop i try to free the memory with > MemPtrFree(currentSettings); yet the simulator tells me i have an unfreed > chunk (same as the value of the pointer to the variable), and the device > softresets at this point.

Re: shut down problem

2005-05-04 Thread Scott Erickson
Henk, Could this be the reason... I have a struct to hold my app settings. I make one declaration of that to be global. In appstart i allocate memory for it with memptrnew and a temporary memprt. then i use in in many functions with no problems. then in appstop i try to free the memory w

RE: MSL - A usefull tool or a big fake

2005-05-04 Thread John Sutton
I agree, we're really not supposed to say thanks, but there are a few contributors here that have really saved my bacon on a number of occasions, so to them I say thank you and... Viva Argentina!!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Salvador

Re: MSL - A usefull tool or a big fake

2005-05-04 Thread Salvador Buendia
I know one is not supposed to send a post just to say thanks, but both of you really help me. So, thank you very much. For anything I could help, don't doubt to contact me. I know you won't ask me something about Palm cause you both know much more than me, but maybe you need to know something abou

Re: Newbie 64K limit

2005-05-04 Thread Logan Shaw
Andy Bell wrote: I am currently trying to port a library to Palm. In the library there is a table used which it generates itself. My problem is that the size of this table is 64kb and I can't create this on the heap. I have toyed with the idea of creating the table in two portions but I am wonde

Re: Newbie 64K limit

2005-05-04 Thread Miguel Angel Sotomayor Hernandez
You can use feature memory to store your table wich has no limit other than the available space. You can't write directly to it, you must use DmWrite instead. However, you can have a pointer to your table in feature memory and read directly from it. You need something like this: void *tableP; v

Newbie 64K limit

2005-05-04 Thread Andy Bell
Hi All, I am currently trying to port a library to Palm. In the library there is a table used which it generates itself. My problem is that the size of this table is 64kb and I can't create this on the heap. I have toyed with the idea of creating the table in two portions but I am wondering if

Re: shut down problem

2005-05-04 Thread Henk Jonas
Scott Erickson wrote: Hi, Befor today my app was running pretty smooth. I did some work to it, and now when ever i try to exit the app with the home button, i get a soft restart. in the debugger it seems to make it past the AppStop() function without errors, then after leaving pilotmain, i

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-04 Thread Rob Larson
One undocumented feature that you should probably be interested in is the entry point for Arm native applications. Arm native applications have resources with names like ARMC, and do not have any CODE resources. In any case, it's the first instruction of the ARMC resource. -- For informatio

RE: PODS and multi-segment applications

2005-05-04 Thread Jonathan King
> > And that's it. > > Thanks, I'll try that. There's probably a bit more - reading through > various comments suggests that I have to somehow put > > MULTIPLE_CODE_SECTIONS = TRUE > > in the makefile. Except that the makefile of the managed make file > projects says not to edit it directly. I'l

RE: Keylock on Treo 650

2005-05-04 Thread Hays, Jonathan \(GE Infrastructure\)
You can use something like this: UInt32 keyguard = 0; HsAttrSet(hsAttrKeyboardLocked, 0, &keyguard); Hope this helps! -Jon --- Jonathan Hays Palm OS Certified Developer http://hazelware.luggle.com --- -Origin

Re: shut down problem

2005-05-04 Thread Scott Erickson
sorry for another BTW, on the device, after i run it once, and hit home and get the soft reset, the app does a soft reset everytime i try to load it again. -- Scott Erickson Software Development Team, FB-4, Inc. [EMAIL PROTECTED] "Scott Erickson" <[EMAIL PROTECTED]> wrote in message news:[EM

Re: shut down problem

2005-05-04 Thread Scott Erickson
BTW, once i hit ok on the error in the debugger, i get an error on the sim that says unfreed chunk. It says the user ID and the location. -- Scott Erickson Software Development Team, FB-4, Inc. [EMAIL PROTECTED] "Scott Erickson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > H

RE: Satellite Forms V6.0.1 is now available!

2005-05-04 Thread Krzemien, Joseph
We just purchased the product... -Original Message- From: David Thacker [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 10:02 AM To: Palm Developer Forum Subject: Satellite Forms V6.0.1 is now available! Satellite Forms V6.0.1 is now available! ---

Re: Is there a good VFS lib to read pdb files?

2005-05-04 Thread Logan Shaw
Jim Billmeyer wrote: Does anyone know of a good VFS lib to read pdb files that are stored in the VFS storage area? The lib would need to leave the pdb in the VFS and not import it back into the Palm's internal memory for performance reasons. The VFS Manager includes two functions that could help

shut down problem

2005-05-04 Thread Scott Erickson
Hi, Befor today my app was running pretty smooth. I did some work to it, and now when ever i try to exit the app with the home button, i get a soft restart. in the debugger it seems to make it past the AppStop() function without errors, then after leaving pilotmain, it jumps to assembly co

Satellite Forms V6.0.1 is now available!

2005-05-04 Thread David Thacker
Satellite Forms V6.0.1 is now available! Satellite Forms is a visual integrated software development environment (IDE) that makes it easy to create custom applications for Palm OS and Pocket PC 2002/2003 devices. A full featured 30 day Trial Version is avail

Re: Where is the entry point of the applications?

2005-05-04 Thread Chris Brooks
so 6% is 'popular' - I think not. "Majority" means "more than the others" (or "more than the half" in some contexts). In that aspect, the majority of computer users are Windows users. "Popular" means that there is a large enough population of users - even though other OSes might have even more us

Re: Where is the entry point of the applications?

2005-05-04 Thread Dr. Vesselin Bontchev
> Exactly what you deserve when you download a virus load it onto > your PDA and run it You might think so but the ethical principles of my profession dictate that I avoid such "blame the victim" attitudes. Our job is to protect the user - not to explain him how stupid he has been to do the idio

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-04 Thread Dr. Vesselin Bontchev
> Despite the public documentation, Palm OS is a multi-tasking OS. I'm aware of that. I have myself posted here links to a program that demonstrates this: http://flippinbits.com/twiki/bin/view/FAQ/HowDoICreateAThread That program definitely works under PalmOS 3.5 - maybe even under some of the

Re: Where is the entry point of the applications?

2005-05-04 Thread Chris Brooks
>> What are you referring to - the Phage virus? Yep, once you run it, all applications >> that are in the RAM just stop working Exactly what you deserve when you download a virus load it onto your PDA and run it, there are an awful lot of steps to getting a virus on your PDA, plus it's not exa

Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent

2005-05-04 Thread Dr. Vesselin Bontchev
> > > All programs can run in Palm OS "background" all the time. > > > >Nope, they don't. They reside in memory all the time - but at any > >given time, only one of them is actually running. They aren't given > >timeshares or even timer tick interrupts by the OS, either - > >something which is used

re: Detecting HotSync completion

2005-05-04 Thread Dr. Vesselin Bontchev
Well? Another one of my questions that nobody knows the answer of? :-) OK, the first question I can answer myself by writing a test application. But what about the second question? Is it impossible to detect HotSync completion on devices running PalmOS 3.0? Regards, Vesselin -- For information

Is there a good VFS lib to read pdb files?

2005-05-04 Thread Jim Billmeyer
Hello, Does anyone know of a good VFS lib to read pdb files that are stored in the VFS storage area? The lib would need to leave the pdb in the VFS and not import it back into the Palm's internal memory for performance reasons. Thanks, Jim B -- For information on using the Palm Developer Forums,

RE: PODS and multi-segment applications

2005-05-04 Thread Dr. Vesselin Bontchev
> And that's it. Thanks, I'll try that. There's probably a bit more - reading through various comments suggests that I have to somehow put MULTIPLE_CODE_SECTIONS = TRUE in the makefile. Except that the makefile of the managed make file projects says not to edit it directly. I'll have to figure

Codewarrior Unidentified Identifiers (lost resources)

2005-05-04 Thread Rob
Codewarrior has suddenly lost the identifiers for two of the targets in my project. It stops recognising a large number of the identifiers in the constructor Rsc.h file. I didn't notice changing anything to cause this. Now my release and debug builds won't build though my ota ones will. I

Re: Keylock on Treo 650

2005-05-04 Thread Robert Moynihan
Neil Whitworth wrote: Is there any way to programaticaly disable the keylock on a treo 650 (and 600)? I know we can handle the hsChrKeyboardLock keyDown event, but is there anyway do stop it from being posted in the first place? We use the exchange manager to post some mesages localy betweek ap

re: Memory Card

2005-05-04 Thread Dr. Vesselin Bontchev
Your main problem is re-using one and the same variables ("fref" and "it") for different enumerations. Use different variables for the iterator and the reference for the three levels - volume, directory and file - and that problem will go away. Also, your directory traversal algorithm looks wro

Re: USB Communication

2005-05-04 Thread Roger Stringer
Subject: USB Communication From: "Mansingka, Dipanshu Sushilkumar" <[EMAIL PROTECTED]> Date: Wed, 4 May 2005 10:54:54 +0530 I am connecting multiple Treo 600 devices to the usb port. Softick PPP already supports this capability, so why not just license their software ? Roger Stringer Marietta S

re: Internet via cellphone

2005-05-04 Thread Joao Paulo Lima
Hi, I've solved this problem. Follows up the script for communicating the Palm with Motorola V600 via cable (Gomadic cable) and accessing the Internet via GSM GPRS: Go to SYSTEM\PREFS\CONNECTION Click NEW Give the connection a name, e.g. GPRS In CONNECT TO: select LOCAL NETWORK; In VIA: s

re: All sockets are closed after 5 minutes

2005-05-04 Thread Joao Paulo Lima
Hi, I've realized what was happening: I was doing an assynchronous communication using netLibSelect and every time I checked for incoming/outcoming data on my socket (every 10 ms), I was opening netLib, doing what I want, and then closing. When I changed my code to open netLib on AppStart and c

Re: Memory Card

2005-05-04 Thread Jan Slodicka
> // here my code brakes, even if I am using a Clie Simulator that has a Card, And I have files on my card. Maybe you could have a look into VFSDirEntryEnumerate description... BTW, from the puristic point of view I advise against the coding style if( !function() )... when the function return

RE: PODS and multi-segment applications

2005-05-04 Thread Jonathan King
> I see... Is there an easy way to convert my managed make project into a > multi-segment one - or do I have to create a new, empty standard make > project and import the existing sources to it? Actually, I compile a multi-segment managed make project very easily with PODS. All I did was add a .de

Re: Where is the entry point of the applications?

2005-05-04 Thread Dr. Vesselin Bontchev
> Wow, that's really going to cripple your system isn't it. What are you referring to - the Phage virus? Yep, once you run it, all applications that are in the RAM just stop working - because it overwrites them all. That's one of the reasons why it never became widespread - a virus that immedia

Re: PODS and multi-segment applications

2005-05-04 Thread Dr. Vesselin Bontchev
> Btw, how do you know the size of your section? For instance, by using FileZ. Select the application you're interested in, choose Edit from the menu, position the cursor over the "code #1" item of the list that is displayed and the "Size:" label of the form will display the size of that resour

re: Does anyone know of a good VFS lib to read pdb?

2005-05-04 Thread Dr. Vesselin Bontchev
What's wrong with just using the API (VFSFileDBGetRecord)? Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: MSL - A usefull tool or a big fake

2005-05-04 Thread Dr. Vesselin Bontchev
> But, how can I change an fgetc() function? For instance, Int8 fgetc (FileHand stream) { Int8 c; Err err; FileRead (stream, &c, sizeof (c), 1, &err); return (err == errNone) ? c : fileErrEOF; } Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsu

Memory Card

2005-05-04 Thread Orasanu Iuliana
Hy I want to find all the file from a memory card, from all the directories. My code looks like this: Char dir[80]="" UInt16 vn; UInt32 it; FileRef fref; FileInfoType finfo; Char names[10][80]; ListType *list; char tmppath[11]; char **lista= (char**) MemPtrNew(sizeof(char*)*80); it = vfsItera

Re: Popup Triggers

2005-05-04 Thread Dr. Vesselin Bontchev
> Im using Palm OS C/C++ DS, and the Palm OS Resource Editor. Would > I do everything the same as in PilRC? No, of course not - the Resource Editor uses a different format. Things to note: 1) Make sure the "Usable" checkbox of the list is *not* checked. This corresponds to the "NONUSABLE" claus

Re: Simple code in Pascal -> C

2005-05-04 Thread Andre Augusto
Ok! Thanks to everybody for your help! See ya! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Simple code in Pascal -> C

2005-05-04 Thread Chris Brooks
Andre, This line... StrCopy( FieldText, RecordPtr[*Offset]); Should read StrCopy( FieldText, RecordPtr+(*Offset)); The problem you have there is because using [] means an index into an array... for example char test[10]; test[3] = 'A'; this code makes the fourth character (indexes start at z

Re: T5 database HotSync file size problem

2005-05-04 Thread Mikhail Barashkov
Due to T5 memory organization, you lose an average of 256*n bytes on a database, where n is number of records. So the only solution is to decease num. of records in database. Mikhail Barashkov Thanks Mikhail, In my case the loss is linear as you suggested, but it is about 494 bytes per record.

Re: T5 database HotSync file size problem

2005-05-04 Thread Jan Slodicka
Hi T5 uses 512 By allocation units, early T650 as well, T650 Sprint update went down to 36 By. E2 might use also 36 By. (Based on my fast check on the E2 emulator.) Every DB record takes 1 or more allocation units. So if your average record size is 50 By, then the DB size will grow 10 times on T5

Keylock on Treo 650

2005-05-04 Thread Neil Whitworth
Is there any way to programaticaly disable the keylock on a treo 650 (and 600)? I know we can handle the hsChrKeyboardLock keyDown event, but is there anyway do stop it from being posted in the first place? We use the exchange manager to post some mesages localy betweek apps, and if the device

Re: Simple code in Pascal -> C

2005-05-04 Thread Andre Augusto
Thanks for your help! One more thing... can you tell me if this function is correct? void SetFieldValue( FieldPtr field, UInt16 fieldLen, UInt16 *Offset) ///Problema em ler o valor Offset { MemHandle FieldTextHandle; const char* FieldText; DBRecordPtr RecordPtr; FieldTextHandle = FldGetTextH

Re: Where is the entry point of the applications?

2005-05-04 Thread Chris Brooks
Wow, that's really going to cripple your system isn't it. I think your flogging a dead horse, the PalmOS is dying whatever we like to think about it. MS is gaining ground and PalmOne have failed to release anything good in a long time. Look at the latest PPC models which have WiFi, Bluetooth, m