Re: Clipper mini-font

2000-08-04 Thread Ken Krugler
in a different PRC. Also, on non-Latin devices the font IDs could be different. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Bitmap not displaying on Graphic Button

2000-08-04 Thread Ken Krugler
numeric space glyph at position 0x80, starting with Palm OS 3.3. What this means is that Constructor might still have older fonts with the numeric space at this location, so it looks OK when you're editing the UI, but at run-time you'll see the Euro. Try running your app with a 3.1 ROM, and see w

Re: Using OS 3.5 calls...

2000-08-04 Thread Ken Krugler
ther wind up jumping to the real routines in ROM, or provide reasonable approximations of correct behavior on older devices. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see h

Re: Insertion point error in an alert

2000-08-04 Thread Ken Krugler
d checking the insertion point of a non-editable field? Ken Krugler wrote: It would be great if you could send me the app, with a reproducible test case. We've run into (and fixed) other problems with alerts and long messages, but this is a new one to me. Another option, if you're handy with th

RE: C++ or C

2000-08-02 Thread Yu, Ken
(not lite), you can develop Palm applications in C++. -Ken -- From: Dean Salman[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday, August 02, 2000 8:45 AM To: Palm Developer Forum Subject: Re: C++ or C Please explain conduit using VC

Re: Changing Application Icon Name

2000-08-02 Thread Ken Krugler
epending on how you determine the resource file to modify, you might wind up modifying the name in the overlay or the name in the base (your app), but not in both places. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Devel

RE: new subject line:) 'Inconsistent behavior with Database Opera tions....

