Re: PRC-TOOLS 2.0

2008-05-29 Thread Scott Johnson
Ah, thanks! That's exactly what I was looking for! --Scott John Marshall [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Scott Johnson [EMAIL PROTECTED] wrote: Actually, while we're on the subject, ever since I upgraded to PRC-tools 2.0, wildcards in my Makefiles haven't worked

Re: PRC-TOOLS 2.0

2008-05-29 Thread Scott Johnson
Actually, while we're on the subject, ever since I upgraded to PRC-tools 2.0, wildcards in my Makefiles haven't worked correctly. I've tried everything to fix it, with no success. As an example, if my Makefile includes the line: build-prc $(APP) $(OBJ) *.bin I will get the error message: *.bin:

Re: Help! Strange compiler error message!

2008-05-29 Thread Scott Johnson
if my crt0 was placed in the wrong location. I have never seen the error since going to multi-segment code resources. On Wed, 26 Jul 2000, Scott Johnson wrote: I have a project that has been compiling with no problem for months. After my most recent changes, however, I get the following

Re: Help! Strange compiler error message!

2008-05-29 Thread Scott Johnson
Michael S. Davis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I used to get this error when my application grew beyond the 32k limit. Then I switched to jump islands and would still get the error if my crt0 was placed in the wrong location. I have never seen the error since

Help! Strange compiler error message!

2008-05-29 Thread Scott Johnson
I have a project that has been compiling with no problem for months. After my most recent changes, however, I get the following error messages from the linker when I try to compile with gcc: Copmiled without '-g': C:\windows\temp/ccBr5yoa.s:7189: Error: Signed .word overflow; switch may be too

Modifying a window's contents

2008-05-29 Thread Scott Johnson
I am writing a two-player game, and to make it easier to play I would like to be able to display half of the screen upside down, so that the palm can be placed between the two players and they can each see their half of the board. To do this, I think I would need to take the contents of the

Re: Beaming a database with the application - SOLUTION

2008-05-29 Thread Scott Johnson
Danny Epstein [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] We're thinking about doing something along these lines: a resource in the application that identifies which databases should be beamed with it. Overlays would get included automatically. What do you think? Not a bad idea,

Beaming a database with the application

2008-05-29 Thread Scott Johnson
I am developing an application that relies on a database to run. I would also like people to be able to beam the application and have the database beam with it. I assumed that when you beamed an application using the Beam menu option from the application launcher, that all of that apps databases

Re: StrIToA

2008-05-29 Thread Scott Johnson
McMicken, Steven wrote: Before using the pointer, you must allocate space for the string using MemPtrNew (LengthOfStringPlusOne) or by setting the pointer equal to a character array name, such as, char str[5]; CharPtr s = str; Shouldn't you use Char str[5] instead? I'm still

PrefGetAppPreferences problem

2008-05-29 Thread Scott Johnson
I am trying to use the PrefGetAppPreferences() call for the first time, and according to the documentation, it is supposed to return the number of bytes retrieved from the preferences database. However, it appears to be returning the version I give to PrefSetAppPreferences() instead. Does anyone

RE: List with multiple selection

2004-04-13 Thread Scott Johnson
From: Ben Combee Multiple selection in Palm OS tends to be done using a table with checkboxes in the first column and the item name in the second. Or a custom drawn list with a check box drawn in front of the text. This can be easier than a table if you don't need any other table features.

RE: Using zlib without compressing data

