a very simple question

2003-03-20 Thread Adrian Li
hi everyone just a very simple question, if I am going to construct a document pdb file(eg. readable by Tealdoc or cSportRun) via self-making conduit and/or standalone VC++ executable, what's the AppInfo should look like ? or any sample code you guys could be thinking of ? Hence, anyone have the

Re: How to detect if a palm Screen is color or monocrome?

2003-03-20 Thread Aaron Ardiri
FtrGet(sysFtrCreator,sysFtrNumDisplayDepth,displayversion); where displayversion is an user defined unsigned integer variable. if(displayversion != 1) colored; else monochrome; I hope this will help you why not just use WinScreenMode() and request the available depths? some

Re: Palm applications documentation

2003-03-20 Thread Ivan Arandjelovic
Thanks, But not all of the applicatons can be found in supplied examples, for example, I am trying to open Preferences application (on specific preference category) but I am unable to find required startcode and parameter block. Oliver [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

BmpCreate BmpCompress on OS 5

2003-03-20 Thread Bertrand Simon
BmpCreate does not initialize the version attribute of the bmp, and BmpCompress does not compress bitmaps anymore (it works on previous OS) Somebody aware of a work around for a BmpCreate BmpCompress ? Thanks for any advices ... Bertrand Simon http://GPSpilot.com -- For information on

over locked a piece of code

2003-03-20 Thread SH Luk
I want to lock a piece of code so that the memory location will be stay valid after quited the application. I saw people talking about something like overlock it. But how? Any idea? Please advise. Many thanks. SH -- For information on using the Palm Developer Forums, or to unsubscribe, please

Close Modal Form

2003-03-20 Thread g3BEPA
Hi Group, do you have any idea how can be closed a modal form from its formhandle function, but without using CtlHitControl. Sending an frmCloseEvent doesnt work on palmos 5. __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on

C++ Code size 32K

2003-03-20 Thread Martijn Stalenhoef
Hi all, Is there an easy way to segment an application to allow for a code size 32K? My program is written in C++ and I've tried creating syslibs and glibs. The syslibs won't work, because C++ seems to be using global data and the glibs compile OK. However, as soon as I call a library function a

CW Code generation

2003-03-20 Thread Dan Patrutiu
I am very sorry to affirm this, but the CW compiler is totally out-of-situation sometimes. I really multiply 2 WORD values and it is generating __lmul__ jumps for that purpose :( I also turned off common subexpression elimination but no help. I don't really know how to replace this lines with

IR libraray

2003-03-20 Thread Marie JEHANNO
--- Martijn Stalenhoef [EMAIL PROTECTED] a écrit : Hi all, Is there an easy way to segment an application to allow for a code size 32K? My program is written in C++ and I've tried creating syslibs and glibs. The syslibs won't work, because C++ seems to be using global data and the

IR library

2003-03-20 Thread Marie JEHANNO
Hi all, I need to use the IR library but I don't find any documentation (howto, recipe, code examples...). Currently, I have only the API functions from SDK. anyone knows where I can find such information ? thanks very much, marie PS : sorry for the preview msg, a mistake

MemoryMgr.c error on exit

2003-03-20 Thread Chris Apers
Hi, I have the follwoing error after i exit my app on the palmsim. MemoryMgr.c, Line:3675, Invalid chunk ptr The debugger show this error at the last line Do you know why this occured ? 5F033FF6: 2A00move.l d0,d5 5F033FF8: 4A04tst.bd4 5F033FFA: 504F

RE: IR library

2003-03-20 Thread Vinu Raj
Hi all, I need to use the IR library but I don't find any documentation (howto, recipe, code examples...). Currently, I have only the API functions from SDK. anyone knows where I can find such information ? thanks very much, marie The IR Library is documented both in the Palm OS

RE: IR library

2003-03-20 Thread Marie JEHANNO
Hi Vinu, thanks for your advice but I have ever looked at them. I search information such as source examples to know steps for using IR lib, as we can find code recipes for conduit programming, serial manager... thanks again, marie --- Vinu Raj [EMAIL PROTECTED] a écrit : Hi all,

[CW9.1][NX70V] VFSFileSize or CW bug ?

2003-03-20 Thread JiheM
static void testVFS(FieldType *field) { UInt16 refNum; UInt32 numBtW; FileRef file; char msg[160]; if (MStickRefNum(refNum)==errNone) { Echo(field,Stick ready); if (VFSFileOpen(refNum, TEST.TXT, vfsModeReadWrite | vfsModeCreate, file)==errNone) { VFSFileWrite (file, 10, ABCDEFGHIJ,

Re: Deleting Data after specified time from Palm automatically !!

2003-03-20 Thread Rahul Shukla
--- Rahul Shukla [EMAIL PROTECTED] wrote: Hi, I dont have to delete the database just after hotsync, coz cmdsyncnotify was serving that purpose. But after hotsync , suppose i write in one of db the time of hotsync and also after how many hours to delete all the db. Now what shall i use

Please Help (Deleting Data after specified time from Palm automatically !!)

2003-03-20 Thread Rahul Shukla
--- Rahul Shukla [EMAIL PROTECTED] wrote: --- Rahul Shukla [EMAIL PROTECTED] wrote: Hi, I dont have to delete the database just after hotsync, coz cmdsyncnotify was serving that purpose. But after hotsync , suppose i write in one of db the time of hotsync and also after how

RE: [CW9.1][NX70V] VFSFileSize or CW bug ?

2003-03-20 Thread Danny Wong
hi, to print out the correct value you need to cast the size to long. try this. VFSFileSize(file, numBtW); StrPrintF(msg,Size : %ld,numBtW); %d - %ld regards, danny www.toysoft.ca -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: CW Code generation

2003-03-20 Thread Ben Combee
At 15:58 2003-3-20 +0200, you wrote: I am very sorry to affirm this, but the CW compiler is totally out-of-situation sometimes. I really multiply 2 WORD values and it is generating __lmul__ jumps for that purpose :( I also turned off common subexpression elimination but no help. I don't really

Re: [CW9.1][NX70V] VFSFileSize or CW bug ?

2003-03-20 Thread JiheM
Thanks (I will try not to forget 'l'). -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

ErrTry

2003-03-20 Thread denny jose
Hi, I saw a couple of questions regrding this on forum and couldn't find a defnite answer. I'm having problem with the ErrTry/Catch Macro in Simulator and Tungsten. My code is working perfectly on SDK 4 devices and Emultor, but crashes on SDK 5 build on Tungsten and imulator. I'm using C++ and the

Re: C++ Code size 32K

2003-03-20 Thread tilo . christ
Hi! Is there an easy way to segment an application to allow for a code size 32K? My program is written in C++ and I've tried creating syslibs and glibs. The syslibs won't work, because C++ seems to be using global data and the glibs compile OK. However, as soon as I call a library function a

Printing Floats

2003-03-20 Thread Thomas Sweeney
I have a floating point number, such as 3.1234567, which I want to print out as just 3.12. Can I use sprintf or do I need to use one of the various functions (pDouble or GetStringFromDouble) which I've seen on this forum over the last few weeks. Thanks in advance Thomas -- For information on

Palm OS Certified Developer Exam

2003-03-20 Thread mengtao tao
Dear All, Is there anyone who has taken the Palm OS Certified Developer Exam (Code: PE0-021) would kindly share your experience on this test? I am pursuing this certification and need some suggestions on books and materials which would help me to prepare this test. Also, beside those 30

set palm-dev-forum nomail

2003-03-20 Thread trifusion
1 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Printing Floats

2003-03-20 Thread Brad Figler
StrPrintF does not support floating point numbers directly. You should use the GetStringFromDouble() that you mentioned. Thomas Sweeney [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a floating point number, such as 3.1234567, which I want to print out as just 3.12. Can I

Re: Palm OS Certified Developer Exam

2003-03-20 Thread Oliver
Is there anyone who has taken the Palm OS Certified Developer Exam I haven't taken the exam myself, and I don't think this recent thread will answer all your questions, but if you haven't seen it yet, I'd suggest you read through it: http://escribe.com/computing/pcpqa/m71425.html Oliver

Re: floats in syslib shared library under prc-tools 2.2?

2003-03-20 Thread John Marshall
On Thu, Mar 13, 2003 at 07:06:09AM -0700, Dave Ek wrote: Ton van Overbeek wrote: As soon as you do some floating point operation the code pulls in the simulated floating point condition code register (fpCCR). Yes indeed. So what needs to be done is to somehow get the fpCCR in the syslib

Re: Re: floats in syslib shared library under prc-tools 2.2?

2003-03-20 Thread John Marshall
On Mon, Mar 10, 2003 at 02:10:39PM -0600, Ben Combee wrote: float a,b; a=2.0; b=3.0*a; This was enough to generate the global data ignored message from build-prc. If I comment out the third line, the message goes away. It is likely that the compiler is generating the

Re: Deleting Data after specified time from Palm automatically !!

2003-03-20 Thread Henk Jonas
ehm, set an alarm. It's not that difficult. Your program gets called after hotsync. Your program sets the alarm. Your program will be called when the time for this alarm is reached and can delete the database. What didn't you understand here? Henk Rahul Shukla wrote: Hi, I dont have to

Re: Prevent accidental deletion of Palm Application

2003-03-20 Thread applek33
--- In [EMAIL PROTECTED], apple k [EMAIL PROTECTED] wrote: Hi, Is there any way to programmatically prevent the deletion of a palm application? I know there is a lot of palm application are able to do so in the market. However, could anybody tell me should any libraries cater to this?

Pls Help! - to to prevent accidental deletion of Palm Application?

2003-03-20 Thread apple k
--- apple k [EMAIL PROTECTED] wrote: Hi, Is there any way to programmatically prevent the deletion of a palm application? I know there is a lot of palm application are able to do so in the market. However, could anybody tell me should any libraries cater to this? Besides, can we set the

Pls Help! - to to prevent accidental deletion of Palm Application?

2003-03-20 Thread apple k
? --- In [EMAIL PROTECTED], apple k [EMAIL PROTECTED] wrote: Hi, Is there any way to programmatically prevent the deletion of a palm application? I know there is a lot of palm application are able to do so in the market. However, could anybody tell me should any libraries cater to this?

Re: Deleting Data after specified time from Palm automatically !!

2003-03-20 Thread Rahul Shukla
Thanks , I'll try now and incase ther is some problem i'll let you know. Regards, Rahul --- Henk Jonas [EMAIL PROTECTED] wrote: ehm, set an alarm. It's not that difficult. Your program gets called after hotsync. Your program sets the alarm. Your program will be called when the time for

Re: Pls Help! - to to prevent accidental deletion of Palm Application?

2003-03-20 Thread applek33
I was thinking that there must be a such way to set the disablity for an application from any deletion. Built-in application such as memopad, address application are not be able to show it in the deletion list. Could anybody can help me? --- In [EMAIL PROTECTED], apple k [EMAIL PROTECTED]

Re: CW Code generation

2003-03-20 Thread Dan Patrutiu
The return type is int or unsigned int, whatever. This is not a really full snippet, as this function does some additions too, but that's not important. This is in fact an inline function. Currently I've implemented it in assembler and it seems to be working. But I finally wonder, how many

locking the same record multiple times by setting FldSetText

2003-03-20 Thread Veronica Loell
I use the following calls to attach database info to the fields in my forms: -- fldP = FrmGetObjectPtr (frmP, FrmGetObjectIndex (frmP, BGfldArbPlatsNamn)); FldSetText(fldP, recordH, OffsetOf(ppavotidRecEssarType,ap), sizeof(essP-ap)); -- This obviously increase the records lock value to a number