2000-08-01 Thread Yu, Ken
Is the value of recindex valid for all your databases? You should also use DmGetLastErr() to check for errors after calling DmQueryRecord(). -Ken -- From: Frank Ableson[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, July 31, 2000 10:16 PM

Re: How to modify a program during execution...

2000-08-01 Thread Ken Krugler
, then your code will fail. Also, there could be situations in future versions of the Palm OS where an application _does_ get temporarily copied into memory before it's executed, and thus your changes won't "stick". So my question would be why you need to have a self-modifying app? -

Re: compiler handling word alignment

2000-08-01 Thread Ken Krugler
code to check whether an address is odd or even before attempting word/long accesses, and inject byte-access code for you. What compilers have you used in the past that would do this sort of thing, and what were the target CPUs? -- Ken PS - Note that when you use the Simulator on a Mac, it does

RE: Bad Developer Survey format

2000-08-01 Thread Yu, Ken
I never got a survey. Palm does not love me :( -Ken -- From: Tom Zerucha[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, August 01, 2000 1:54 AM To: Palm Developer Forum Subject: Bad Developer Survey format I just got

High speed animation

2000-07-26 Thread Yu, Ken
with some of the games out there. Any hints or tips? Thanks, -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Reg Codes and Japanese OS

2000-07-25 Thread Ken Krugler
h Japanese (Shift-JIS) as well. If I was going to hazard a guess, it would be that the algorithm has a problem with sign-extension, such that English user names with characters in the high-ASCII range would also fail. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 53

Re: Algorithm or format of the compressed bitmap

2000-07-25 Thread Ken Krugler
I wrote an article about this a while back. You can still get the code for compressing bitmaps at ftp://ftp.transpac.com/bitmaps/ -- Ken At 12:00am -0700 00-07-24, Palm Developer Forum digest wrote: Subject: Re: Algorithm or format of the compressed bitmap From: "Kijang Jung" [EMAIL

Re: Help writing Japanese apps

2000-07-22 Thread Ken Krugler
at answers this specific question. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Help writing Japanese apps

2000-07-21 Thread Ken Krugler
erly in Constructor. At least it works for me, using Constructor 1.2 on Mac OS 8.6 with the Japanese Language Kit. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www

Re: Using OS 3.5 calls...

2000-07-20 Thread Ken Krugler
re running under - for example, the Text Manager routines. In those cases the PalmOSGlue.lib library contains glue routines that either call through to the new routine (if it exists), or execute code to do the right thing based on the older OS version. -- Ken Ken Krugler TransPac Software,

RE: Err Getting Rec - why?

2000-07-20 Thread Yu, Ken
Tim, Perhaps you meant to pass 'i' and not 'index' to DmReleaseRecord()? DmReleaseRecord(gFpurDB, index, true); Your code will only release the record of 'index' that is passed to foo() -Ken -- From: Tim Astle[SMTP:[EMAIL PROTECTED]] Reply To: Palm

RE: records

2000-07-19 Thread Yu, Ken
Do you have less than 2 records in your database when running this code? index = 2 may not be a valid index since it will be reassigned if you have less than 2 recs. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday

Re: keyboard graffiti

2000-07-19 Thread Ken Krugler
to do that either. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: PDB Export Utilities for PC

2000-07-18 Thread Yu, Ken
The creation time is a 32-bit value. Have you taken account the word ordering difference between Palm and Intel machines? (That's if you are using a PC) -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, July 18

RE: DmDeleteRecord(..) vs. DmRemoveRecord(..) Info needed please

2000-07-17 Thread Yu, Ken
causing your error. -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Beginner programming questions

2000-07-17 Thread Yu, Ken
I would go with GCC. It is the most flexible and the price is right (free). You'll also gain knowledge in C programming which is usable on other platforms. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, July

RE: Beginner programming questions

2000-07-17 Thread Yu, Ken
I say it's flexible because since it is a C compiler, you are only limited by your coding ability as opposed to tools that provide an IDE where you may get stuck by the tool's limitatiions. The callback hack is fixed in PRC-Tools 2.0. -Ken -- From: Bryan Batchelder[SMTP

Re: Qur'an Arabic eBook port to PalmOS related MISC

2000-07-15 Thread Ken Krugler
to handle conversion from Unicode (what XML uses) into the device's character set. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: millisecond delay

2000-07-14 Thread Ken Krugler
Petrus, I've got no input on whether or not you really need a higher-resolution timer, but there's code to do what you want at ftp://ftp.transpac.com/timer -- Ken But let me put the question in another form: Is there a way to read the time/tick count/other with accuracy of about 1ms

RE: Problem Sync'ing Address Book (disk full?)

2000-07-13 Thread Yu, Ken
Could be write permission problem. -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday, July 12, 2000 7:38 PM To: Palm Developer Forum Subject: Problem Sync'ing Address Book (disk full?) Hi All, I am

Re: Doc bug on FldSetTextPtr

2000-07-13 Thread Ken Krugler
this note along to the documentation group. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: dateTableItem internationalization

2000-07-12 Thread Ken Krugler
I'll look at fixing up in the future. For now, your only solution is to make it a customTableItem, and do the right thing in your call-back procedure. The ToDo app handles it this way. Note that the table date drawing code also appends a '!' for dates before or equal to the current date. -- Ken K

RE: StrIToA

2000-07-12 Thread Ken Krugler
ere you have to code specifically for ASCII/Latin, but those are few and far between. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Big problem with fields

2000-07-11 Thread Yu, Ken
Can you give a more detailed description of your 'solution'? Maybe we can help you find the real cause of the problem so that you can avoid this kludge. You may have gotten your program to work but you may also be hiding a potential larger problem. -Ken -- From: Pierre Baux

RE: Questions (Emulated program counters)

2000-07-11 Thread Yu, Ken
, examine the log files for more details on the sequence of events that caused the error. -Ken -- From: Andrew Lathrop[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, July 11, 2000 3:14 PM To: Palm Developer Forum Subject: Questions

RE: Suggestions Please

2000-07-10 Thread Yu, Ken
I've done something similar. I've assigned a hidden category to my records to indicate if they are viewable/nonviewable and then retrieve the viewable records using functions like DmQueryNextInCategory() to populate the table. -Ken -- From: Tim Astle[SMTP:[EMAIL PROTECTED

RE: a question to shareware authors

2000-07-05 Thread Yu, Ken
I believe the original formula was correct. xx = 0. price = 1.95 yy = xx + 1 (00.0+1) price = 2.00 feeling guilty for pricing $1.95 instead of $2.00 -- From: Michael S. Davis[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday, July 05,

Re: double byte Character in Avango

2000-07-05 Thread Ken Krugler
to modify their app to be multi-byte aware. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: cancer causing devices (was Re: QualComm PDQ Phone)

2000-07-05 Thread Ken Sale
Apparently, it was long enough ago that the laws of physics have changed since then. If the radiation is omnidirectional then the field strength falls off as the inverse second power of distance (only if you are far away from the source compared to the size of the source). "John E. Christ

RE: Globals in shared libraries and virtual drivers

2000-07-02 Thread Ken Krugler
support for A4-based globals. -- Ken At 12:00am -0700 00-07-01, Palm Developer Forum digest wrote: Subject: Globals in shared libraries and virtual drivers. From: "Petrus Wrangö" [EMAIL PROTECTED] Date: Fri, 30 Jun 2000 09:24:43 +0200 X-Message-Number: 1 Official information states

Re: TxtFindString Error....

2000-06-27 Thread Ken Krugler
he results of calling TxtPrepFindString with the string entered by the user in the Find form (the FindParamsType.strAsTyped string). -- Ken At 12:00am -0700 00-06-27, Palm Developer Forum digest wrote: Subject: Re: TxtFindString Error From: "Sam Trimble" [EMAIL PROTECTED] Date: Mon,

Re: TxtGlueCharAttr - broken?

2000-06-26 Thread Ken Krugler
record, and then passing that around as a Char parameter to routines. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Defining Custom Font

2000-06-26 Thread Ken Krugler
for the UI object (e.g. a text field) to be kCustomFontID. -- Ken At 12:00am -0700 00-06-24, Palm Developer Forum digest wrote: Subject: RE: Defining Custom Font From: "Nesse, Rustin" [EMAIL PROTECTED] Date: Fri, 23 Jun 2000 08:18:14 -0700 X-Message-Number: 26 Not really. It's like using a s

Re: How to reduce illegal characters in a text field

2000-06-15 Thread Ken Krugler
, chrRightArrow, chrDownArrow, chrUpArrow, and TxtCharIsPrint(theCharacter) == true. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Your app has just overflowed the stack

2000-06-09 Thread Yu, Ken
I've seen this too. It happened to me when I was using multiple databases in my app. When I converted to one DB, it went away. Not sure what's the cause. -- From: Fima Furman[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, June 09, 2000

RE: Your app has just overflowed the stack

2000-06-09 Thread Yu, Ken
Symptoms described in the archives are similar just that I was using 3.1 Release ROMs not 3.3. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, June 09, 2000 4:30 PM To: Palm Developer Forum Subject: RE

RE: Selecting rows from a table

2000-06-08 Thread Yu, Ken
Jason, What you can do is have one column and display all your data in that one column (but print your data in such a way that appears to be multiple columns). -Ken -- From: Jason Freund[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, June

RE: Modal form over a Form

2000-06-07 Thread Yu, Ken
Are you drawing your fields *before* calling FrmDrawForm()? -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday, June 07, 2000 5:00 PM To: Palm Developer Forum Subject: Modal form over a Form After pressing the

RE: Modal form over a Form

2000-06-07 Thread Yu, Ken
Then that's your problem. The fields should be drawn after FrmDrawForm(). If you draw your fields before, the screen image is saved before the next form is displayed. When your modal dialog closes, this image is restored thus displaying the fields from the previous dialog. -- From:

RE: Number of Fields

2000-06-07 Thread Yu, Ken
Another way is the method used by the built-in apps (eg AddressBook). Bit fields are used to indicate if a field exists in the record. I find that this method is best for memory conservation. You won't waste a byte for each empty field when using deliminators and fixed length always causes

RE: Curious occurance...

2000-06-06 Thread Yu, Ken
Are using using OS 3.5? I had a similar occurance. The cause was that my custom draw routine is being called on 3.5 when a record no longer exist in the database. Example: - I have a table listing the short description of each record. - A row is tapped and this brings me to a detail screen. -

re: error in SysKeyboardDialog()...

2000-05-29 Thread Ken Krugler
selects enough of the text to not be able to undo it, and only if you press the backspace key. This could be a bug in the field code or the form code, though it's not obvious from looking at the source. A stack crawl would be very useful, as would a dump of the contents of the field structure...ar

Re: bitmaps

2000-05-29 Thread Ken Krugler
At 12:00am -0700 00-05-29, Palm Developer Forum digest wrote: Subject: Re: bitmaps From: "gaurav palvia" [EMAIL PROTECTED] Date: Mon, 29 May 2000 11:04:07 +0530 X-Message-Number: 29 Thnax a lot Ken for ur detailed response i will be highly thankul if u clear a few more doubts regardi

Re: Bug in TxtGlue* routines in SDK-3.5

2000-05-28 Thread Ken Krugler
't personally tested the GCC version...my current best guess is that it has a bug where it always assumes that the IntlDispatch trap doesn't exist. Let me know the version of Palm OS you're testing under, and also any information (date/file size) of the Palm OS Glue library that you're linking again

Re: TxtCharIsDigit problem

2000-05-28 Thread Ken Krugler
is TxtGlue.h. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: bitmaps

2000-05-26 Thread Ken Krugler
utilities as well. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Different table behavior on 3.5

2000-05-25 Thread Yu, Ken
is different. Any ideas on how I should work around this? (Maybe I'll just hard code the boundary dimensions) -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Message Box

2000-05-22 Thread Yu, Ken
I was using SDK 3.1 initially and it never worked. According to John Marshall, I should be using SDK 3.5. (something to do with selectorised functions). I upgraded my code to 3.5 and it worked. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm

textTableItem not wrapping

2000-05-22 Thread Ken Glover
Hi all. I have a table with textTableItem style. I cannot make the fields wrap for some reason. I have set the proper attributes for the field from the fn set by TblLoadDataProcedure. Anyone have same the problem? Can anyone give me some pointers please? Thanks for reading this! Ken

Re: Ascii to DateTimeType

2000-05-21 Thread Ken Krugler
. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Message Box

2000-05-19 Thread Yu, Ken
Instead of creating message boxes, why not use Palm Reporter from www.palmos.com? I found the Palm Reporter utility to be an extremely helpful tool. You can emit traces from your app and monitor them with Reporter. You do not have to repeatedly recompile with debugging messages and execution

Re: Code fro displaying Multiple fonts in a field

2000-05-18 Thread Ken Krugler
you've got a bounding rectangle and your text/font run info, then the only other two pieces of info you'll need are the scroll amount (number of lines "above" the top of your bounding rect) and the byte offset to the first displayable line. -- Ken Ken Krugler TransPac Software, Inc. http:/

Re: Read from low memory error when editing field and backspacing

2000-05-18 Thread Ken Krugler
Al, Not that this is your problem, but calling FldGetAttributes/FldSetAttributes is a good idea, versus directly hitting the fldP-attr bits. Currently there's not much difference, but in the future the field code may be smarter about dealing with programmatically changing attributes. -- Ken

Re: Detecting a Graffiti tap

2000-05-17 Thread Ken Krugler
At 12:00am -0700 00-05-17, Palm Developer Forum digest wrote: Subject: Re: Detecting a Graffiti tap From: Dave Johnson [EMAIL PROTECTED] Date: Tue, 16 May 2000 14:51:30 -0700 X-Message-Number: 105 Ken Krugler wrote: You'll get a penDownEvent in your event loop when the user taps

Re: Detecting a Graffiti tap

2000-05-16 Thread Ken Krugler
ounds were: Latin - top 164 left27 height 56 width 62 (alpha), 44 (numeric) Japanese - top 164 left44 height 56 width 50 (alpha), 48 (numeric) -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com

RE: Application will download under Metrowerks debugger but not H otsync

2000-05-16 Thread Yu, Ken
Are you checking your launch codes before using globals 007? :) Your app will get called after a HotSync, executing the main routine. If globals are accessed during this time, your app will crash. -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Palm Reporter

2000-05-12 Thread Yu, Ken
Has anyone got the Palm Reporter (tracing utility) to work with PRC-Tools 2.0? I can see traces from the supplied test app so I know that the install/config is ok. When I try to emit traces from my own app, nothing happens. I have included hostcontrol.h from POSE and my code calls

RE: Multi-segment and GCC

2000-05-11 Thread Yu, Ken
I have, using PRC Tools 2.0. My apps are 2 segments and so far so good. -- From: Mitch Fawcett[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, May 11, 2000 10:06 AM To: Palm Developer Forum Subject: Multi-segment and GCC I've

Re: Symptom of something currupt?

2000-05-10 Thread Ken Krugler
chard Burmeister" [EMAIL PROTECTED] Date: Tue, 9 May 2000 10:52:00 -0500 X-Message-Number: 21 From: "Ken Krugler" [EMAIL PROTECTED] Do you have all three parameters (^1, ^2, and ^3) in your alert? When you call FrmCustomAlert, don't pass in NULL if your alert uses ^1, ^2, and

RE: Converting DayOfWeek to a string

2000-05-10 Thread Ken Krugler
WeekStringsP = (Char*)MemHandleLock(dayOfWeekStringsH); bytesPerDayName = StrLen(dayOfWeekStringsP) / daysInWeek; MemMove(oDayNameString, dayOfWeekStringsP + (iDOWNumber * bytesPerDayName), bytesPerDayName - 1); oDayNameString[bytesPerDayName] = '\0'; } -- Ken Ken Krugl

Re: Symptom of something currupt?

2000-05-09 Thread Ken Krugler
from being localizable, for two reasons. a. You've got a hard-coded string in your code. b. The localizers are unable to re-order parameters in the message, which is frequently necessary to get a grammatically correct (or at least reasonable) translation. -- Ken Ken Krugler TransPac Softw

Truncating text is a pop-up list

2000-05-09 Thread Ken Krugler
to draw multi-line static text. 2. Otherwise, calling WinDrawTruncChars is the easiest way to draw truncated text with a terminating ellipsis character. You can use WinGlueDrawTruncChars in the PalmOSGlue library if you need pre-3.1 compatibility. -- Ken Ken Krugler TransPac Software, Inc

RE: color fields...NOT

2000-05-09 Thread Ken Krugler
LineHeight(); iText += bytesThatFit; } } -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

You know you've been programming Palm too long when

2000-05-05 Thread Yu, Ken
you mistakenly use StrCopy(), MemSet() in your PC programs... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Fatal Error when HotSync installs the .PRC

2000-05-04 Thread Yu, Ken
Your app may be accessing global variables regardless of the launch flag. Make sure you check the launch flag before using globals. -Ken -- From: HowY[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, May 04, 2000 9:14 AM To: Palm

RE: Adding Strings - function problem

2000-04-25 Thread Yu, Ken
You are returning a pointer to memory you have just free'd. Won't this be a problem? -Ken -- From: Tim Astle[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, April 25, 2000 9:12 AM To: Palm Developer Forum Subject: Adding Strings

Memory problem on execution in POSE

2000-04-23 Thread Ken Miller
tell me the best way narrow down the problem? I am using GCC ported to Windows (0.5.0 variety) with the 3.1 SDK. I have included my PilotMain below. Thanks for any help. Ken [EMAIL PROTECTED] DWord PilotMain(Word cmd, Ptr cmdPBP, Word launchFlags) { Word error =

RE: Field light and dark

2000-04-18 Thread Ken Krugler
es without any text) using WinDrawGrayLine, but text is drawn using using the correct underline. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.c

RE: Weird.....

2000-04-17 Thread Yu, Ken
You need to pad your single byte data to even bytes so that the structs after them can be addressed. The Palm can only address structs on even byte boundaries. -Ken -- From: Tim Astle[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, April 17

RE: Opening and Closing databases

2000-04-14 Thread Yu, Ken
I believe the size is in bytes not kb, so you can have records smaller than 1K. -Ken -- From: Timothy Astle[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, April 14, 2000 9:02 AM To: Palm Developer Forum Subject: Re: Opening

Debugging a memory leak

2000-04-14 Thread Ken Miller
, I am not sure how to debug it. Can anyone tell me the best way narrow down the problem? I am using GCC ported to Windows (0.5.0 variety) with the 3.1 SDK. Thanks in advance. Ken Miller [EMAIL PROTECTED] __ Do You Yahoo!? Talk to your friends

RE: Bewildered...

2000-04-13 Thread Yu, Ken
Tim, 1 - CharPtr c is a _pointer_ to a string. It is not pointing to any valid memory to store data. You must allocate some memory and assign c to point to that area. 2,3: These functions expect a Record Index not the Unique ID. -- From: Timothy Astle[SMTP:[EMAIL

Re: How to create and use custom font?

2000-04-08 Thread Ken Krugler
to expand the extended font table. Good luck, -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

Re: TxtGlueReplaceStr, 3.0 debug ROM and IntlDispatch crash

2000-04-08 Thread Ken Krugler
TxtGlueParamString TxtGlueStrEncoding TxtGluePrepFindString I'll see what I can do about getting a fixed version of PalmOSGlue posted to the developer web site asap. Thanks for the report... -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200

Debugging a memory leak

2000-04-07 Thread Ken Miller
the problem? I am using GCC ported to Windows (0.5.0 variety) with the 3.1 SDK. Thanks in advance. Ken Miller [EMAIL PROTECTED] __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com -- For information on using

AMX Error

2000-04-06 Thread Yu, Ken
After installing 2 of my apps and running them for the first time, POSE says: ("AMX" has just performed an illegal operation. It performed a "bus error") after I do a reset. The apps work fine, just that I get this when I select reset on POSE. Once the message appears, it does not go

RE: Michael Sokolov and prc-tools-0.6.0 are back!

2000-04-06 Thread Yu, Ken
Thems fightin' words in my neighborhood. -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, April 06, 2000 4:24 PM To: Palm Developer Forum Subject: Michael Sokolov and prc-tools-0.6.0 are back! and

What is an AMX error?

2000-04-06 Thread Yu, Ken
When my apps are installed and executed, I get an "AMX" error on a soft reset on POSE. It happens with the 3.02 ROMs extracted from my Palm V. It does not occur on the actual unit or if I use the 3.0 debug ROM on POSE. Any ideas?

RE: ?Record size - is 1K the minimum?

2000-04-06 Thread Yu, Ken
Do you have 1000 hardcorded in your call to DmNewRecord() perhaps? -Ken -- From: Al Macy[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, April 06, 2000 6:08 PM To: Palm Developer Forum Subject: ?Record size - is 1K the minimum

RE: New Serial Manager problem.

2000-04-04 Thread Yu, Ken
I meant the binary code distributed in the SDK. Can the binaries in the SDK (*.o's and *.lib's) be linked with GCC or do they only work with CodeWarrior? Ken -- From: John Marshall[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, April 03

PRC Tools 2.0 multigen utility

2000-04-04 Thread Yu, Ken
tiple code sections specified -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

RE: PRC Tools 2.0 multigen utility

2000-04-04 Thread Yu, Ken
Thanks! That did the trick. Now I'm encountering another problem. After I break my app into multi segments following the steps outlined in the docs, POSE says: "UIAppShell" reports "Main.c, Line: 301, Could not launch application." when I execute it. Does anyone know what

RE: PRC Tools 2.0 multigen utility

2000-04-04 Thread Yu, Ken
You are correct. It was missing the code resource. When modifying my build script to remove references to *.grc files, I failed to include the output from the linker in the build-prc line. Thank You, Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply

Re: EvtKeyDownIsVirtual is evil?

2000-04-02 Thread Ken Krugler
other two types of special keyDown events. Perhaps a better name for EvtKeyDownIsVirtual would have been EvtKeyDownIsSpecial. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 530-470-9200 -- For information on using the Palm Developer Forums, or to unsubscribe, please

Help with debugging a memory leak

2000-04-01 Thread Ken Miller
Can anyone tell me the best way to debug a program so that I can get the line number to narrow down the problem? I am getting a memory leak problem and not sure how to find out where it is coming from. I am using GCC ported to Windows (0.5.0 variety) with the 3.1 SDK. Thanks in advance. Ken

palmos.com

2000-03-28 Thread Davidson, Ken (GC CT)
received a newsletter. I also can't find any newsletter archives in the marketing area listed above. Am I missing something? Thanks. Ken Davidson [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

Re: Concept questions

2000-03-28 Thread Ken Miller
') as your parameter prototype. Tried it and it didn't make a difference. Still same error message. Do you have any code before the line containing "UInt index = ..."? Ok, you got me there. That fixed it. Thanks, Ken __ Do You

Debugging question

2000-03-28 Thread Ken Miller
Can anyone tell me the best way to debug a program so that I can get the line number to narrow down the problem? I am getting a memory leak problem and not sure how to find out where it is coming from. I am using GCC ported to Windows (0.5.0 variety) with the 3.1 SDK. Thanks in advance. Ken

RE: GetObjectFromActiveForm

2000-03-27 Thread Ken Miller
That fixed the error. I just substituted it straight out and it worked. Thanks. Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Ardiri Sent: Monday, March 27, 2000 8:00 PM To: Palm Developer Forum Subject: Re: GetObjectFromActiveForm Can

Re: Is there a bug in TxtCharIsDigit?

2000-03-24 Thread Ken Krugler
to TextMgr.h. Though if you're including PalmOS.h, both of these files are included for you. As other people have noted, if you want your app to run on pre-3.1 versions of the OS, you should use the TxtGlueCharIsXXX routines found in PalmOSGlue.lib, which you then link against. -- Ken Ken Krugler

Re: trademarkChr, etc., blues...

2000-03-24 Thread Ken Krugler
character encoding. Characters that are specific to a given character encoding are contained in separate header files, for example CharLatin.h and CharShiftJIS.h. If you want to use one of these encoding-specific files, you'll want to define NON_INTERNATIONAL first, then include them. -- Ken Ken

RE: Retrieving info from SQL

2000-03-23 Thread Yu, Ken
I have implemented process similar to what you are describing using conduits. The conduits connect to the SQL database during a HotSync. Conduits can be written in C++ or JAVA so you can call database API's to query, retrieve and update your SQL database. -Ken -- From

Re: Japanese support

2000-03-21 Thread Ken Krugler
tion which demonstrates a CodeWarrior project file and appropriate folders/resource files for building Japanese (and other languages). Download the SDK, take a look at it, and then post again if you've still got questions. -- Ken Ken Krugler TransPac Software, Inc. http://www.transpac.com +1 53

RE: Setting Palm Address Book fields

2000-03-16 Thread Yu, Ken
In addition to clearing the field, you should also unset its corresponding flag in AddrDBRecordFlags. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, March 16, 2000 4:44 PM To: Palm Developer Forum

<    2   3   4   5   6   7   8   >