Re: Overlays

2002-06-26 Thread Ken Krugler
irectly created PRCs that contained localized resource data, and skipped the manual PRC2OVL process. Just make sure you don't use the 'ovly' type for these PRCs, as otherwise the OS will be very confused. This topic has come up a few times in the past - maybe I should add a KB en

Re: Chinese characters

2002-06-21 Thread Ken Krugler
aRecHdr.vData, 0, Asc("|"), pText This sounds more like a VB question than a Palm OS question. The character encoding used by Acer's products (and also Chinese hacks for Palm OS) is GB2312 (Simplified) or Big-5 (Traditional), which should match what the desktop is expecting. -- K

RE: Newbie Question 2 -Allowable chars in HotSync ID?

2002-06-20 Thread Ken Krugler
loppy with their naming conventions for buffer limits. Ideally anything called xxxLen[gth] would be the length of a string, excluding the terminating null, and anything called xxxSize would _include_ space for the terminating null, but that's not the case currently, so be car

Re: Problem changing field attributes

2002-06-11 Thread Ken Krugler
he singleLine attribute is one of these. -- 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/support/forums/

Re: when was this bug fixed?

2002-06-03 Thread Ken Krugler
>This was a bug in OS 3.0 but it was already fixed in OS 3.5. Can you tell me >when it was exactly fixed? OS 3.1? OS 3.2? OS 3.3? OS 3.5? > >grant 2/ 4/99 Send field change notification if we scroll > >[see e.g. MoveInsPtUpOneLine() in Field.c]. It was fixed in Pa

Re: Add'l Japanese Silkscreen Buttons

2002-06-02 Thread Ken Krugler
. Is there an additional header >file maybe? Nope - they're in Chars.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/support/forums/

Re: Undefining a custom font

2002-05-31 Thread Ken Krugler
needed to be re-wrapped, and the line starts array needed more entries) and this then triggered a hard-to-debug problem much later in the code. -- Ken -- Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For information on using the Palm Developer Forums,

Re: keydownevent fails in Palm OS 4

2002-05-25 Thread Ken Krugler
nt to use EvtEnqueueKey() to queue keydown events, as this puts the event into the separate key queue, versus EvtAddEventToQueue(), which puts events into the general event queue. I don't know of any code currently that cares whether keydown events are in the key queue, but it's a possibi

Re: Arcane Palm OS 3.5 problem

2002-04-30 Thread Ken Krugler
EC #96 10C4E0C2 BltCopyRectangle+0152 > 0003D0B2 #58 10C518A6 PrvMisAlignedForwardInnerBitBlt+0860 > 0003CFD4 #000222 10C53EDE PrvConvert8To1+0030 There are enough similarities that it _might_ be the same bug. The way I worked around it in my code was t

Re: String search

2002-04-24 Thread Ken Krugler
tion in the StrStr (instead of just an ==). It works fine. But note that in Palm OS 4.0/4.1, StrNCaselessCompare calls StrLen on both strings, thus this will be slow if the string you are searching in is very long. -- Ken -- Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 5

Re: hackmaster does not trap netlib calls

2002-04-24 Thread Ken Krugler
ch NetLibSocketOpen, as an example, you're patching trap 0xA807, which means that you're actually patching every open library's second custom routine. The topic of how to patch shared library routines has come up in the past - search the archives. But IIRC the bottom line is that

Re: localized

2002-04-22 Thread Ken Krugler
will give you an overlay with English text that still needs to be translated. So then the question is whether there's a version of Constructor that can edit GB-encoded text. I don't believe this has been released. -- Ken -- Ken Krugler TransPac Software, Inc. <http://www.transpac.

Re: localized

2002-04-18 Thread Ken Krugler
the SDK download page, then scroll down until you see "Extra Tools". This packages contains the PRC2OVL tool. -- 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

Re: StrNCopy()

2002-04-17 Thread Ken Krugler
s the Unicode Transformation Format that serializes a Unicode scalar value as a sequence of one to four bytes. The confusion probably comes from various implementations (primarily Oracle) that encode Unicode scalar values > 0x0 as a surrogate pair (two 16-bit Unicode values), where each

