Re: the specified index is out of range.... when using DmReleaseRecord

2005-04-19 Thread Chris Tutty
From: Mishael Kim [EMAIL PROTECTED] //authenticatedH is created and set to false recIndex = 2; authenticatedH = DmNewRecord(gDB, recIndex, recSize); if (authenticatedH) (snip) DmReleaseRecord(gDB, recIndex, true); //authenticatedH is set to true later in code recIndex = 2; recP =

Re: the specified index is out of range.... when using DmReleaseRecord

2005-04-19 Thread A.Kazantsev
There is no record to release in the second time. The DmReleaseRecord is assumed to release a record opened before with either DmNewRecord or DmGetRecord. MK //authenticatedH is created and set to false MK recIndex = 2; MK authenticatedH = DmNewRecord(gDB, recIndex, recSize); MK if

Re: Treo650/600 simulator Rom's

2005-04-19 Thread Henk Jonas
versha wrote: hi all , i am unable to find free download of Treo650/600 simulator and their Rom's.Kindly send me the links if possible. thank you versha check palmone.com -- - Henk Jonas

Re: Hashing Algorithum On Palm

2005-04-19 Thread Dr. Vesselin Bontchev
SHA1 and MD5 are one-way encryption, which means you can encrypt but not decrypt. So, they won't let you do what you have said you are trying to do. Well, strictly speaking, any cryptographically strong hash function can be used to construct a cryptographically strong cipher. The reverse is

Re: reading a webpage and getting its data

2005-04-19 Thread Dr. Vesselin Bontchev
BTW, another advantage of having a conduit for updating the virus definitions database is that this way you can update even devices that don't have direct Internet connection - although I can see how that might not be that much important for the kind of services your company provides. Regards,

Re: the specified index is out of range.... when using DmReleaseRecord

2005-04-19 Thread Manpreet
If DmNewRecord in called one of the following is happens: 1. DmNewRecord tries to create the record at given index recIndex=1 in this case, if there was no record in the database then this record is inserted at index 0 rather than 1 and recIndex in updated accordingly. 2. if the database

Re: one simple question about Delay funcation in Palm OS

2005-04-19 Thread Alan J. McFarlane
In article news:[EMAIL PROTECTED], Tim Kostka wrote: Although not very elegant, you could just set up an endless loop that repeats until a number of ticks have passed. The only difference between that and SysTaskDelay would be the loop would not put the device into doze mode, and if that is

Re: Passing application-specific data during beaming

2005-04-19 Thread Miro Pomsar
Hi, you maybe already figured it out but anyway. First read the first 80 bytes of the incoming stream, that represents the db header. The header looks like this: typedef struct { LocalID nextRecordListID; UInt16 numRecords; } RecordListType; // PDB Header typedef struct { UInt8

Re: one simple question about Delay funcation in Palm OS

2005-04-19 Thread Chris Tutty
From: Alan J. McFarlane [EMAIL PROTECTED] Of course in a application one would just sit at EvtGetEvent when waiting for an IrDA callback, but doing that in a shared library would be bad, no? -- Although I haven't followed this in detail, if you're looking for a way for a shared library to

DisplayAlarm

2005-04-19 Thread versha
hi, i am displaying a form when an alarm is triggered from my application using case sysAppLaunchCmdDisplayAlarm : DisplayAlarm( (SysDisplayAlarmParamType *) cmdPBP) ; Then in DisplayAlarm function i save the current main form and open the alarm form. but i donot want the alarm form to

re: customTableItem

2005-04-19 Thread versha
first you need to set the table item type then call the draw procedure: for (i=0;inumTableRows;i++) { TblSetItemStyle(tableP,i,0,customTableItem); } for(i=0 ; inumTableCols ; i++) { TblSetColumnUsable(tableP , i ,true ); }

re: accessing memory card through DmGetDatabase

2005-04-19 Thread Yuen Kwee
thanks for your replies! any source code or references? preferbly source codes -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Can't call FrmGetObjectPtr

