Re: Device syncs non-stop!

2007-06-24 Thread Douglas Handy
Cathy, Now my two devices are syncing automatically and non-stop though my devices are far away from my computer and hotsync cable. I'd suggest selling it on eBay. Some people may pay quite a bit of money for a device which syncs automatically even when far away from the computer. :) Is there

Re: Writing/Reading from SD cards

2007-05-20 Thread Douglas Handy
Palm has never released a device with multiple SD card slots, but the late Tapwave had two versions of their Zodiac handheld that had dual slots. Although some recent Palm models appear to have multiple card slots; its just that one is internal. But they still use the normal VFSxxx set of APIs.

Re: Simple way to detect if a device is a Treo?

2007-05-17 Thread Douglas Handy
David, Sadly, the 755P Simulator does not match the real device for either the companyID or the deviceID. The 755P Sim reports: CompanyID: hspr DeviceID: D052which is the 700P deviceID... Its curious that it uses 'hspr' instead of 'Palm', as actual devices have for some time now since

Re: Cable for on-device debugging with Tungsten E2

2007-05-07 Thread Douglas Handy
Question: where do people obtain a recent usbport.dll in the first place? Re-installing Palm Desktop and HotSync Manager did not install one. Maybe I'm missing .sys files too. I believe it does, just not in the location where it used to in previous versions. I'd suggest you do a file find for

Re: Simple way to detect if a device is a Treo?

2007-05-04 Thread Douglas Handy
David, Does anyone have suggestions? As others have mentioned, some current Treos already don't use 'hspr' for the company ID. I also use a simple IsTreo() function which I update as new devices are known. But what arguably is a better idea is to check for the existance of the feature(s) you

Re: psysLaunchDB question

2007-04-24 Thread Douglas Handy
Michal, ...and if possible all newer. can i be sure that this thing i am doing will work on all of them? I don't see how you can be sure. Since it is an undocumented design, it seems to be vendors are free to do as they see fit when introducing new devices. I think the only thing they'd need

Re: NumLock Key Event in Treo devices

2007-03-29 Thread Douglas Handy
Is there any option were i can lock the NumLock key till the user is in that field If you just set the numeric attribute for the field, the OS will handle it for you automagically. The downside it that you will be prohibited from entering a negative sign; entry is restricted to digits and a

Re: Decreasing font size problem

2007-03-17 Thread Douglas Handy
I want to incease the font size by given value. Can anybody help me related to this. I want to print 3 to 4 lines with decreasing font size. Is there any API or function which will help me. No. Palm OS devices do not include scalable fonts. Most devices have a very limited number of fonts

Re: Launch Web Browser Programaically

2007-03-15 Thread Douglas Handy
Hey does this code support palm devices that has windows OS? Of course not., palm devices that has windows OS is a contradiction in terms. If it is running windows mobile, it isn't a palm device. And Windows Mobile does not run palm os code unless you count StyleTap. Plus the code shown

Re: Launch Web Browser Programaically

2007-03-15 Thread Douglas Handy
Ben, Well, actually with the current state of trademarks, many Palm devices run Windows Mobile, but no WM devices run Garnet OS from ACCESS Mea culpa -- I try to forget about them as I don't consider them real palm devices. :) But the point was that palm OS code snippets don't port well to

Re: How I can install one tree category ?

2007-03-09 Thread Douglas Handy
Fábio, I need to install one application in one category like a subfolder with tree. How I can do this ? Short answer: You can't. Longer answer: Category support under Palm OS is limited to a single list of at most 15 categories, of which a few are standard and prenamed on the device. If

Re: ignoring profile

2007-03-04 Thread Douglas Handy
Pinus / David, I have no idea. I assume you have tried PrefSetPreference. I have not tried working with sound / vibrator on the treo 650, but simply changing the sound level via PrefSetPreference on a typical Palm OS device has no effect until the next soft reset. The issue here evidently is

Re: How to prevent my application from being beamed.

2007-01-23 Thread Douglas Handy
I do not want it to be beamed to another device. You can set the dmHdrAttrCopyPrevention bit in the database attributes byte, but that merely prevents the default application launcher from beaming the application (it will show with the lock icon). However, that will stop or slow down only the