2004-03-29 Thread Scott Johnson
From: joe bloggs [mailto:[EMAIL PROTECTED] If they decide not to compress the files, the app sets the deflate compression level to 0 (indicating that no compression is to take place). This works as expected except that the deflate function seems to add a few bytes [...] Does anyone know why

RE: Using zlib without compressing data

2004-03-29 Thread Scott Johnson
From: joe bloggs [mailto:[EMAIL PROTECTED] Just to clarify, I am using the full gzip format when file compression takes place (when compression level 0). When the data is not compressed I do not include the header or trailing data. OK, it sounds like your intent is to produce either

RE: Private structType in Cobalt

2004-03-01 Thread Scott Johnson
From: Ben Combee [mailto:[EMAIL PROTECTED] -- Ben Combee, senior DTS engineer, PalmSource, Inc. Read Combee on Palm OS at http://palmos.combee.net/ Nice new sig! :-) -slj- -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: Re: Palm OS Developer Suíte - Now Available ?

2004-02-19 Thread Scott Johnson
From: David A. Desrosiers [mailto:[EMAIL PROTECTED] And we have the DTS providing the PODS to the PDS? (Palm Developer Support) =) Maybe the various tools should be named after minerals. :-) -slj- -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: Palm OS Developer Suíte - Now Available?

2004-02-11 Thread Scott Johnson
From: Alan Ingleby [mailto:[EMAIL PROTECTED] Palm InfoCenter reports that Palm OS Developer Suite is now available. I can't find it at the link they say it's at Is this a mistake, or am I just blind? I'd call it a slight over-promise, but consistent with their history of releasing cool new

Re: LstSetDrawFunction Crashing Simulator

2004-01-13 Thread Scott Johnson
Mike McCollister [EMAIL PROTECTED] wrote... The reason that I do the copy is to avoid a warning on a debug version of POSE. If I directly accessed the data using WinDrawChars then it would complain. I don't remember the exact error message but this seemed to fix the problem. Hmmm. Do you

RE: LstSetDrawFunction Crashing Simulator

2004-01-12 Thread Scott Johnson
Do you really need to copy the string into a temporary buffer in the first place? If not modifying the string, then you can just use itemsText[itemNum] directly. Unless do stuff to pItemText means modifying it. But even so, I'd look for a way to avoid the temporary buffer usage. Can the do

RE: Initializing gadget data with a struct

2003-11-12 Thread Scott Johnson
From: John Marshall [mailto:[EMAIL PROTECTED] (Yes, you should probably add assert (sizeof (struct GadgetData) == sizeof (void*)) somewhere, but you need to do that with the manual alternative too.) Even slicker would be a compile-time assertion like this: #define assertc(c) typedef int

RE: Palm Emulator

2003-08-14 Thread Scott Johnson
From: Steve K [mailto:[EMAIL PROTECTED] Is there something wrong with setting fldAttr to NULL before calling FldGetAttributes? FieldAttrType* fldAttr = NULL; FldGetAttributes(fldP, fldAttr); Yes, that's bad. You must pass it a valid pointer to an existing FieldAttrType object which

RE: TblSetCustomDrawProcedure() - illegal implicit conversion

2003-08-14 Thread Scott Johnson
From: Ben Combee [mailto:[EMAIL PROTECTED] C++ doesn't allow the implicit taking of a function pointer from a function bare name. That's what the error is saying. Ben, are you sure about that? My copy of Stroustrup 3rd Ed. (section 7.7) explicitly states the '' is optional, and the compiler

RE: DmQuickSort Question

2003-08-14 Thread Scott Johnson
From: Julio Sejtman [mailto:[EMAIL PROTECTED] Err DmQuickSort (DmOpenRef dbP, DmComparF *compar,Int16 other) Any one of you have a list of the meaning of the parameter other It's a cookie that gets passed to your comparison callback function. I know that the parameter Other is to indicate a

RE: Handling UTF-8 data

2003-06-01 Thread Scott Johnson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] That is ashame. We have lots of foreign authors that have diacritics in their names, like umlaut, breve, acute a's, etc. Good, most or all of those would be in the Latin-1 (or ISO 8859-1) character encoding, which is supported by most/all

RE: disable repeat button

2003-01-04 Thread Scott Johnson
From: christy [mailto:[EMAIL PROTECTED]] I use two repeat buttons to page up and down my table records - 01 for the up triangle and 02 for the down triangle at design time. I need to make them grayed out (not clickable) at run time depending on [...] FrmUpdateScrollers is designed for this

RE: Palm dev print mags

2002-12-28 Thread Scott Johnson
From: Ben Combee [mailto:[EMAIL PROTECTED]] the Internet has killed the traditional programmer magazine. Sad... I picked up a Dr. Dobb's Journal the other day for the first time in months, and was shocked how thin and emaciated it has become. Hey, maybe they have room for more Palm articles

RE: strange FindStrInStr behaviour..

2002-10-21 Thread Scott Johnson
From: Barry Peet [mailto:barry;yucat.com] if (p-LastName FindStrInStr(p-LastName,strToFind)) return true; else return false; Looks like you got the answer in a separate message, but I hope you don't mind if I contribute a style point. Why not code it like this?

RE: Anyone have a piggy program for memory debugging?

2002-10-08 Thread Scott Johnson
From: kcorey [mailto:[EMAIL PROTECTED]] On unix or PC's I've seen these referred to as 'Piggy programs'. Does anyone know of such a thing for the Palm? http://www.palmoswerks.com/stories/storyReader$28 -slj- -- For information on using the Palm Developer Forums, or to unsubscribe, please

RE: Category.c Error

2002-10-08 Thread Scott Johnson
From: Stephen A. Strelzyk [mailto:[EMAIL PROTECTED]] Category.c, Line:575, CategoryTruncateName: name in storage heap. [...] I can continue past the error, and the pop-up trigger is updated appropriately. -- CategorySetTriggerLabel (triggerP), PI); The doc says you you have to pass a

RE: Anyone interested in being a beta tester?

2002-10-04 Thread Scott Johnson
From: kcorey [mailto:[EMAIL PROTECTED]] I'm now in the polishing stages of my first released game 'roids. Well, the title of this game makes me think of something different than giant space rocks. Quite different. Is this by design? :-) -slj- -- For information on using the Palm

RE: Anyone interested in being a beta tester?

2002-10-04 Thread Scott Johnson
From: kcorey [mailto:[EMAIL PROTECTED]] While I'd just /love/ to take credit for something that rude, I'm afraid it wasn't intentional at all. Further, under the beam it to everybody distribution model, picture all of us walking around at the next PalmSource conference saying Do you have [Ken

RE: Codewarrior Forum

2002-10-04 Thread Scott Johnson
From: Lucy [mailto:[EMAIL PROTECTED]] I'd like to sign up for codewarrior.palm newsgroup but somehow the link to news://codewarrior.palm doesn't [work] From: Ben Combee [mailto:[EMAIL PROTECTED]] This is a group carried on USENET by many news providers. To get to this group, you'll need to

RE: Checkboxes won't uncheck

2002-09-29 Thread Scott Johnson
From: Grosch, Scott [mailto:[EMAIL PROTECTED]] That's somewhat confusing that they should all be 0. Group zero is a special value meaning no group and is used for all standalone check boxes. Any nonzero group number turns checkboxes into (functionally) radio buttons, as you have seen. The OS

RE: Checkboxes won't uncheck

2002-09-28 Thread Scott Johnson
From: Grosch, Scott [mailto:[EMAIL PROTECTED]] I've created three checkboxes on my main form. They're all in their own group, and each is the only thing in that group. One of them I can toggle on/off, but the other two won't toggle. What are the group numbers for each checkbox? Does the

RE: CodeWarrior question

2002-09-24 Thread Scott Johnson
From: Steven M. Jerrett [mailto:[EMAIL PROTECTED]] Uhsilly question: Shouldn't it be defined as FormType *frmP; and not FormType * frmP; Are you trying to start a coding style war? :-) There is no difference since whitespace is not significant. -slj- -- For information on using the

Re: CodeWarrior question

2002-09-24 Thread Scott Johnson
Uh, sorry gang for being way off topic... but my company's #$%^ing email system sat on this message for 6 days before passing it to the listserv. There may be a few more surprises still backed up in there too. Aarrgghh!!! Scott Johnson [EMAIL PROTECTED] wrote in message news:96360@palm-dev

RE: ZLib library problems (syszlib.prc)

2002-09-12 Thread Scott Johnson
From: Young S. Cho [mailto:[EMAIL PROTECTED]] The problem I am currently having with 1.1.3 of syszlib.prc is if the buffer to be inflated (decompressed) is larger than about 16KB, the call to inflateInit2() (macro to ZLibinflateinit2()) hangs the device. As you can see, it's hard to debug a

RE: ZLib library problems (syszlib.prc)

2002-09-12 Thread Scott Johnson
From: Young S. Cho [mailto:[EMAIL PROTECTED]] I suspect memory allocation somewhere in the ZLib source may be the problem. The smaller data sets decompress fine on both devices, but the larger (16KB) causes problems on the 6035 and not the I300... The 6035 has an exceptionally small dynamic

RE: Custom List Scrolling

2002-09-10 Thread Scott Johnson
From: Robert Brinson [mailto:[EMAIL PROTECTED]] If there isn't an event generated when a user taps the scroll arrows, then what good is it to even have a LstScrollList function Mainly for supporting the hard scroll buttons for non-pop-up lists. Apps need to handle that case explicitly. -slj-

RE: List Scrolling

2002-09-03 Thread Scott Johnson
From: Robert Brinson [mailto:[EMAIL PROTECTED]] However, I was not seeing a scrollbar. There was a downward pointing arrow below the list on the right hand side that did nothing when tapped. Lists don't have full size scroll bars, but rather have only two little arrow buttons in the corners

RE: Linking of PRCs larger than ~64K (CW-specific)

2002-08-26 Thread Scott Johnson
From: Jeff Ishaq [mailto:[EMAIL PROTECTED]] Then, in my code, I simply join together the chunks into one contiguous piece of memory before I call DmCreateDatabaseFromImage(). But you can't normally allocate a contiguous piece of memory bigger than 64K in the first place. (Well, yes there are

RE: Catching fatal exceptions

2002-08-14 Thread Scott Johnson
From: Richard Coutts [mailto:[EMAIL PROTECTED]] ErrTry { int inf = something / zero; } ErrCatch (error) { FrmCustomAlert(WarningDialogAlert, Error Caught, , ); } ErrEndCatch; I get a fatal exception error from the above code. How do I get the system to throw the

RE: Zlib linker error

2002-08-08 Thread Scott Johnson
From: Amit Kalekar [mailto:[EMAIL PROTECTED]] unsigned long complen = (unsigned long)51 * (unsigned long)120 / (unsigned long)100 + (unsigned long)12; Bytef* compbuf = new Bytef[complen]; Allocating a plenty big output buffer, good. MemSet(compbuf, 0x00, complen);

RE: MEMPTRRESIZE PROBLEM

2002-08-01 Thread Scott Johnson
From: George Bassili [mailto:[EMAIL PROTECTED]] x = MemPtrNew(1); error = MemPtrResize(x, 29); I get a memErrChunkLocked error. How? MemPtrResize is supposed to only work on a locked chunk. The docs say this too, but they ALSO say that it can return memErrChunkLocked as an error which

RE: REcord retrieval problem

2002-07-29 Thread Scott Johnson
From: Sridhar Venkataraman [mailto:[EMAIL PROTECTED]] Whenever, i create and open a database and insert records into it, everything is fine. I am able to read the records and display them. But when i exit the application and again run it, the records are not being read. The number of records

RE: Kanji Chinese characters?

2002-07-27 Thread Scott Johnson
From: Ron Nicholson [mailto:[EMAIL PROTECTED]] It appears that with the PalmOS 4.1 Japanese ROMs, one can draw Kanji symbols/characters to the display by just embedding Shift-JIS byte-codes into a c-string, and passing that to WinDrawChars(), using the default font. Where is this documented

RE: Constructor running on System with Large Amounts of Memory

2002-07-25 Thread Scott Johnson
From: [EMAIL PROTECTED] I am having the same problem with CodeWarrior 8, Constructor 1.8. My computer runs on Windows 2000 with 1GB RAM. IIRC, the bug is that Constructor checks your available memory, but interprets it modulo 256MB. So if you have 256 or 512 or 768 or 1024MB (1GB) of RAM then

RE: SelectDay problem found!

2002-07-12 Thread Scott Johnson
From: Eric J. Janus [mailto:[EMAIL PROTECTED]] Are there any other known form ID's that shouldn't be used? I don't want to keep running into problems as I add more forms. Yes, IDs of 1 and higher are reserved by Palm. I can't recall reading anything-anywhere about restricted form ID's.

RE: CW IDE 4.2.6 in Mac OSX 10.1.5

2002-07-11 Thread Scott Johnson
From: C. B. Schofield [mailto:[EMAIL PROTECTED]] Does anyone know where I can get a cheap Amiga and a version of POSE to run on it? ;) Well, in the Beginning back in the late 1900's, POSE its life as an Amiga emulator. See the PDF files that come with POSE. :-) -slj- -- For information

RE: Record Size

2002-06-25 Thread Scott Johnson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] I am using MIDP which run on the Palm device. I have some problems regarding the RMS on MIDP. Palm-Java-Forum is a better forum for this, by the way. How many total records (or maximum size) that Palm OS can be held? Or what is the maximum

RE: PalmOS on the DragonBall MX1

2002-06-24 Thread Scott Johnson
From: David [mailto:[EMAIL PROTECTED]] Alot of the PDAs run PalmOS 4/5 work with MC68SZ328 chip Actually only OS versions through 4.x will run on 68K chips including the SZ. And OS 5 and later will run only on ARM chips. There's no overlap. will Palm OS 5 run on the DragonBall MX1

RE: PalmOS on the DragonBall MX1

2002-06-24 Thread Scott Johnson
From: Aaron Ardiri [mailto:[EMAIL PROTECTED]] added bonus is the MX1 is both ARM + m68k :P heh.. [...] i would hate to write the fetch/process algorithm on this sucker :) But Keith Rollin lives for that stuff! :-) -slj- -- For information on using the Palm Developer Forums, or to

