Re: Re: Re: Auto-Timeoff System Pref.

2002-02-07 Thread Jim Schram
At 5:47 AM + 2002/02/07, prathit wrote: thanx! but i am writing a device driver which i guess does not have any event loop as such. so what should i do? Exactly as I said you should do... post a vchrPowerOff event. The main event loop of *any* currently running application will pass the

Any .NET Conduit Samples Out There?

2002-02-07 Thread CausticMango
Does anyone know of a .NET based example of a conduit using the COM Sync Suite? -- Samuel Ford [EMAIL PROTECTED] http://home.earthlink.net/~causticmango/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: OS 5 == High Development Cost?

2002-02-07 Thread Dave Lippincott
Thank you for you astute observations but no, insanity does not run in my family. Some of us are not so fortunate as to work for companies that allow us to install whatever the current Windows OS of the day happens to be. We've standardized on 98 osr2 and are only allowed to use that version on

Re: Passing data between applications

2002-02-07 Thread Charles Busch
What is the best way to pass data between applications. I am trying to write our POS application so that other applications developers will easily be able to call my app. and use its PRE-Certified Credit card verification functionality. I would like any application the has a credit card as a

Re: Any .NET Conduit Samples Out There?

2002-02-07 Thread C Srinivas
One method is to use tlbimp and create a runtime callable wrapper for the comdirect and comstandard dll's. This worked for us with C#. However, the new CDK should be something to watch out for, as given in the announcements describing its relation to VS.net. Regards, Srinivas.

Re: Revisiting the dynamic scrollbars debate

2002-02-07 Thread Terry Dennis
Sajul: re: The code you have given, since it accesses Palm OS internal structures won't it fail on higher end devices like O.S. 5? Or is there any new provision for the new OS? Yes, the code I provided uses an illegal access and might not work on Palm OS 5 and future releases. But, Dan

Stack Overflow

2002-02-07 Thread Eli Mandel
I have implemented my serial communications handler as a WakeupHandlerProc() to be triggerred upon detecting an incoming byte. From within the handler I made a call to AlmSetProcAlarm(), and all worked okay. Yesterday, I downloaded and installed the PalmOS 4.0 SDK which modified various things

Re: Need help examining some UI's attribute without accessing their data structure

2002-02-07 Thread Joe
--- John Leung wrote: 1. Checking if a menu (or a command bar) is visible. ... Perhaps this thread will help you: http://www.escribe.com/computing/pcpqa/m51603.html 2. A second question is related to a field's attribute. In OS4's API reference manual, it warns us about not accessing

Re: !!!pdb file

2002-02-07 Thread Joe
--- quennie wrote: Hi...can we simply import the pdb files (from backup) into palm Yes. Did you try doing it before asking? Did you have a problem? __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings!

crc extension for SF

2002-02-07 Thread fstanley
Hi I like to write an extension for SF to calculate CRC checksum for a string. Anyone know where I can get or gain an understanding for CRC calculations. TIA for any replies. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: OS 5 == High Development Cost?

2002-02-07 Thread Oliver Steinmeier
Some of us are not so fortunate as to work for companies that allow us to install whatever the current Windows OS of the day happens to be. We've standardized on 98 osr2 and are only allowed to use that version on company computers. If developing Palm OS software is (part of) your

Re: crc extension for SF

2002-02-07 Thread Max Bian
CRC checksum is the qualifying program students have to write for network programing course in my college. You can have all kinds of CRC... You may want to look at the one in the Palm released source code. The Palm does have a CRC function. Max --- fstanley [EMAIL PROTECTED] wrote: Hi I like

Re: crc extension for SF

2002-02-07 Thread Joe
--- fstanley wrote: I like to write an extension for SF to calculate CRC checksum for a string. Anyone know where I can get or gain an understanding for CRC calculations. google is good place to look for answers to such general questions. Start by searching for cyclical redundancy check.

Re: crc extension for SF