2005-04-19 Thread Sebastian Noack
Hi, ops, I have passed the id instead of the index. Thanks. But I wonder why it works while debugging. Regards Sebastian -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: detect NVFS

2005-04-19 Thread Luc Le Blanc
Ben Combee wrote: At 05:26 AM 4/13/2005, Alexander R. Pruss wrote: Is there a way of detecing NVFS without having the app have a list of hardware models that have it, which means updating whenever a new one comes along? Yes. As documented in the palmOne Developer Guide PDF file: How do

re: Passing application-specific data during beaming

2005-04-19 Thread Luc Le Blanc
Vesselin wrote: In fact, the appData field of the structure pointed by the exgSocket pointer is zero already in the function ReceiveDatabase - immediately after doing err = ExgAccept (exgSocket); I truly don't understand what might be the problem. :-( Why isn't the value of that field

How to set Default Home Page in Blazer

2005-04-19 Thread imran baig
Plz let me know how to set default Home URL in Balzer programatically. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: detect NVFS

2005-04-19 Thread Regis St-Gelais
Luc Le Blanc [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] How do you get this guide (on disk)? Searching PalmOne's PluggedIn Web site, I ended up in: http://tinyurl.com/ahqwb or The only way I found to save it to disk is to open it first and then save it to disk.

trying to debug on device, connection attempt refused error

2005-04-19 Thread Brian Preston
I'm also getting the 'port in use' error when trying to simply Hotsync. I was able to Hotsync just fine yesterday. I have an m515 and am trying to connect to a laptop in a docking station, both of which I've heard can have extra problems hotsynching. But since I am usually able to HS fine on this

Re: detect NVFS

2005-04-19 Thread Ben Combee
At 08:11 AM 4/19/2005, you wrote: How do you get this guide (on disk)? Searching PalmOne's PluggedIn Web site, I ended up in: http://tinyurl.com/ahqwb or

I am trying Changing the Home Page Setting on TReo 600

2005-04-19 Thread imran baig
I am trying Changing the Home Page Setting from an Application using the code sample from Palm OS (r) SDK Web Browser Update Previously i was using WebBrowserCreator and getting err =519 now i am using cid='BLZ5' as creator id but this crahes my Treo 600. sample source code is as

INetLib for Garnet devices

2005-04-19 Thread Scott Erickson
Hi, I started to implament a function that used the INetLib to axx a webpage holding plain text. I found out while debugging that the lib cant be used on Garnet and Cobolt devices. I was looking for a third party lib I could use to take care of the HTTP connection and data transfer. If

Re: INetLib for Garnet devices

2005-04-19 Thread Ben Combee
At 11:17 AM 4/19/2005, you wrote: Hi, I started to implament a function that used the INetLib to axx a webpage holding plain text. I found out while debugging that the lib cant be used on Garnet and Cobolt devices. I was looking for a third party lib I could use to take care of the HTTP

Re: detect NVFS