Can't find Palm OS 5.0 Simulator, only 5.1

2002-06-10 Thread Scott Johnson
Anybody notice that a few releases ago, PalmSim became Palm OS 5.1 Simulation in the About box, and the OS build became Palm OS Software v.5.1 in the Info screen? All of Palm's written materials seem to deliberately say OS 5 with no minor version number, but I'm curious what happened to 5.0.

RE: Can't find Palm OS 5.0 Simulator, only 5.1

2002-06-10 Thread Scott Johnson
From: Jim Schram [mailto:[EMAIL PROTECTED]] So even though there are no actual devices yet on the market using Palm OS 5.0, we're already a dot release ahead on the operating system side of things. :o) And for those (like me) who didn't already notice, the compatibility appendix in the latest

Is web clipping still part of the OS 5 platform?

2002-06-10 Thread Scott Johnson
The available OS 5 Simulator ROMs don't seem to include INetLib and the other web clipping pieces. So can anyone say whether web clipping is still part of the platform, and just not included in these particular builds, or is it going away long-term? (Yes, I realize nobody from Palm can just

RE: MenuHideItem causes menu to freeze

2002-06-07 Thread Scott Johnson
From: Kevin [mailto:[EMAIL PROTECTED]] I have found on my Handspring running OS 3.5.2H that if I hide a menu item using MenuHideItem the menu the hidden item is in no longer responds to any selections. This seems to occur only on my Handspring and not on my M505 running 4.0. Yup,