Re: Find Unique Indentification for PDA

2007-01-16 Thread Douglas Handy
Sagar, So wats the solution ? Get by without a unique identifier. 1) Look for Serial no And remember, as pointed out before, some Handspring/Treo devices need a different call to find the serial number then the standard SysGetROMToken(). 2) If there is no Serial no (ROM), look for IMEI / ESN

Re: Find Unique Indentification for PDA

2007-01-15 Thread Douglas Handy
Dmitry, of the os4+ devices only the TE (this is to the best of my knowledge) does not have some sort of a unique identification Actualy, I think there were numerous OS4 devices without a ROM serial number or other identifier, and in OS5 devices the low-end Zire or Zxx devices did not either.

Re: .pdb - HotSync, 256 limit?

2006-11-27 Thread Douglas Handy
Baxter, Seems to have worked. So you are able to get all 270 records installed via Hot Sync now? Why were you using duplicate unique IDs? Indeed, why were you adding a non-zero unique ID at all if you aren't using a two-way sync conduit? Wish I knew where this was documented - if it is

Re: .pdb - HotSync, 256 limit?

2006-11-27 Thread Douglas Handy
Baxter, I inherited some code. The ID's were unique .within.the.file. (or database) and set from the index of the loop that wrote the records to the file/pdb. For less than 256 records the system worked fine, when 270 records were tried, 14 records disappeared. Since the ID's WERE unique within

Re: .pdb - HotSync, 256 limit?

2006-11-27 Thread Douglas Handy
Baxter, You may be right. Has some interesting implications, however, for utilities such as Par and PDB Reader and even the Emulators and Simulators - which are apparently failing to correctly analyze the pdb file. That isn't really true. Palm OS does not enforce the uniqueness of the unique

Re: .pdb - HotSync, 256 limit?

2006-11-25 Thread Douglas Handy
Baxter, I'll try it, but memory card is not going to work for customer. If there is a bug/limitation in HotSync/Installer, There is no such limitation in HotSync transfers. I've transferred databases with 30,000 records in the past. If you are using a conduit, it sounds like some loop counter

Re: .pdb - HotSync, 256 limit?

2006-11-25 Thread Douglas Handy
Baxter, If I use a memory card for transfer, and then Filez to copy from the card to main memory, I get all 270 records. Which again, I believe, makes me suspect duplicate values for the record unique IDs. The Exchange Manager (used by beaming, VFS transfers, etc) does not perform duplicate

Re: external device connectivity