2005-04-19 Thread Jan Slodicka
I'm not sure why IE doesn't handle that right. What about asking palmOne web designers? This is an ancient problem... Best regards, Jan Slodicka - Original Message - From: Ben Combee [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Tuesday, April

Re: INetLib for Garnet devices

2005-04-19 Thread Scott Erickson
Cool, thanks Ben. Just what I was looking for! -- Scott Erickson Software Development Team, FB-4, Inc. [EMAIL PROTECTED] Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 11:17 AM 4/19/2005, you wrote: Hi, I started to implament a function that used the INetLib to

multiple applications

2005-04-19 Thread Tony Janke
I am writing 2 separate applications for the Palm. The problem I am having is that they are interacting with each other. For example, when I go into the list of applications I would like to delete, only 1 app shows up on there. If I delete that one app, it deletes both of my applications.

Re: detect NVFS

2005-04-19 Thread Ben Combee
At 01:02 PM 4/19/2005, you wrote: I'm not sure why IE doesn't handle that right. What about asking palmOne web designers? This is an ancient problem... This problem is known to the palmOne Plugged In team. -- Ben Combee, Senior Software Engineer, palmOne, Inc. Combee on Palm OS weblog:

Re: detect NVFS

2005-04-19 Thread Luc Le Blanc
Ben Combee wrote: At 08:11 AM 4/19/2005, you wrote: How do you get this guide (on disk)? Searching PalmOne's PluggedIn Web site, I ended up in: http://tinyurl.com/ahqwb or http://developers.palmone.com/pe/action/forums/searchsdkperform?

Re: Notifications buggy on NVFS as well?

2005-04-19 Thread Jan Slodicka
It is not our problem - we are just victims of some background apps that use to crash during the heavy DB access when the DbCache is full. We did a lot of testing with Resco Explorer backup against various bkg apps and identified TextPlus, OKEY and ClipPRO as the most risky ones. Teal apps were

Re: multiple applications

2005-04-19 Thread Tony Janke
Chris- Thanks, that worked. But I pose the question, does it make any sense to group applications by the creator ID? Thanks again for the help! ~Tony [EMAIL PROTECTED] 4/19/2005 12:02 PM Tony, Items are clumped together by Creator ID, so if you have 3 programs and 5 databases then they

Re: multiple applications

2005-04-19 Thread Chris Brooks
Tony, It makes sense to use the same creator ID for databases and applications so they all get deleted at once. For multiple application it would only make sense when they are interlinked, so if one won't work without the other then you could do it. Chris

Re: multiple applications

2005-04-19 Thread Ben Combee
At 03:08 PM 4/19/2005, you wrote: Chris- Thanks, that worked. But I pose the question, does it make any sense to group applications by the creator ID? Thanks again for the help! The creator ID is supposed to map to a specific application, not a specific programmer. The only time I've seen a

Re: Advice on persistency please

2005-04-19 Thread Douglas Handy
Logan / Jim / Clive, I am developing an app. that will store approx. 500,000 contacts. ... Even on a 16M device, each record can average only about 32 bytes If you could get a 2-to-1 compression ratio through huffman coding, you'd be able to store 15 characters of stuff per field plus null

re: Notifications buggy on NVFS as well?

2005-04-19 Thread Vince Lee
Are you doing the two key things needed to lock a program? 1) Use DmGetResource and MemHandleLock to lock your resource in place 2) Use DmProtectDatabase to protect your program's database from being removed This is exactly what we're doing now. (We don't have a current issue with NVFS anymore

NVFS articles online

2005-04-19 Thread Ben Combee
Today on my Combee on Palm OS site (http://palmos.combee.net), I posted a couple of articles on NVFS. These are based on discussions I've had with developers at PalmSource and palmOne, as well as emails to external developers. I'll get putting more information online as I get a chance, and

Palm working with MCP2150

2005-04-19 Thread Edgar T. López
Hi, I developed an application where the palm extracts information of MCP2150 of Microchip by IrCOMM. To start the process the palm establishes the communication, it is called Primary Device and the MCP2150 is called Second Device. Now I want that the MCP2150 establish the communication

Re: Palm working with MCP2150

2005-04-19 Thread Frank Ableson
No, the mcp2150 is strictly a secondary device. - Original Message - From: Edgar T. Lpez [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@palm.lyris.net Sent: Tuesday, April 19, 2005 5:07 PM Subject: Palm working with MCP2150 Hi, I developed an application where the palm

Quick Install turning Backup bit on?

2005-04-19 Thread Ted Peters
It appears that the act of installing our application's PRC via the palmOne Quick Install (Windows, v 1.1) is causing the BackUp bit to be set, even though I know the bit was not set when the PRC was built. Dragging the PRC onto a Simulator does not do this. Has anyone else seen this behavior?

Faking out Launcher's Menu : Info : Card list

2005-04-19 Thread Jeff Ishaq
My application has the option to move its 2-meg set of PDBs onto a memory card, and works with them from there. This is not accomplished by the normal 'Palm Launcher : Menu : Copy' process, because I do a lot of stuff behind the scenes; rather, the user invokes the move from the application