RE: Newbee: Codewarrior virtual methods.

2002-06-03 Thread Scott Johnson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] void opreator delete(void* ptr) { MemPtrFree(ptr); } Actually you also need if (ptr != NULL) before the MemPtrFree call, to be a legal C++ operator delete. -slj- -- For information on using the Palm Developer Forums, or to

RE: Wacky Bitmap Family Question

2002-06-03 Thread Scott Johnson
From: r. zane rutledge [mailto:[EMAIL PROTECTED]] ...Or would it still be possible to somehow traverse the linked list of multiple bitmaps manually, duplicate them elsewhere in memory, then resize the record, then DmWrite them all back, somehow adjusting all the linked list pointers

RE: Again C++ in Shared Lib using CW

2002-05-07 Thread Scott Johnson
From: Ben Combee [mailto:[EMAIL PROTECTED]] inline void operator delete (void *ptr) { MemPtrFree (ptr); } Doesn't this require an if (ptr != 0) test first? I don't believe the compiler generates that test for you at the point of call. -slj- -- For information on using the Palm

RE: Dumping .RSRC to .R

2002-05-07 Thread Scott Johnson
From: Ben Combee [mailto:[EMAIL PROTECTED]] Actually, it isn't [a bug in UIResDefs.r in the SDK]... its more of a bug in DeRez. The reason that UIResDefs.r has the align word is because the various resources that get assembled into the 'tFRM' need to be even-aligned Oops yes, now I more