Re: Thai Fonts

2002-04-16 Thread Ken Krugler
if all you've got is some static text, you could take screen-shots on a PC or Mac and display those. Or if the text doesn't need to be wrapped or edited, you could create a set of custom fonts for displaying single lines of text. -- Ken -- Ken Krugler TransPac Software, Inc. <http://ww

Re: StrNCopy()

2002-04-15 Thread Ken Krugler
.have I been >misinformed? Yes. The Shift-JIS character encoding uses one or two bytes per character. >BTW...any chance of a Palm device using UTF-8 character sets? Yes. The major hurdle is how to allow older apps with legacy-encoded data to continue working properly on a device where the base character encoding is something 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/support/forums/

RE: Sorry for the echo

2002-03-19 Thread Yu, Ken [IT]
It's ok. I know it's difficult to contain one's excitement about the EventAnalyzerHack :) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Desktop HotSync Program

2002-03-15 Thread Yu, Ken [IT]
How do Pocket PC devices manage to do it? They seem to be connected to the PC at all times. -Ken > -- > From: Scott Johnson[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, March 15, 2002 4:42 PM > To: Palm Developer

Re: multi-line fields

2002-03-12 Thread Ken Krugler
after calling FldSetTextPtr(). Note that prior to Palm OS 4.0, if you passed false for FldRecalculateField's parameter, the text wouldn't get re-wrapped. -- Ken Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For information on using th

RE: FindStrInStr function

2002-03-09 Thread Ken Krugler
type "Chua", it doesn't match the string or even "Chua Wei Mei" >(I'm using this "FindStrInStr" function), Does anyone have the idea?? Don't forget to call TxtGluePrepFindString to "prepare" the string you're searching for first

Re: Palm symbol set

2002-03-08 Thread Ken Krugler
x27;s character set, and Palm adds some display-only glyphs in the control range. In either case if you're sending characters from a Palm device that uses the PalmLatin encoding, you can treat all of the data as CP1252. If you look in CharLatin.h, you'll see the definitions of all code po

Re: FrmPopupForm problem

2002-03-08 Thread Ken Krugler
m the form gets erased, but this isn't the case on release ROMs if you don't set the saveBehind flag, and it's not a modal form. Using FrmPopupForm with a non-modal form is probably non-standard usage, but it surprised me that things worked "better" on debug ROMs. -- Ken

RE: Alert box defaults