2006-11-16 Thread Douglas Handy
thanx for the reply. so direct connectivity is possible with USB OTG. Only on devices that support USB On the Go. No device that Palm has released has this support. Which is why I said you need to use an intermediate device which provides USB OTG to both the palm and the camera (or whatever

Re: external device connectivity

2006-11-14 Thread Douglas Handy
sriram, i wanted to know if it is possible to connect an external device such as a camera to a Palm PDA and fetch data from the camera? External devices such as a camera are (nearly always) a USB client device, so must attach to a USB host device such as a PC. Current Palm OS based devices are

Re: Bar code reader

2006-09-27 Thread Douglas Handy
Durgesh, Can we able to attach any barcodereader with our palm There are several alternatives. Symbol makes a variety of devices with an integrated laser scanner in the SPT family, though they have not come out with new Palm OS based models in a long time. Options for Palm OS devices

Re: Dynamically changing the number of field lines

2006-08-08 Thread Douglas Handy
Luc, How can I dynamically reduce the number of lines of a field? I think you want to use FldSetBounds() for this. I tried FldSetMaxVisibleLines, Under the SDK doc's Comments section, this API seems to be a means to cap the size a dynamic field can expand to when needed (that is, the

Re: Dynamically changing the number of field lines

2006-08-08 Thread Douglas Handy
Luc, singleLine (This flag is for internal use only) Well then you may want to implement the dual field approach, and decide which one to make visible at any given point in time. Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: Determining DIA presence

2006-08-03 Thread Douglas Handy
Luc, ...and WinGetDisplayExtent() cannot reliably used to determine DIA presence once and for all since it depends on the current DIA and slider status :( You need to use WinScreenGetAttribute(), not WinGetDisplayExtent(). Doug -- For information on using the PalmSource Developer Forums, or

Re: Small fonts using PalmOS Developer Suite

2006-08-03 Thread Douglas Handy
udayasri, Please help anybody regarding creating custom font using Palm OS Developer Suite. Search the knowledge base at PalmSource for tiny font -- there is an example font available for download. It requires a high density device to display it naturally, but it works fine on them. Doug --

Re: Determining DIA presence

2006-08-03 Thread Douglas Handy
Ton, I had a feeling there was a better function than WinGetDisplayExtent() and WinScreenGetAttribute() is it. I hadn't remembered the name of it offhand either, which is why I didn't mention the API name in my original suggestion. I didn't bother to look it back up until I saw your reply and

Re: Determining DIA presence

2006-08-03 Thread Douglas Handy
Luc, Actually, on a T3 with a closed slider, WinScreenGetAttribute returns a height of 320. But isn't that accurate at that point in time? By the same token, can a landscape-capable device be detected? I do: if ( SysGlueTrapExists( pinSysGetOrientation ) ) but this returns false on a T3 :(

Re: Determining DIA presence

2006-08-03 Thread Douglas Handy
Luc, I don't know, this is what I observed on the T3 Simulator. Does it need those PRCs too? Yes. The problem is that the T3's ROM image was produced before the final public API specs were available. The the built-in apps use a different proprietary method which was only shared with those

Re: Function to stop Palm for 3 seconds?

2006-08-03 Thread Douglas Handy
Do you know is there any function to force Palm to wait 3 seconds before processing the next line of code? SysTaskDelay( SysTicksPerSecond() * 3 ); -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Determining DIA presence

2006-08-02 Thread Douglas Handy
Ton, But if your app is written properly it should not be a problem because the resize notifications will never be sent. One reason that may not be sufficient is for apps which want to detect the capability and utilize the space for specific forms even without the user explicitly changing the

Re: Determining DIA presence

2006-08-02 Thread Douglas Handy
Ton, As an alternative, he could check for high density. Z22 is the only OS5 device which is *not* hi density as far as I know. I believe the Treo 600 falls in that camp as well, though it does not have DIA support either so for purposes of this test it may not matter. However, instead of

Re: No of records

2006-07-20 Thread Douglas Handy
Jagat / Neil, What is the maximum number of records I can create in a palm database ? The record index is a 16 bit value, so dmMaxRecordIndex (0r 0x/65535) It depens on which versions of the OS you want to support. Prior to OS3.5, the routines used signed instead of unsigned integers, so

Re: can we access preferences of another application ?

2006-06-21 Thread Douglas Handy
Can we access the appPreferences of one application from another if the former is not running currently ? Of course you can - that's how preference viewer / editor utilties work. :) The better question is what you'd do with it. By definition, the usage of meaning of any given app

Re: can we access preferences of another application ?

2006-06-21 Thread Douglas Handy
It is working ok when my application is running but as my application can also sense the phone call while not running, when i use PrefSetAppPreferences at that time my system crashes. Are you sure you are not accessing any globals or other restricted operations which could cause the crash?

Re: Socket barcode escaner

2006-06-13 Thread Douglas Handy
David, I'd say the Socket SDIO scanner performance is on par with the CCD scanner in the Symbol MC50 (and in fact it may even be the exact same scanning engine). I know the engine in the SDIO scanner is built by Symbol, but don't know if it is the same as used in the MC50. I've never used a

Re: Programs transfer

2006-06-12 Thread Douglas Handy
John, I have found Falch Net Dev on win98. How can i transfer this to my laptop running XP. Falch has been unsupported for years now. Why don't you try PODS instead? On your post from 6/10 it seemed like you didn't own a copy, so one could presume the copy you found on win98 was not licensed

Re: Socket barcode escaner

2006-06-07 Thread Douglas Handy
David, Long time no talk. I have personally tested the SD card and BT CHS units ... with complete success. Maybe the SD card unit has improved since first introduced (which is when I tried it). How is the scanning success ratio for you? I remember scan decode times being long even when it

Re: Socket barcode escaner

2006-06-06 Thread Douglas Handy
Oswaldo, I have an app made with gcc that now use Symbol escaner. I would like use it also with Socket barcode scanner: 'SD Scan Card 3E' on a Palm TX. It is not compatible with the Symbol SDK, so you will need to add specific support for it or else run the Socket in keyboard wedge mode.

Re: converting dm app to vfs app

2006-06-06 Thread Douglas Handy
Roger, how I can most easily get my program to with Palm databases and VFS without having to write two completely separate code bases? The reason two completely separate code bases are required is that the two storage paradigms are completely different. The one does not have a real file system

Re: Socket barcode escaner

2006-06-06 Thread Douglas Handy
Owsaldo, the compatibility list includes all pre-os 5.4 devices [those that had normal SDIO] and none after Palm TX are not listed in the Compatibility List but my TX version is: Garnet v.5.4.9 Since he said only pre-OS 5.4 devices were compatible and the TX is 5.4.9 and he also said no

Re: Web Browser

2006-06-06 Thread Douglas Handy
Ben / Diana, Blazer is built into the ROM and cannot be removed without reflashing the whole ROM using a hacking tool. Or one other trick. By definition the ROM is read only so can't be changed without a reflash. However, Palm OS does support having duplicate application names in both ROM and

Re: palm serial number

2006-05-09 Thread Douglas Handy
sHe, hmm, haven't searched yet but does all treo have this IMEI? and is it unique? Check the archives for discussions of this. But among other things, realize you can only read the IMEI or ESN number of the phone while the phone module is powered up and initialized. So while the user

Re: Using Form Bitmaps

2006-05-09 Thread Douglas Handy
Jay Ts, I am using the PODS Resource Editor, and there doesn't seem to be any way using it to specify layering of the visual appearance (order of drawing) of things in the form when it first appears (as a result of a FrmDrawForm() call). And I could find nothing having to do with that in the

Re: Using Form Bitmaps

2006-05-09 Thread Douglas Handy
Jay Ts, Hopefully, the backwards-drawing versions will all be prior to Palm OS 4, because there are no devices from that historical time period I feel I need to support. My recollection was that it was OS5 when it switched, not OS4. And that originally the objects drew in object index order

Re: tables show up, but no event is generated on tap

2006-04-18 Thread Douglas Handy
Andrew, I have created a table with two rows, height 24 each... Is there any suggestions without pasting the code that anybody has? As I recall, with some versions of the OS it doesn't handle well cells over 11 pixels high and taps are only detected in the top 11 pixels of a row. Do you get

Re: Help me for horizontal scroll bars

2006-03-29 Thread Douglas Handy
Kishor, As i know that palm os does not support horizontal scroll bars It does starting in OS3.5 (but not earlier devices). Just use a standard scroll bar and reverse the dimensions. That is, the height should be 7 pixels and the width whatever is required for your interface. Prior to OS

Re: Help me for horizontal scroll bars

2006-03-29 Thread Douglas Handy
Note to self: proof-read before hitting Send. As with vertical scroll bars, you may respond to the events yourself. That should be *must* respond to the events yourself. The OS has no inherent support for scrolling forms or tables or whatever. The scrollbar provides the form object and

Re: Palm database size limits?

2006-03-22 Thread Douglas Handy
Linn, But is there a limit to the total size of the tables? I'm using Satellite Forms and importing data from a Visual FoxPro application. The limitations vary somewhat by OS version. Prior to OS 3.5, the headers did not specify UInt16 but just used signed integers everywhere. Thus before

Re: Retrieve Phone Number from Treo device

2006-03-16 Thread Douglas Handy
Benjamin, // Turn phone radio on, because otherwise it can't get the phone number if(PhnLibModulePowered(smsLibRef) == phnPowerOff) PhnLibSetModulePower(smsLibRef, true); But then you don't turn it back off again. What if the user was on a plane in flight? Or otherwise in an environment

Re: Retrieve Phone Number from Treo device

2006-03-16 Thread Douglas Handy
Benjamin, That's a good point. I wouldn't expect anyone to be running my application while in a theater or on an airplane, though, because my application uses the Internet, which requires the phone radio to be on, so people will know that they can't use it in those situations. Well, then why

Re: How can I build a simple prc for weight calculations in the jet I fly?

2006-03-07 Thread Douglas Handy
Mike, If only I could take filemaker or excel along. Consider Documents To Go from Dataviz (see www.dataviz.com ) and you can take Excel spreadsheets along. Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: Changing name of VFS-stored DB

2006-03-02 Thread Douglas Handy
Luc Le Blanc, How can I change the name of a DB saved as a VFS file The database name is stored as a null-terminated string in the first 32 bytes of the file. So just overwrite the first (up to) 31 bytes with the desired name plus a null terminator. On the card, a pdb has the same internal

Re: Changing name of VFS-stored DB

2006-03-02 Thread Douglas Handy
Luc Le Blanc, Is this documented somewhere, eventually with a struct? Yes, start here: http://www.palmos.com/dev/support/docs/fileformats/Intro.html#969980 That is chapter 1, Introduction to File Formats, in the Palm OS File Format Specification manual. It describes the database header area

Re: Is Palm OS Going Away?

2006-02-23 Thread Douglas Handy
Ingbert, BTW, price is relative. Appforge allows to use VB and .NET which means that a programmer does not need too much ... time to get used to the environment. How easy will it be to switch to a different platform if the previous platform vanishes from the market? Not sure if those

Re: Scanning (was Is Palm OS deing?)

2006-02-06 Thread Douglas Handy
Bill, We support scanners from Grabba, Symbol, and Socket in all of our products. On the PalmOs side almost all of our users have a Grabba T-series unit and they work great and almost never generate support issues. I had early some issues with the Grabba T-series under Palm OS, but they have

Re: when do i need to call DmSyncDatabase?

2006-02-03 Thread Douglas Handy
Guich, When i call DmCloseDatabase, does the db gets synced automatically or do i need to call sync explicitly (in zire 22). Yes, the act of closing a database does force a sync -- or at least it does presuming it was opened in read/write mode (and you have made changes?). DmSyncDatabase() is

Re: Scanning (was Is Palm OS deing?)

2006-02-03 Thread Douglas Handy
Roger, However their CHS BT laser barcode scanner seems to have much better potential. It uses a laser barcode reader, so you get far better scanning functionality. It appears, finally, to be a viable BT-based barcode reader! And it works with the Treo650. Have you tried using BT scanners

Re: Is Palm OS deing?

2006-02-01 Thread Douglas Handy
Sasha, Some problems what I have with new devices: - Zire 22 1. It can't access to TCP/IP network. And your point is??? It doesn't do voice recording or have a vibrator or take pictures or do landscape or dynamic input area or SD memory or (insert favorite feature here) either. So what?

Re: The library function don't return a value to NSBASIC

2006-01-17 Thread Douglas Handy
Elsio, Ok, the problem have been solved. The problem was the return value (Err), I only change it to Int32 and the functions began to return values I should ask them to document that in their tech note on shared libraries. It was discovered by another programmer who was porting some of his

Re: Tracing memory overwrites

2006-01-14 Thread Douglas Handy
Luc Le Blanc, According to the threads I found, this mostly (only?) occurs when dynamically creating controls, which I never do. But the OS does when using FrmAlert or variants like FrmCustomAlert, so unless you avoid alerts (which are dynamically created) it is possible to hit the same bug.

Re: How to build an .inf file?

2006-01-09 Thread Douglas Handy
I am building a shared library to use in a NSBASIC application. So, How to build the needed .inf file? See http://www.nsbasic.com/palm/info/technotes/TN05b.htm Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: Regarding PNG image -

2006-01-09 Thread Douglas Handy
Chinmaya, Kindly help me or send me some sample code , People have repeatedly told you there IS NO sample code for displaying a PNG. Palm OS does not have native support for it, so a decoder must be provided. IBut I am sure I am doing wrong and I dont have capacity to make a converter, Then

Re: How are you supposed to set the System Volume?

2006-01-03 Thread Douglas Handy
Benjamin, The documentation on SndSetDefaultVolume that I looked athttp://www.palmos.com/dev/support/docs/palmos/PalmOSReference/SoundManager.html#1040037didn't say anything about it being a System use only function or Palm OS 5. In that same document, go to Appendix A at

Re: How are you supposed to set the System Volume?

2006-01-03 Thread Douglas Handy
Benjamin, Not that I needed to: No, I meant that I only needed to call the Set function, and I used the PrefGetPreference to get the preferences. You're right that I'm using Garnet. I believe that if you want it to last past a soft reset that you will also need to update the preference DB

Re: Muliple palm devices - one PC

2005-12-18 Thread Douglas Handy
Ian, I need to have multiple palm device access to one PC. Hotsync limits access to one at a time. Can anyone point me in the right direction, a clue where to start? AFAIK, the Hot Sync Manager is not capable of supporting concurrent connections to more than one PC at a time. If all you want to

Re: no card on Treo 650 .. where is VFS?

2005-12-02 Thread Douglas Handy
KiraN, Is it the fact that VFS only exist on the card. Correct. The VFS is only for memory cards (or an internal memory card volume such as on the T5). The RAM storage in a device does not support any file system, including the Virtual File System. Use must use the Data Manager. Likewise,

Re: JpegLib on OS 3.5.x

2005-11-30 Thread Douglas Handy
Doug, What I'm doing only really looks good on a hi-res device, and ... Especially when you can buy a new Z22 for about 80 bucks! :-) You do realize don't you that the Z22 is not a hi-res device? It is OS5, but like the Treo 600 and Zire 31 it is a 160 x 160 display. Just because you are

Re: Palm OS Development is a mess

2005-11-25 Thread Douglas Handy
R, So, were developers ever informed or consulted about this ? We cannot debug our application with a simulator - what harm would it do to grant continued access to the old Debug ROMs ? As I understand it from previous threads, it isn't that our desires weren't considered or that they would

Re: Palm OS Development is a mess

2005-11-24 Thread Douglas Handy
Jay, All they need to do is port the Palm OS GUI user interface to run on the Linux kernel, which has already been done by China MobilSoft, now owned by PalmSource. You know, I didn't make the connection until now, but in 2001 I recall there was another GUI IDE front-end to the GCC toolset for

Re: Crash when I use silk screen keyboard

2005-11-17 Thread Douglas Handy
Phil, The issues was in our resource file. I still don't know exactly why, but when we removed the form that had been assigned the id of 10300 the crash went away. When we added any form in that slot the crash reappeared. Resource IDs of 1+ are reserved for use by Palm OS. My guess is

Re: Connect via USB to Internet

2005-11-15 Thread Douglas Handy
Oscar, I was wonder if it is possible to connect from everywhere (ie from a cyber site)just plugging the PDA in the USB and voila! Not to my knowledge. I think you'd need to have a device driver installed (which is part of what happens when you install Palm Desktop). The exception to needing

Re: ANN: pnoJpegLib - new version

2005-11-02 Thread Douglas Handy
Stefan, i've released an new version of the pnoJpegLib. The Problems with pnoJpeg2GetInfo are fixed now. Thank you. It works as expected now. Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: pnoJpeg2GetInfo fatal alert

2005-10-19 Thread Douglas Handy
Stefan, I think/hope i've found the error. The prc-File which was in the zip-file was corrupt. I've uploaded a 2.11-zip-file with a new prc-file. Maybe this works. Thanks. Alas, unless I'm doing something wrong I'm still seeing the generic Fatal Alert. I am using the newer code -- the one

Re: Why year 1904 is chosen for start date?

2005-10-18 Thread Douglas Handy
Stanislav, Yes, for birthdays it make sence..., Although at the time, there would have been many more people still alive with birthdays prior to that epoch date than there are now. and if I think about this the year 2031 is not so soon as it seems:) Unless you are dealing with expiration /

Re: ROM image prc extraction tool?

2005-10-18 Thread Douglas Handy
Regis, For testing purpose, I would like to extract one of the integrated application (.prc) from a ROM image (or from a device) A long time ago I saw a software that was able to do that but I don't recall its name. Any clue? There are a number of ways of doing this. One is using

Re: Fetch Unique PALM Device ID????

2005-10-07 Thread Douglas Handy
Pritam, I am having problem in fetching the PalmId for the Palm device,this ID is always unique for every handheld. No it isn't. LOTS of devices do not have a ROM serial number -- or ANY other unique identifier. This is especially true of lower end devices such as the Tungsten

Re: transfer a .prc file to palm without using hotsync

2005-10-04 Thread Douglas Handy
Indu, Is there any way out to transfer a prc file from PC/net directly to palm *wihtout hotsync*? If from the net, then you can just use a HTML link to the file on a web page, and use a browser to download it. (Or use the NetLib calls yourself and transfer it via TCP/IP after establishing your

Re: DmGet1Resource returns NULL when using pnojpeglib

2005-08-04 Thread Douglas Handy
Erico, //if this line exists pnoJpeg_OpenLibrary(pnoJpegRefNum); . MemHandle resH = DmGet1Resource( bitmapRsc, 1000); // resH returns NULL here and the err points to a Db rsc do not exist. DmGet1Resource() only searches the most recently opened resource database. In a typical application,

Re: Arrows

2005-08-04 Thread Douglas Handy
Klemen, everything looks ok in constructor, but when i compile and run the code, all i get are some small rectangles. Try doing a soft reset on your device. I've seen cases where fonts have gotten mangled and a soft reset fixed the problem. I think what is probably really happening here is a

Re: Efficiency of VFSImportDatabaseFromFile

2005-07-26 Thread Douglas Handy
Larry, So if I'm going to combine my records as you suggest, would it be best to continue to use PDBs, or should I use PRCs? In general, I just use PDBs. But there are cases where just making the records resources in the application PRC itself makes sense. An install or beam becomes

Re: Efficiency of VFSImportDatabaseFromFile

2005-07-26 Thread Douglas Handy
Larry, This solution should be trivial to implement, while keeping in mind the lock issues. When you are done, why don't you post some before and after memory consumption and hot sync time comparisons for the sake of the archives? I just reread the thread subject and realized you may be

Re: pnoJpeg2GetInfo

2005-07-25 Thread Douglas Handy
Anning, I'm getting a width = 0 and height = 0 when I used pnoJPeg2GetInfo I reported in June that I was getting a Fatal Alert using that call. My circumvention was to go ahead and create the bitmap then get the dimensions of the bitmap. The call works correctly in version 1 of the library,

Re: Efficiency of VFSImportDatabaseFromFile

2005-07-25 Thread Douglas Handy
Larry, The recordsizes are fixed at 20, 22 and 26 bytes variously for the pdbs. Not accounting for chunking and overhead, the total size should be 6.7 Meg. And therein lies the catch; you aren't accounting for overhead. All devices (and not just NVFS based devices like the T5/650/E2/LD) have

Re: Creating scrollbars dynamically

2005-07-19 Thread Douglas Handy
Hynek, frm-objects[frm-numObjects-1].objectType=frmScrollBarObj; Have you tested this on a variety of OS releases? I guess I wouldn't have thought the above should work under OS5 because of the use of shadow structures. Doug -- For information on using the PalmSource Developer Forums,

Re: build-prc problem using prc-tools

2005-07-14 Thread Douglas Handy
Dave, Thanks to anyone who can help (and save the rest of my hair!). Hey, don't worry about losing your hair. They say it is like going to heaven -- there will be no more dying or parting up there! :) Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe,

Re: Custom drawn list not showing with OS 3.1

2005-07-12 Thread Douglas Handy
Luc Le Blanc, A user reported me a list does not show on his Palm III. The code works fine with 3.5+, but on older devices, the list draw callback never gets called. Are you using hide / show calls on the list? As I recall, that did not work correctly prior to OS 3.5. So if you list is hidden

Re: installing pdb to multiple users

2005-07-08 Thread Douglas Handy
David, ...need to be able to deploy pdbs to multiple users at the same time from the desktop. Define at the same time. If you want multiple cradles hooked up concurrently (say via a USB hub) with them all running concurrently, then to my knowledge Hot Sync does not support that. Hot Sync

Re: installing pdb to multiple users

2005-07-08 Thread Douglas Handy
David, ...and libpisock from pilot-link of course, which PInstall and Tentacle are (at last check) still using under the hood. MissingSync from MarkSpace, SyncBuddy, and several other projects use it as well I've not used any of those. I probably should have qualified my only publicly

Re: Viruses, Keyloggers, et al

2005-06-29 Thread Douglas Handy
Vesselin, User stupidity is constant - the humanity isn't getting any smarter. And here I thought it was the world's collective intelligence which was the constant, while the population was increasing. :) Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe,

Re: Old SDKs

2005-06-26 Thread Douglas Handy
Chris, it's easy to forget how much has been added to Palm OS. Image buttons, for instance, are pre-4.1 from memory Speaking of easy to forget, that particular change was 3.5 instead of 4.1 though your point is still valid. Doug -- For information on using the PalmSource Developer

Re: Old SDKs

2005-06-26 Thread Douglas Handy
Layne, Were image buttons added with 3.5? Yes, in fact 3.5 added so many things that I always wondered why it was still a 3.x release instead becoming the first 4.x release. But I don't know any of the history of that. I will say supporting releases prior to 3.5 would IMHO rarely be

Re: List of devices?

2005-06-23 Thread Douglas Handy
Scott, Anyone know where i can get a list of devices that have a flash ROM id and ones that dont? I don't know there is any definitive list. PalmSource used to attempt to keep one, but gave up the end of 2002. Old information is available here:

Re: Buttons and Focus

2005-06-20 Thread Douglas Handy
Clive, I am having trouble finding code (that works) that sets the focus on a button (using a keyboard). Are you talking about the focus ring which appears on devices like the Treo 6xx? Or on generic palm OS devices running say OS 4.x? Prior to the Treo 600, the OS had no concept of focus

Re: Zire Rom ID problem

2005-06-17 Thread Douglas Handy
Dina, It didnt work in Zire 21, 31 or Tungsten E. Among many other older models as well. Plenty of older models from multiple vendors don't have a ROM ID. And,Is there any other ID other than ROM ID which is unique for the palms? (especially for Zire , Tungsten). No; there is NO unique

Re: Is there a ROM Serial Number in all recent Palm devices?

2005-06-17 Thread Douglas Handy
Jenni, Is there any Palm device that runs Palm OS 5.x and does not have a ROM Serial Number? Thanks a lot in advance. Yes, for example the Tungsten E does not, and I think had higher sales than any other palmOne device in history. Also, the Zire 21 and 31 are both OS5 and don't have a ROM ID

Re: How Create a folder in T5 and LifeDrive ???

2005-06-16 Thread Douglas Handy
M Qaisieh, I am looking for a way to create a folder in the internal memory for T5 or LifeDrive If by internal memory you mean the portion of memory used for the storage heap for traditional databases and applications, then you can't do that. There is no support for folders by the Data

pnoJpeg2GetInfo fatal alert

2005-06-11 Thread Douglas Handy
I've been experimenting with pnoJpeg2 library ( version 2.11) decoding, and am having great results except when trying to use pnoJpeg2GetInfo() to obtain the original dimensions of an image. It isn't clear to me exactly where this call should go within the sequence of library calls, so I have

Re: pnoJpeg2GetInfo fatal alert

2005-06-11 Thread Douglas Handy
Henk, I use it in 2PlayMe, you can check it there with your version of pnoJpegLib: Thanks for the response. It looks like you are using version 1 of the library. If I step back to version 1, then pnoJpegGetInfo() does return the dimensions to me. But I'm getting a Fatal Alert when trying to

  1   2   3   4   >