RE: MemoryMgr Fatal Alert on M515

2002-05-02 Thread Scott Johnson
From: Kevin OKeefe [mailto:[EMAIL PROTECTED]] Chunk over-locked bugs can be difficult to reproduce because the offending pathway through your code must be run 15 times Here's one debug technique we've used for reproducing lock leaks much more efficiently: deliberate over-locking. Instead of

RE: Dumping .RSRC to .R

2002-05-02 Thread Scott Johnson
From: Edward P. Ross [mailto:[EMAIL PROTECTED]] For the titles of my forms, half of them are in the following format, which is helpful: [...] the other half are in hex [...] It's a bug in UIResDefs.r in the SDK. In the 'tTTL' resource definition, remove the 'align word' line. -slj- --

RE: PalmSim dr10 not supported on NT4?

2002-04-29 Thread Scott Johnson
From: David Fedor [mailto:[EMAIL PROTECTED]] That's correct; build 10 had a bug which prevented it from working on the older Windows systems (95 and NT4). Ironic, considering it was previously named NT Simulator. :-) -slj- -- For information on using the Palm Developer Forums, or to

RE: localized

2002-04-18 Thread Scott Johnson
From: John Marshall [mailto:[EMAIL PROTECTED]] the tool does not seem to be available for my choice of development platform. It turns out that Palm's slogan of tool of choice on the platform of choice means *their* choice. :-) -slj- -- For information on using the Palm Developer Forums,