2002-03-06 Thread Yu, Ken [IT]
Use the DEFAULTBUTTON tag and specify your 'cancel' button instead. -Ken > -- > From: Benjamin Brazil[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, March 06, 2002 9:25 AM > To: Palm Developer Forum > Subj

Re: Fw: UpCase Alternative

2002-03-03 Thread Ken Krugler
>Is an alternative available to the UpCase function? > >Only found StrToLower function. TxtTransliterate, with the translitOpUpperCase operation. -- Ken Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For information on using the Palm Develope

Re: help needed on Hindi Graffiti

2002-03-02 Thread Ken Krugler
undertaking, even if you were already an experienced Palm OS developer. -- 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 buttons on PilRC

2002-03-01 Thread Yu, Ken [IT]
s not exhibited on non-debug ROMs or on an actual device. Also, buttons with text labels are redrawn correctly. I assume this has something to do with debug ROM's simulating low memory conditions. -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please

Bitmap buttons on PilRC

2002-02-28 Thread Yu, Ken [IT]
tead? (without having seperate executables for different > OS's) > Thanks, Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: how to exit from an App with a 'exit' button

2002-02-28 Thread Ken Krugler
cord. For the specific case above, the appStopEvent doesn't rely on any other fields in the structure, but it's generally good hygiene to clear out as much as possible any structure that you're passing to the OS. -- Ken Ken Krugler TransPac Software, Inc. <http://www.transpac

Re: Palm Chinese

2002-02-28 Thread Ken Krugler
mes from the multiple meanings of the word "overlay". For some reason it's become a popular term for hacks that try to enable support for non-English languages, but that has nothing directly to do with PRC overlays, PRC2OVL, the Overlay Mgr, etc. -- Ken Ken Krugler TransPac Software,

Re: Weird FntDefineFont problem

2002-02-23 Thread Ken Krugler
he new app. I'm guessing that somewhere in your legacy app you called FntDefineFont using a FontID value that's greater than 192. This would once again cause the table to be expanded. In older versions of Palm OS, the app defined font table wouldn't get reset to its defaul

RE: My own table troubles

2002-02-14 Thread Yu, Ken [IT]
You haven't specified any rows. Try: > TABLE ID tbTable AT ( 5 15 150 130 ) ROWS 10 COLUMNS 4 > > > -- > From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, February 14, 2002 12:56 PM > To: Palm Developer Forum > Subj

Re: Localized appl. Qn

2002-02-08 Thread Ken Krugler
n of your PRC. >Do i need to create a separate target for every lang? There was a discussion of this very topic just a few days ago on the list. Search the mailing list archive for "localize" and/or "translate". >How can the overlay manager locate/ identify the correct ove

RE: Problem with removing all the records at a time

2002-01-28 Thread Yu, Ken [IT]
After deletion of a record, the record index's are reassigned. They are always maintained 1 - nRecords. Try always passing index=0 to DmRemoveRecord() or delete the entire database and recreate it. -Ken > -- > From: Low Pui Kuen[SMTP:[EMAIL PROTECTED]] > Repl

RE: Problem with removing all the records at a time

2002-01-28 Thread Yu, Ken [IT]
Oops, I meant records numbers are maintained 0 to (nRecords - 1) -Ken > -- > From: Low Pui Kuen[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Monday, January 28, 2002 9:13 AM > To: Palm Developer Forum > Subject: Problem

Re: maxDateTemplateLen and DateTemplateToAscii()

2002-01-26 Thread Ken Krugler
StrLength25 // med/long date formats + DOW name Of course you can pass whatever template you like to DateTemplateToAscii, even if it's longer than 31 bytes. So you can exceed these limits in your own code, but note that the stringLen parameter to DateTemplateToAscii is there to

Re: Raw Data Date Representation

2002-01-26 Thread Ken Billing
That's it! Thanks, Peter. "Peter Epstein" <[EMAIL PROTECTED]> wrote in message news:74733@palm-dev-forum... > > I assume you've checked and found it > doesn't match our DateType (7 bits for year, 4 for month, and 5 for day > -- For information on using the Palm Developer Forums, or to unsubs

Raw Data Date Representation

2002-01-25 Thread Ken Billing
I'm reverse engineering a PDB from another application (Handspring VisorPhone) and I've figured it all out except how they're storing the call date info. Sample values would be C3 77 equals 11/23/2001, C3 95 equals 12/21/2001. I've tried every kind of decimal and binary conversion I can think of w

RE: Shared library w/ callbacks

2002-01-12 Thread Ken Krugler
ndle bit on the shared library, so that if the user beams the app, the shared library gets sent along 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/

Re: Locales

2002-01-11 Thread Ken Krugler
overlays for his own >application only, and he can use 'standard' DmGetResource and DmGet1Resource >for frCA! Right ? Wrong. The frCA overlays will only get auto-loaded if the current locale is also frCA, and the current locale has nothing to do with the contents of the either

Re: Locales

2002-01-10 Thread Ken Krugler
after. No. What Ted wants is to be able to use an frCA overlay with his app. For this to work, the device's current locale has to be frCA. You might be able to hack this by changing the values of the two system features I previously mentioned, but the right way is to call OmSetSyst

Re: Locales

2002-01-09 Thread Ken Krugler
actually _enUS), as currently Palm only has localizations for these six locales). -- 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: Locales

2002-01-09 Thread Ken Krugler
he device's current locale is the same as its system locale, and the system locale can only be set to a locale where there's a corresponding valid system overlay. -- 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: Locales

2002-01-09 Thread Ken Krugler
, based on the device's current locale. This would require minimal code changes. To further simulate overlays, you'd want to set the bundle bit in the localization PRC header attributes, and make sure that the localization PRC header version number matches that of your app (and bump yo

Re: Basic Overlay question(s)

2002-01-04 Thread Ken Krugler
eone from creating >an overlay from your base .prc. and using it. Right. Some companies sell localized versions of their products (often for more money than the English version), and thus are not excited about the OS making it too easy for a random 3rd party to distribute localization ov

Re: [a-zA-Z]

2001-12-30 Thread Ken Krugler
f 256 values for the single-byte case. -- 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: Problem using SysCreateDataBaseList()

2001-12-22 Thread Ken Krugler
t _also_ doesn't get pruned if the type is a PQA, since web clipped DBs all have the same creator/type. What really should have been done there is to create another API where you can specify what kind of pruning should take place, versus burying a Palm-specific type in the code. I'm

RE: Urgent !!!

2001-12-18 Thread Yu, Ken [IT]
If you would read your mail more carefully, someone has already replied to your inquiry. Perhaps in your extreme urgency, you have overlooked it. > -- > From: Srinivas[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Tuesday, December 18, 2001 5:28 PM

RE: StrToLower - src the same as dst?

2001-12-12 Thread Ken Krugler
>Actually Transliterate has other problems >because it needs GlueLibrary for previous versions. Yes, if you want to run on pre-3.1 ROMs then you'll need to link against PalmOSGlue. But I don't consider that a "problem" :) >BTW, Ken. I doubt that SS is translated i

Re: StrToLower - src the same as dst?

2001-12-11 Thread Ken Krugler
rrun result, which is returned when the source & destination are the same and there's an expansion in the transliteration that tromps on pending source data. -- Ken Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For information on using the Palm

Re: How to FntGetBoldFont(fontId) ?

2001-12-07 Thread Ken Krugler
be prone to false positives and false negatives. -- 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: calling FrmRemoveObject in Visor Prism is crashing the device

2001-12-04 Thread Ken Krugler
s a form object. This triggers a read from low memory, which Poser complains about. Where this bit me was when I had jammed a special character code into the title as a place-holder, which then made it look like a label object when the title data was getting processed as a form object due to the bu

Re: Anybody used AppleGlot to translate Palm applications?

2001-12-04 Thread Ken Krugler
ince we have to support 3.3. Overlays are a delivery mechanism, more than a translation technique. You should check out <http://www.multilizer.com> as another translation tool option. -- Ken Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For infor

RE: Open and read PRC/PDB as a file stream

2001-11-23 Thread Ken Krugler
> > Is it possible to open and read an exiting PRC or PDB as a stream, using >the > > function "FileOpen" ? Not unless you've explicitly created it as a FileStream PDB. Which is easy to do using the Par program on Windows. -- Ken Ken Krugler TransPac Software,

Re: Internationalization not working

2001-11-23 Thread Ken Krugler
hosen French language on the emulator my application >doesn't shows French titles, labels and so on. I assume you mean that you've loaded a French ROM, or you booted an EFIGS ROM and then used the Language Picker to select French. -- Ken Ken Krugler TransPac Software, Inc. <http://www.tra

Re: resource localization

2001-11-14 Thread Ken Krugler
ow to build such a >PDB resource file, or what other application do you recommend? PRC2OVL is only useful for overlays, which don't seem to be a viable solution to your problem. PilRC or PalmRez can both be used to compile your resource data. Or you could try out Multilizer as a

Re: Non-english Palm Address category ordering

2001-11-10 Thread Ken Krugler
he name, without any yomi. -- 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: shortcut texts in ShortCut Panel

2001-11-02 Thread Ken Krugler
reated at hard reset time from a default data resource. The location of this resource has changed in the past, but currently (>= 4.0) it's in the Shortcut Lib file as dflt=1. -- Ken Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For information

Re: Remote Field Navigation - vchrNextField and vchrPrevField

2001-11-02 Thread Ken Krugler
a different way to do this >? (Note: It's NOT a question of my supporting these codes as part of my >forms - I am sending these codes to OTHER applications (e.g. Address Book, >Date Book etc.) My guess is that you're not setting the commandKeyMask bit in the keyDown event's

Re[2]: Graffiti area: what are its bounds?

2001-10-25 Thread Ken Krugler
== charEncodingPalmSJIS) { } -- 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: bmp to palm bmp

2001-10-25 Thread Ken Krugler
> i want to know is there any difference between bmp >file and palmbmp file ? Very different. >If it is there then how to >convert bmp file to Palm-bmp file , what is the format >for conversion? Check out pilrc source code. -- Ken Ken Krugler TransPac Softw

Re: Graffiti area: what are its bounds?

2001-10-25 Thread Ken Krugler
know where graffiti area starts and ends? anything >compatible with ALL devices (including Sony, Handera and others...)? I'd try EvtGetSilkscreenAreaList(), though it's only available in OS 3.5 or later. If you need to run on older devices, then you could hard-code the bounds based

Re: strtok?

2001-10-22 Thread Ken Krugler
rn(p); >} This is only safe to use when the value of is less than 0x40, as otherwise you might find the low byte of a multi-byte character. -- Ken Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For information on using the Palm Developer Forums,

RE: show/hide objects for OS < 3.2

2001-10-19 Thread Yu, Ken [IT]
ou code to only perform Hiding/Showing? If you can and the problem goes away, your bug may lie elsewhere. -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Cuting strings

2001-10-04 Thread Yu, Ken [IT]
Use a scissor. Get it? "Cutting strings"? Ha ha! Sorry, couldn't resist ... > -- > From: Aaron Ardiri[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, October 04, 2001 9:54 AM > To: Palm Developer Forum > Subject: Re: Cuting strings

Re: Underlined custom fonts & underlined whitespaces

2001-10-03 Thread Ken Krugler
y mistake or an OS issue? Known bug in WinDrawChar with Latin 3.1 devices. A garbage byte gets drawn, no matter what your drawing mode is. -- 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: communication between .prc files

2001-10-03 Thread Yu, Ken [IT]
You can save data using the various mechanisms (database, preference, etc) that both prc's can share. Have the first app save the data, switch to the second app and read the data. -Ken > -- > From: priyesh parikh[SMTP:[EMAIL PROTECTED]] > Reply To: Palm D

Re: String to Time

2001-10-02 Thread Ken Krugler
If you want to have a leading zero in dates (for the day or month) then you can use DateTemplateToAscii with an appropriate format string. -- Ken Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200 -- For information on using the Palm Developer Forums,

Re: Terminated text in Clipboard -> FldPaste hangs?

2001-09-30 Thread Ken Krugler
>In article <63624@palm-dev-forum>, Ken Krugler <[EMAIL PROTECTED]> >wrote: > > > >This seems like a bug in the OS to me. > > > > No, it's a bug in your code. > >The point is that it took some serious digging to figure out what was >go

Re: WinDrawChar and WinDrawTruncChars on PalmOS 3.1

2001-09-26 Thread Ken Krugler
bug exists on Latin 3.1 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 http://www.palmos.com/dev/tech/support/forums/

Re: Resource ID's above 10000

2001-09-20 Thread Ken Krugler
is than the manual suggests? There's been a number of posts re this topic in the past. If you use IDs >= 1, you run the risk of having your resource 'mask' a system resource (if they have the same type/id), and then Bad Things happen. -- Ken Ken Krugler TransPac Software,

Re: TxtFindString not working

2001-09-15 Thread Ken Krugler
Hi Tom, I think the 4.0 docs correctly note that TxtGluePrepFindString needs to be called with your target string, before it gets passed to TxtFindString. Also an archive search on TxtFindString will provide additional details. -- Ken Ken Krugler TransPac Software, Inc. <h

RE: how to determine a record is new

2001-09-10 Thread Yu, Ken [IT]
Another possible solution is to just create your own 'new' flag. You WILL know if a user creates a new rec in your app. Just store a flag (preferably a bit field) in your data indicating this. -Ken -- For information on using the Palm Developer Forums, or to u

RE: App shows twice in launcher

2001-09-07 Thread Yu, Ken [IT]
y are running on. After going through the project, I noticed that I had a form using a resource ID of 1000 (the same id used by the icon). Could this cause such behavior? Thanks, -Ken > -- > From: Peter Epstein[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Develope

App shows twice in launcher

2001-09-05 Thread Yu, Ken [IT]
A small percentage of my users are reporting that my app is showing twice in the Launcher. I have not been able to duplicate this. Can anyone clue me in as to what could be the cause? My app is a multi-segment developed with PRC-Tools 2.0. Thanks. -Ken -- For

Re: Difference between TxtFindString and StrStr

2001-09-05 Thread Ken Krugler
ot;this", for example. TxtFindString does locale-sensitive matching, which typically means it is case and diacritical insensitive. In locales such as Japan, it might also wind up treating single- and double-byte versions of the same characters as equivalent, thus the extra "match length&qu

Re: Symbol Fonts

2001-08-30 Thread Ken Krugler
nes for all of these (search on 'symbol'). -- 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: Manual Load of Overlays under 4.0

2001-08-29 Thread Ken Krugler
ing automatically is because the base data has changed (and thus the overlay is not longer valid), then you'd be asking for trouble. -- 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 needed in Palm OS programming

2001-08-28 Thread Ken Krugler
27;t believe you need additional characters beyond those found in the standard Palm Latin fonts. 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.palmos.com/dev/tech/support/forums/

Serial Ports, POSE, whats up?

2001-08-27 Thread Ken Green
Hello all I'd ;ike anyone/everyone input on the palm serial managment. I've writen an applaction thats supposed to use the palms serial port to talk to another device(not a pc). I think i've writen the code correctly, but when I load it into pose to test it First when I try to open the p

Re: I am new at this

2001-08-27 Thread Ken Green
Hi Give this site a read through, It should be helpful. http://www.cyberport.com/~tangent/palm/faq/articles/tutorial/ Ken On Mon, 27 Aug 2001, maria jönsson wrote: > Hi! > I have downloaded cygwin, the development kit, pilrc, the emulator and > prc-tools and installed them. But

Re: What was before TxtCharIsSpace() ?

2001-08-21 Thread Ken Krugler
so a space character (numeric space), while on 3.1 or later 0x19 is also a numeric space. If you wanted to be really safe, write a test program that uses the obsolete GetCharAttr() call and the IsSpace() and IsDigit() macros to verify these results. -- Ken Ken Krugler TransPac Software, In

Re: Multibyte font Creation?

2001-08-21 Thread Ken Krugler
>Could someone help me on the concept of Multibyte encodings and how we can >CREATE fonts using the Multibyte encoding. The PalmOS multi-byte character encoding is currently undocumented, and is likely to change soon. As such there aren't any tools available now to build such a thi

PRC-tools and GCC will not work

2001-08-21 Thread Ken Green
find and header files when it goes to compile my code I've tried copying them directly into the directory with the source, and still nothing. can anyone help me :(, oh tried falch's DIE and that won't reconize the code I wrote as a file. Ken -- For information on using the Palm Dev

RE: Creating PDB file "Programmatically".

2001-08-21 Thread Yu, Ken [IT]
Sorry, just had to correct the spelling :) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: conduit record parsing trouble

2001-08-14 Thread Yu, Ken [IT]
If you know the string is always 25 bytes, why don't you just jump to the 26th for the next field? > -- > From: Jeremy Nuss[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Tuesday, August 14, 2001 5:22 PM > To: Palm Developer Forum > Subject: co

RE: Validating turn off in Sat Forms

2001-08-09 Thread Yu, Ken [IT]
If there's a better solution, I'd also like to hear it. -Ken > -- > From: Scott Johnson (Bellevue)[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, August 09, 2001 5:22 PM > To: Palm Developer Forum > Subject:

Re: Unicode and Multi-Language support on Palm OS???

2001-08-09 Thread Ken Krugler
s as well as Hiragana, Katakana, and Kanji. Some 3rd party hacks do special things to extend the set of supported glyphs to include high-ASCII (Latin-1) characters such as u+umlaut. Often they do this by special (invalid) byte sequences that then get mapped to these extended glyphs. -- Ken Ke

RE: Calling a Batch File

2001-08-09 Thread Yu, Ken [IT]
commands. -Ken > -- > From: Scott Brooks[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, August 09, 2001 10:00 AM > To: Palm Developer Forum > Subject: Calling a Batch File > > Does anyone know how to call(run) a b

Re: Warning: assignment discard qualifiers from pointer target type

2001-08-08 Thread Ken Krugler
t' from your attr variable. The meta-problem could be that you're trying to use an obsolete routine (GetCharAttr) which might soon be disappearing - somehow the compiler senses this, and is trying to encourage you to use TxtCharAttr or the TxtCharIsXXX macros. -- Ken Ken Krugle

RE: Palm crashed at application launching

2001-08-07 Thread Yu, Ken [IT]
is good practice to give an error if your app cannot allocate enough memory during runtime (e.g. checking if MemHandleNew() calls are successful). Perhaps you can duplicate the problem in POSE. Try filling up memory by installing PDB's and other PRC's to near capacity and run your app

RE: Palm crashed at application launching

2001-08-07 Thread Yu, Ken [IT]
did you try installing your app on the IIIx without the other apps? if it still crashes, you can rule out the low memory theory. -Ken > -- > From: > [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Tuesday, August 07, 200

RE: A conduit problem have I

2001-08-03 Thread Yu, Ken [IT]
It might be a byte ordering problem. You must swap the bytes of the UInt in order to obtain the correct value on the PC. Used to drive me nuts developing for the two platforms. Motorola one way, Intel the other. '\n' = CR/LF on Windows, LF for the rest of the world, etc, etc

Re: Custom font problem

2001-08-01 Thread Ken Krugler
of a time in the future when resource data is compressed, and thus what you get back from DmGetResource is a handle to a copy of the data. -- 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: Crappy Forum

2001-07-27 Thread Yu, Ken [IT]
x27;c'. Ok, now back to Palm Developing :) -Ken > -- > From: Igor Mozolevsky[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, July 27, 2001 3:55 PM > To: Palm Developer Forum > Subject: Re: Crappy Forum > > &

RE: SelectDay Function

2001-07-18 Thread Yu, Ken [IT]
Your inputs: day, month and year should contain valid date values. -Ken > -- > From: Nicolas Raitman[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, July 18, 2001 1:59 PM > To: Palm Developer Forum > Subject:

Re: WinGlueDrawTruncChars() of SDK3.5's PalmOSGlue on Visor

2001-07-16 Thread Ken Krugler
4. The goal of the routine is to return a modified whose width fits in pixels. If the width of the ellipsis is wider than the width of the character at - 1, then you might still wind up with a string that's wider than pixels. I'd suggest he use the 4.0 SDK, which has a corrected version

Re: WinGlueDrawTruncChars() of SDK3.5's PalmOSGlue on Visor

2001-07-16 Thread Ken Krugler
I modified my program, but I still got a white rectangle. > >WinGlueDrawTruncChars() of SDK3.5's PalmOSGlue library contain the >fix for this problem? You need to be using the glue code from the 4.0 SDK. See forum archives for a past discussion on this topic. -- Ken

Re: search function

2001-07-14 Thread Ken Krugler
equivalent). -- 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: Determing Record Size.

2001-06-29 Thread Yu, Ken [IT]
MemHandleSize () -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: how ro create scrollbars dynamically

2001-06-29 Thread Ken Corey
s, and machines with 4/8/16 bit displays. -- Ken Corey, CTOAtomic Interactive, Ltd. [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

<    1   2   3   4   5   6   7   8   >