2002-02-07 Thread fstanley
Thanks for the pointers... - Original Message - From: Joe [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: 07 February 2002 15:59 Subject: Re: crc extension for SF --- fstanley wrote: I like to write an extension for SF to calculate CRC checksum for a string.

Re: Convert Err to char*

2002-02-07 Thread Mark A. Peters
You can also obtain the text corresponding to the system error code by passing it into SysErrString. Mark Peters ] Joe [EMAIL PROTECTED] wrote in message news:75992@palm-dev-forum... --- Bill Andreozzi wrote: Does anyone have a quick example as to how to convert an Err (returned from

Re: Convert Err to char*

2002-02-07 Thread Dave Carrigan
Mark A. Peters [EMAIL PROTECTED] writes: You can also obtain the text corresponding to the system error code by passing it into SysErrString. But, that is not a complete solution unfortunately (as explained on John's page below). The best solution I've seen is John Marshall's ErrorCodes.

Re: Convert Err to char*

2002-02-07 Thread Joe
Joe wrote: Well, Err is just a TypeDef for UInt16, so you could use StrIToA() or StrPrintF() to convert it to a string. SysErrString() is also useful to produce more meaningful text (sometimes) but it has serious limitations. The best solution I've seen is John Marshall's

VMT in shared libraries

2002-02-07 Thread Eugene Mayevski
Hello! CodeWarrior has a pragma #pcrelconstdata. It works for constants but for some reason doesn't work for virtual method tables in CodeWarrior 7. This prevents putting classes with virtual methods to shared libraries, and this is a big problem in some cases. Does CodeWarrior 8 solve this

Re: Convert Err to char*

2002-02-07 Thread Mark A. Peters
Joe [EMAIL PROTECTED] wrote in message news:76072@palm-dev-forum... --- Mark A. Peters wrote: You can also obtain the text corresponding to the system error code by passing it into SysErrString. Joe writes some more... Mark, If you read what I posted (which you were resonding to),

Re: Convert Err to char*

2002-02-07 Thread Mark A. Peters
Oops, I was trying to poke fun at myself, but I see that what I wrote pokes fun at Joe. I should have written Missed it I did! I guess there really is a first time for everything. ;-). Mark Peters [Me] You can also obtain the text corresponding to the system error code by passing it

Re: VMT in shared libraries

2002-02-07 Thread Ben Combee
Eugene Mayevski [EMAIL PROTECTED] wrote in message news:76075@palm-dev-forum... Hello! CodeWarrior has a pragma #pcrelconstdata. It works for constants but for some reason doesn't work for virtual method tables in CodeWarrior 7. This prevents putting classes with virtual methods to shared

CW8 Table Draw C++ class Callback functions

2002-02-07 Thread George Aslanis
Hello, Are there any new tricks in CW8 which allow table draw callback functions to be referenced from a class function instead of globally defining the functions? Thanks, George Aslanis -- For information on using the Palm Developer Forums, or to unsubscribe, please see

pop-up trig. growth controlling

2002-02-07 Thread Kevin Del
Hello I'm trying to configure a pop up trigger so it's right anchored and only grows left to a certain width. I can't figure out how to do this, the problem is if a user makes a category with a really long name it grows into an area of the screen where I don't want it. I thought setting the

Illegal initialization? address table?

2002-02-07 Thread GB
I am attempting to declare a const array: const UInt8 F2000m[4] = { 3, 4, 1, 1 }; // more declarations like this... and then include the address of it when initializing a structure later on. The structure has a member: const UInt8 *pCharArray; // Ptr to variable length array I get:

RE: CW8 Table Draw C++ class Callback functions

2002-02-07 Thread Schettino, John
You could make them static methods of a class. That's not exactly a global fn should work. - John -Original Message- Are there any new tricks in CW8 which allow table draw callback functions to be referenced from a class function instead of globally defining the functions? --

Re: OS 5 == High Development Cost?

2002-02-07 Thread Richard M. Hartman
Danny Epstein [EMAIL PROTECTED] wrote in message news:76003@palm-dev-forum... Because the actual processors are different, the entire OS ends up being compiled into a different instruction set, but the packing rules and endianness mean you can still access data in the same way.

Re: Illegal initialization? address table?

2002-02-07 Thread Bob Withers
At 03:42 PM 2/7/2002 -0800, you wrote: I am attempting to declare a const array: const UInt8 F2000m[4] = { 3, 4, 1, 1 }; // more declarations like this... and then include the address of it when initializing a structure later on. The structure has a member: const UInt8 *pCharArray; //

Re: pop-up trig. growth controlling

2002-02-07 Thread Max Bian
Hi. I had to solve this a while ago. What you can do is to handle the list yourself. ie., don't let the OS set the label based on the selection. When a list item is selected, return handled=true so it won't automatically set the label. You can set a shorter label based on selection. For

Re: CW8 Table Draw C++ class Callback functions

2002-02-07 Thread Ben Combee
George Aslanis [EMAIL PROTECTED] wrote in message news:76079@palm-dev-forum... Hello, Are there any new tricks in CW8 which allow table draw callback functions to be referenced from a class function instead of globally defining the functions? Make the table draw functions static members of

Re: !!!pdb file

2002-02-07 Thread quennie
yes..i've tried...but it taken me a lot of time about 1hr...finally i interrupt the Hotsync do u have any idea...??? or may be the pdb file is too big...only about 50KB and the other one is 4KB Joe [EMAIL PROTECTED] wrote in message news:76059@palm-dev-forum... --- quennie wrote:

Re: Illegal initialization? address table?

2002-02-07 Thread Ben Combee
GB [EMAIL PROTECTED] wrote in message news:76085@palm-dev-forum... I am attempting to declare a const array: const UInt8 F2000m[4] = { 3, 4, 1, 1 }; // more declarations like this... and then include the address of it when initializing a structure later on. The structure has a

Re: !!!pdb file

2002-02-07 Thread Joe
--- quennie wrote: yes..i've tried...but it taken me a lot of time about 1hr... finally i interrupt the Hotsync do u have any idea...??? or may be the pdb file is too big...only about 50KB and the other one is 4KB The key factor is the number of records. If there are many records,

Re: !!!pdb file

2002-02-07 Thread Joe
--- quennie wrote: Joe...Thanks for your reply! Anyway, i've installed it into the POSE. FYI, i'm debugging the problem where the data is from my client and his site cannot HotSync, when i hotsync at his site, the problem come out on his dekstop: HotSync causes error in ABC.dll That's

Localized appl. Qn

2002-02-07 Thread Keith
Now i am going to localizing my appl. I read through Using Overlays to Localize Resources and PalmOS Programmer's Compaion - Localized Applications also sample of Address i got a brief idea on that, but still alot of Qn. I know i have to create a set of resources for different lang (eg. create

Re: !!!pdb file

2002-02-07 Thread quennie
Yeah... i know...But over my site..it runs ok...but his site cannot. I've found a lot from website..but not able to figure it out the problem since it doesn't have the error code and come out with the general problem. Do you have any idea??? Joe [EMAIL PROTECTED] wrote in message

Re: Need help examining some UI's attribute without accessing their data structure

2002-02-07 Thread John Leung
On Thu, 7 Feb 2002 07:14:04 -0800 (PST), Joe [EMAIL PROTECTED] wrote: --- John Leung wrote: 1. Checking if a menu (or a command bar) is visible. ... Perhaps this thread will help you: http://www.escribe.com/computing/pcpqa/m51603.html The thread didn't mention any thing different from