RE: localized

2002-04-18 Thread Scott Johnson
From: Chris Tutty [mailto:[EMAIL PROTECTED]] Or the CodeWarrior approach to multi-platform development - Use a Mac. If you're using Windows, pretend it's a Mac. Eh? That's not much of an issue any more. Your budget for upgrades must have dried up a few releases ago. :-) -slj- -- For

RE: localized

2002-04-18 Thread Scott Johnson
From: Aaron Ardiri [mailto:[EMAIL PROTECTED]] with R8, the IDE is actually not too bad, compiler is clean (could have a few fixes *g*) - but, resource generation is most definately NOT good using constructor.. *eek* This is the part where Ben usually jumps in to remind everybody that

RE: Temporary Field problem

2002-04-16 Thread Scott Johnson
From: Paul Gibson [mailto:[EMAIL PROTECTED]] fld = gTempFieldType; MemSet(fld, sizeof(FieldType), 0); RctCopyRectangle(r, fld-rect); fld-attr.usable = true; /* */ I don't see the specific problem here, let me point out that explicitly instantiating a FieldType object is a

RE: Keith: 5.0 Simulator-like skin for Emulator..

2002-04-12 Thread Scott Johnson
From: Joe Siebenmann [mailto:[EMAIL PROTECTED]] please think about adding ( going back to ;) ) an option to display the Emulator like the new 5.0 Simulator? (Replying in palm-dev-forum, just noting emulator-forum would have been better for the original question.) Why not just make a custom

RE: PPP Connection between PalmOS and Window

2002-04-11 Thread Scott Johnson
From: Borislav Kolev [mailto:[EMAIL PROTECTED]] We didn't actually implement PPP server, we implemented a simple proxy Thanks. So the answer to the original question is: no, nobody seems to know of an available IP-over-PPP-over-USB-to-Windows solution. -slj- -- For information on using the

RE: PROPOSAL: display controller detection utility

2002-04-11 Thread Scott Johnson
From: Aaron Ardiri [mailto:[EMAIL PROTECTED]] problem is that you can NOT detect [...] the display controller Well, there's always that undocumented system-use-only function called HwrDisplayAttributes starting with OS version 3.5. A few of its operations have been semi-documented in the forum

RE: PPP Connection between PalmOS and Window

2002-04-09 Thread Scott Johnson
From: Stan Chee Keh Yong [mailto:[EMAIL PROTECTED]] Did anyone experience or know how to setup the PPP (Point-to-Point Protocol) between Palm m505 (Palm OS) and Windows (95 and 98 and 2000 Professional) via the USB cable ? I see you got no response to this earlier, probably because nobody

RE: PPP Connection between PalmOS and Window

2002-04-09 Thread Scott Johnson
From: Borislav Kolev [mailto:[EMAIL PROTECTED]] Well, we managed to get our own PPP replacement protocol working on both sides - Palm and Windows - and it seems to be fine. Is there any work required on the Palm side? I'd hope that the OS's built-in PPP interface would automatically try to

DR9 download still broken [RE: OS 5 Downloads]

2002-04-08 Thread Scott Johnson
it seems they fixed the filenames; the URL now ends with the filename Palm_OS_5_Simulator_dr9.zip -- but it still/again results in a 404 error (using IE or Netscape). Looks like the URL now doesn't reflect the actual filename. This is still broken as of 10AM PDT today and is very annoying.

[OT] RE: LSSA Problem

2002-04-05 Thread Scott Johnson
From: Mr. Epstein I work for the other half of Palm Oh great... as if this Palm vs. PalmSource naming scheme wasn't confusing enough, now the Epstein brothers on this forum look alike but apparently work for the different parts of the company. I'm so lost. Now I see why Tom Cruise and

RE: LstSetDrawFunction

2002-04-01 Thread Scott Johnson
From: Sajul P. Nandakumar [mailto:[EMAIL PROTECTED]] I have set LstSetListchoices at the start when I am creating the list.(The list is created dynamically). And you call LstSetDrawFunction at the same time? The call works fine on 3.5 and 4 OS but fails on 3.1. Fails in what way? Does the

RE: Serial Cradle?? Really?

2002-04-01 Thread Scott Johnson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Date: Mon, 1 Apr 2002 is anyone willing to email me their m130 ROM Image file ? (legal issues, schmegal issues) Ha ha, good April Fool's joke. -slj- -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: Why are my accented string resources altered?

2002-03-28 Thread Scott Johnson
From: Ben Combee [mailto:[EMAIL PROTECTED]] Scott Johnson has written about this too. IIRC, Rez is assuming that the input character set is following the Macintosh character conventions, instead of the Windows character set. And here is how I solved this. It's not pretty: 1. Project has

RE: zlib in CodeWorrier

2002-03-28 Thread Scott Johnson
From: Young S. Cho [mailto:[EMAIL PROTECTED]] Thanks Scott. That's what I was wondering - if I had to make Palm specific changes... But note, you do need to heed some usage limits as documented with the Palm shared library download. IIRC there are low limits on parameters like window size,

RE: zlib in CodeWorrier

2002-03-27 Thread Scott Johnson
From: Young S. Cho [mailto:[EMAIL PROTECTED]] I went to www.zlib.org to look for the Palm source code that was used to create the shared library but could not find it. I wanted to find the code so that I could create a static library version. You can build a static library from the regular

RE: LstSetDrawFunction

2002-03-27 Thread Scott Johnson
From: Sajul P. Nandakumar [mailto:[EMAIL PROTECTED]] it seems that this code never calls the custom draw function that I have written in case of 3.1 OS on emulator. Is this call not implemented on that OS or is there something I am missing here? Must be the latter, as I know of no problems

RE: StrAToI

2002-03-26 Thread Scott Johnson
From: Carmen Sandiego [mailto:[EMAIL PROTECTED]] Whenever I use StrAToI, the result is always 0. What am I doing wrong? StrCopy(text, Hello); Int32 intText = StrAToI(text); Hello is quite clearly not the string representation of an integer. StrAToI converts from the string version of a

RE: Posting Events to the queue

2002-03-25 Thread Scott Johnson
From: Joe [mailto:[EMAIL PROTECTED]] That is not a good idea. Changing one event into another event will have bad side effects if you don't know what you are doing. In particular, it won't work in the PACE emulator in OS 5. If you modify the event from within an event handler, you'll modify

RE: WinRGBToIndex on Visor Prism

2002-03-25 Thread Scott Johnson
From: Syed Najeebullah Hussaini [mailto:[EMAIL PROTECTED]] Something u shud do like this before using it in WinRGBToIndex rgbP = (RGBColorType *) MemPtrNew(sizeof(RGBColorType)); Why on earth would you heap-allocate a 4-byte structure? -slj- -- For information on using the Palm Developer

HwrDisplayAttributes (hwrDispVRAMSize) broken on Kyocera?!

2002-03-22 Thread Scott Johnson
I have a Kyocera QCP-6035 with OS 3.5.2, SX 1.0.11, KT 1.0.10. The system function WinScreenLock doesn't work, but always returns NULL rather than allocating a new video buffer like it probably should. That's OK since it's an optional API for licensees to implement, but it's a bummer. Further

PalmSim - plea for implementing HostRealloc

2002-03-21 Thread Scott Johnson
Not a biggie, but it would be nice if the HostControl function HostRealloc were supported. One of my in-house utilities uses it. Yes it's easy to write your own realloc using HostMalloc and HostFree which do work, but then I assume it would be easy for the PalmSim folks to implement it too.

RE: HELP-Running applications on POSE

2002-03-21 Thread Scott Johnson
From: Bert Ramsay [mailto:[EMAIL PROTECTED]] it is not clear whether this is the appropiate forum to get the answer Emulator-Forum would be better for discussing the warning message itself, but Palm-Dev-Forum is the place for the actual problems in your application that cause the warning.

RE: Upgrade from Palm OS 3.3 to Palm 3.5 or above?

2002-03-18 Thread Scott Johnson
From: [EMAIL PROTECTED] Does anybody know if I can upgrade my [Palm IIIe] device OS to enable it to run J2ME applications? And if yes...how to do it? I know nothing of J2ME, but in general many Palm devices have flash memory and can be upgraded. However the IIIe does not and cannot. See:

RE: Odd DmGetNextDatabaseByTypeCreator behavior

2002-03-15 Thread Scott Johnson
From: Mark A. Peters [mailto:[EMAIL PROTECTED]] I wanted to delete all databases with a given creatorID, so I wrote this code: while (errNone == DmGetNextDatabaseByTypeCreator (newSearch, ...)) { newSearch = false; Am I just having a bad day and can't see an obvious problem with

RE: zlib in CodeWorrier

2002-03-15 Thread Scott Johnson
From: Dilan ® [mailto:[EMAIL PROTECTED]] I would really appriciate if you can give me a hint on how to do this with ZLib. Create a blank CodeWarrior project. Set linker to 'Macintosh 68K' and project type to 'Palm OS Static Library'. Set output file name to something like zlib.lib. Add all

RE: Samsung Forum? Samsung SDK?

2002-03-15 Thread Scott Johnson
From: Brian Hall [mailto:[EMAIL PROTECTED]] 1) Could we have a Samsung forum added to this news server? It seems to be one of the only licensees not represented. The existing Kyocera forum is fairly low traffic. I wonder if a generic Telephony Forum would be sufficient to cover both brands.

RE: Desktop HotSync Program

2002-03-15 Thread Scott Johnson
From: Jim Schram [mailto:[EMAIL PROTECTED]] the Palm OS device is *not* constantly communicating with the desktop. In ancient times, this design was a no-brainer since listening to the serial port would drain the AAA batteries. But would it be practical these days for devices that recharge

RE: SXSW 2002 schedule -- critiques wanted

2002-03-14 Thread Scott Johnson
From: Ben Combee [mailto:[EMAIL PROTECTED]] I've been working on a schedule program for the SXSW music, interactive, and film festival here in Austin. Cool, both the app and the festival. the logo rather than the standard title bar in the main view -- it still behaves like a title bar.

RE: Wakeup Call for HotSync

2002-03-14 Thread Scott Johnson
From: Aaron Ardiri [mailto:[EMAIL PROTECTED]] you can only do it from the device/cradle if memory serves me right. maybe display a dialog saying press hotsync button now :) The PC just needs a non-cradle way to tell the device to HotSync. This could be something for the next PalmSource

RE: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Scott Johnson
From: Jim Schram [mailto:[EMAIL PROTECTED]] I meant deprecated in reference to when the new serial manager routines were added, but I definitely should have said REMOVED in reference to Palm OS 5. My bad! :oP As a serial manager newbie, I just looked up this Old and New serial manager

RE: MySysHandleEventPatch

2002-03-12 Thread Scott Johnson
From: Paul Nevai [mailto:[EMAIL PROTECTED]] If you recognmize the function name MySysHandleEventPatch(), please contact me since my POSE has this function name in the log Paul, what's this? Don't you know exactly what's installed on your POSE session? Assuming so, you can grep for that

RE: MySysHandleEventPatch

2002-03-12 Thread Scott Johnson
From: Joe [mailto:[EMAIL PROTECTED]] Confirmation of that: I see it in [Palm m500 and m505 ROMs] I also see MySysHandleEventPatch in one of the resources of Some DB. Good one. It appears to be a system extension for the clock popup on the m500-series devices. The Some DB name is quite a

RE: MenuHideItem

2002-03-12 Thread Scott Johnson
From: Richard Bell [mailto:[EMAIL PROTECTED]] I'm tryint to use MenuHideItem [...] I hide items 2,3,4 from the menu leaving the first item and the Add option (the last item). I can select the first item, but when I select the last item the emulator just locks up [...] Is this a known

RE: zlib in CodeWorrier

2002-03-08 Thread Scott Johnson
From: Pietro F. Maggi [mailto:[EMAIL PROTECTED]] The Zlib you are using is a shared libraries, you have to load the library and then call the function you need as shown in the examples included in the library. Of if you prefer linking to a static library, the zlib source code does build

RE: Looking for example popup list dialog code

2002-03-07 Thread Scott Johnson
From: Matt Disher (TiBook) [mailto:[EMAIL PROTECTED]] As soon as you touch a button, FrmDoDialog closes the form and gives you the button ID. How would you extract the choice/list setting of the list ? After FrmDoDialog returns you can still call FrmGetObjectPtr and LstGetSelection (etc) on

RE: Memory Manager Fault Upon DmDatabaseOpen

2002-03-07 Thread Scott Johnson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] The following code fails with a fatal exception: MemoryMgr.c, Line 4384, Free handle hDb = DmOpenDatabase(0, dbId, dmModeReadOnly); The database CodesGeneric does indeed exist and the dbId is not zero. The database could have gotten

RE: List/Table question

2002-03-06 Thread Scott Johnson
From: Dave Brown [mailto:[EMAIL PROTECTED]] Based on the fact the height is higher than normal it seems a standard list is out since the height of a [row] seems fixed (even with my own draw method). Actually the row height is based on the list's font. So you could set the font to be a

  1   2   3   4   5   6   >