Re: XTNDConnect Server

2000-07-18 Thread Yegor Bryukhov

> I am getting ready to evaluate XTNDConnect Server.  I am curious to know
if
> there are any files generated from the server after the database mapping.
I
> received five files from the Extended Systems Tech Support:  Utilities.c,
> Utilities.h, Database.c, Database.h, Defines.h.  Are the names look
familiar to
> you?  Thanks.
>

I haven't ever seen these files.
We simple use pilot_db.h to look on real structure of tables on Palm and
then code this structure in our own database classes.
Can you send these files to me ? mailto:[EMAIL PROTECTED]



-- 
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 chongwm

"Yu, Ken" wrote:
> 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)
Yep, took that into account. Just to make sure I'm reading it properly,
I've created a field in my record structure that is UInt32, that I
read-back correctly.

"David Fedor" wrote:
> Save yourself some effort and just read the docs of the PRC, PDB and PQA
> file formats.  It is available at http://www.palmos.com/dev/tech/docs/
*doh! slap on my head* After reading that the pdb structure will not be
officially documented in the knowledge base, I tried to figure out the
structure myself. Then, I searched thru the newsgroup and saw the
roadcoder post.

"Keith" wrote:
> Really? You mean you've managed to eliminate the only correct answer? :-)
Well, I was really hoping that it is zero-based on 1/1/1904, and tried
to massage the numbers to get that , but nothing sensible came out. So,
I created a totally new database, with just one record, containing a
UInt32 value obtained with UInt32 t=TimGetSeconds(), and a Char c[10] =
"ZzZzZzZzZz" and closed it immediately. ("ZzZzZzZzZz" as a beacon to
tell me where t is). My guess would be that the creation_date would be
very close to t. Turns out creation_date and t were way off. Seems like
creation_date is zero-based on 31/12/1969 1600hrs. I hope I am wrong,
'cause if I'm not, we would all have to check the OS version that
created the pdb. Please help.

I used "PAR.EXE" to decompile my pdb, it returns with invalid dates for
both creation_date and modification_date. "PDB.EXE" by Weiske reads the
dates properly.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Beginner programming - follow-on question

2000-07-18 Thread chongwm

Definitely wait for the 2nd edition. 1st uses OS3.1, and there are
significant changes in OS3.5.


"McMicken, Steven" wrote:
> 
> It's online at:
> http://www.palm.com/devzone/docs/pptdg/TableOfContents.htm
> Neil's working on the second edition, you might want to wait until that
> comes out to buy it.
> 
> Regards,
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: ROM UPGRADE

2000-07-18 Thread chongwm

You might want to check if yours is an EZ dragonball or not. There are
versions of 3.5 for regular dragonball and EZ dragonball.

Rob wrote:
> 
> If I have a Palm III running OS 3.0 is it possible to Upgrade to OS 3.5?
> If so how would I go about doing this?
> 
> Thanks.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: SyncReadSysDateTime() & TimGetSeconds()

2000-07-18 Thread chongwm

I haven't done any conduit programming, so I'm taking a totally wild
wack in the dark. Could it be that you are not taking care of possible
byte ordering differences between the handheld and the desktop machines?

petrelis wrote:
> 
> Hi,
> My application gets the time on the Palm using ' TimGetSeconds()'.
> The application 's conduit uses ' SyncReadSysDateTime(long & rdate)'.
> 
> Normaly this two functions should return the same thing ( ie seconds
> since 1/1/1904 ), but this is not case.
> ' SyncReadSysDateTime' doesn't work. It returns a number xxx xxx xxx
> whereas 'TimGetSeconds' returns a number
> x xxx xxx xxx.
> 
> Where do I do a mistake?
> 
> Thanks,
>  Mathias.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: [OT]Constructor feature request

2000-07-18 Thread Ben Combee

One idea until this can be implemented in Constructor: use a program like
Microsoft's Magnifier (look in Programs/Accessories/Accessibility) to blow
up part of the screen.
This can follow the mouse, so it should show a zoomed view of the
Constructor window when you're positioning items.  I know this utility is
included in Win2000; it may be bundled with some older OSes.

"Dave Johnson" <[EMAIL PROTECTED]> wrote in message
news:17866@palm-dev-forum...
>
> Jim Schram wrote:
>
> >Have you tried using "Show Object Hierarchy" (under the "Layout" menu)
> >along with the "Property Inspector" (under the "Window" menu)? Once the
> >object is selected, pull the form window forward, and you can use the
> >arrow keys to move the object one pixel at a time.
>
> Oh yes, I couldn't get by without them. Those are my main tools,
> especially when things overlap and click selection is impossible. Still,
> just being able to see what I'm doing in detail without getting nose
> prints on the screen would be lovely :-)




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: 32k code resource limitation?

2000-07-18 Thread John Marshall

Fitzpatrick, Joe <[EMAIL PROTECTED]> wrote:
> From what I have seen, "F" is a good adjective for the prc-tools "M"... ;>

I guess that means you're volunteering to help work on it.  Thanks!

John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Questions on sections (gcc/prc-tools/linux)

2000-07-18 Thread John Marshall

Sean L. Gilley <[EMAIL PROTECTED]> wrote:
> I'm trying to convert my app to use sections.  Following the instructions
> that came with prc-tools 2.0, I did three things.
[...]
>   m68k-palmos-coff-gcc -static -g -O3   -c check.c -o check.o
>   appname.c:194: section attributes are not supported for this target
[...]
> What am I not doing?

You're not using prc-tools 2.0.

John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Beginner programming - follow-on question

2000-07-18 Thread Derek Kite

The best book anywhere is this list. There are archives on deja, but
just read, code, and ask questions.

Derek


On Tue, 18 Jul 2000, you wrote:
> I appreciate everyone's responses to my post.  I think I 
> will check out of couple of the lower cost (free) 
> solutions first to see which works best for me.
> 
> One last question:  I am going to pick up a Palm 
> programming book and would like suggestions.  I have 
> seen books like "Palm programming from the ground up" 
> and "Learn Palm programming in 24 hours" or something 
> like these.  Any suggestions on books that are easy for 
> a new programmer to follow?
> 
> Thanks again,
> Jeff
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: PalmDebugger Question "Could not read source file gcrt0.c"

2000-07-18 Thread Derek Kite

On Thu, 06 Jul 2000, you wrote:
> I finally got it working... Thanks for everyones help.  Still pretty painful
> to use :-(.
> But at least it pointed to my problem quickly (which is what a debugger is
> good for,lol).
> 
> Given the feedback I may need to look back into gdb...
> 

gdb with ddd works very well for me, (on linux).

Derek


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Questions on sections (gcc/prc-tools/linux)

2000-07-18 Thread Sean L. Gilley


I'm trying to convert my app to use sections.  Following the instructions
that came with prc-tools 2.0, I did three things.  First I created a
definition file:

application { "appname"  copy-prevention version=1.0 }
multiple code { set1 set2 }

Next, I added definitions into my .c:


#define SECTION1 __attribute__ ((section ("set1")))
#define SECTION2 __attribute__ ((section ("set2")))

Err RomVersionCompatible(DWord, Word) SECTION1;
.
.
.

I also reworked my Makefile, but I don't think I need to show that.

When I do a make, I get errors that look like the following:

m68k-palmos-coff-gcc -static -g -O3   -c check.c -o check.o
appname.c:194: section attributes are not supported for this target
appname.c:195: section attributes are not supported for this target

What am I not doing?

Thanks,

Sean.

---
Sean L. Gilley  You take one road, you try one door
614-860-0247 (h)There isn't time for any more
[EMAIL PROTECTED]  One's life consists of either/or.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: codewarrior plugin problem/memory leak on 3.5

2000-07-18 Thread krollin



For what it's worth, I'm getting the same error. Note that I did NOT get this
crash when using the original CodeWarrior R6. While using that, typing "HD 0"
resulted in a long pause and then nothing -- just the return of the cursor.
After installing Update 1 and the Heather-announced .dlls, I got the crash you
got.

The release notes show that you're in tight with the MW people ( :-) ). Have you
reported this to them?

-- Keith Rollin
-- Palm OS Emulator engineer






"DeAnna Davidson" <[EMAIL PROTECTED]> on 07/18/2000 06:56:38 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "DeAnna Davidson" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:(Keith Rollin/US/PALM)
Subject:  codewarrior plugin problem/memory leak on 3.5



Hi all,

I have 2 problems.  First, I get that dreaded "UIAppShell...possible memory
leak..." message when exiting my app after running Gremlins (and only after
running Gremlins...and yes, I do a FrmCloseAllForms() in the appStop).
However, I only get that message on the 3.5 debug ROM.  Is 3.5 the only one
that does memory leak detection?  I just wanted to make sure as I don't get
the error on any other debug ROM and that would explain that part of the
mystery.  The major thing I am trying to accomplish, of course, is figuring
out what is "possibly" causing a memory leak.  However, everytime I try and
use the 'hd 0' command in the console window Codewarrior crashes with an
Unhandled Exception.  Sometimes it even causes a fatal Windows error stating
that PalmPlugin.dll caused an invalid page fault or something.  I'm running
Windows 98, Codewarrior R6 with the 3.5 SDK update 1 and the debugger update
Heather announced on 6/29, Emulator 3.0a6.  Any suggestions on any of that?

DeAnna


--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



codewarrior plugin problem/memory leak on 3.5

2000-07-18 Thread DeAnna Davidson

Hi all,

I have 2 problems.  First, I get that dreaded "UIAppShell...possible memory
leak..." message when exiting my app after running Gremlins (and only after
running Gremlins...and yes, I do a FrmCloseAllForms() in the appStop).
However, I only get that message on the 3.5 debug ROM.  Is 3.5 the only one
that does memory leak detection?  I just wanted to make sure as I don't get
the error on any other debug ROM and that would explain that part of the
mystery.  The major thing I am trying to accomplish, of course, is figuring
out what is "possibly" causing a memory leak.  However, everytime I try and
use the 'hd 0' command in the console window Codewarrior crashes with an
Unhandled Exception.  Sometimes it even causes a fatal Windows error stating
that PalmPlugin.dll caused an invalid page fault or something.  I'm running
Windows 98, Codewarrior R6 with the 3.5 SDK update 1 and the debugger update
Heather announced on 6/29, Emulator 3.0a6.  Any suggestions on any of that?

DeAnna


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Todo sample's bug!

2000-07-18 Thread Wen Zhiyong

HI:

 Todo sample's ToDoDB.c Line914  MemPtrResize (recordH, newSize) is wrong,it will 
be MemHandleResize(recordH,newSize);

 


___
ÍøÒ×[µçÄԽ̳Ì] ÄÚÈݳ¬È« ÏÂÔØ¡¢½âÒÉ¡¢Ñ§Ï°Ó¦Óо¡ÓÐ
http://school.163.com
ÍøÒ×ÐÂÎÅƵµÀ£¬²»µ«Ð£¬¸üÒªupdateÄúµÄÅжÏÁ¦£¡
http://news.163.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: 32k code resource limitation?

2000-07-18 Thread Tom Zerucha

On Sun, Jun 18, 2000 at 03:37:14PM -0600, Alfred Salton wrote:
> We have reached a size limit beyond which our code will no longer compile,
> apparently when the code resource is ~32k. We are using GCC/PRC Tools. Can
> anyone provide me with an example of creating multiple code resources, or
> any other advise on the problem?

The two other replies (read prc-tools-2.0 info, and the limit is 64K,
but any subroutine must be 32k from the caller).

Also note that any const globals end up in the text segment, i.e. with
your code.  So if you have a long table or string (or set thereof),
you might get more room by moving these to string resources.

e.g.

Char x[] = "this will be a really long string30K+ ...";

v.s.

char *x;

use a tSTR, then do a DmGetResource on it and lock the pointer upon
startup and unlock upon shutdown.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Acrobat Distiller

2000-07-18 Thread Tom Zerucha

On Tue, Jul 18, 2000 at 03:06:22PM -0400, DIAMOND JEFF wrote:
> Does anyone know of a program that allows pdf viewing on a Palm?
> I wouldn't mind if it translated the file format on the deskstop first.

Depends on what you want.  There are versions of Ghostscript that can
convert PDFs to text (pdftotext I think comes with SUSE linux,
probably most others).  Then save the text as a DOC file.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



New (albeit stupid) Freeware (off topic)

2000-07-18 Thread Fitzpatrick, Joe

Our valiant young engineer, Iwao Fukuda, has developed his first Palm OS
app.  eAbuse is available as freeware from www.palmgear.com.  It is an
insult generator based on some 'junk' emails which made the rounds.  It is
simple and silly, but any program which provides me with:

"You get health care from a vet, you scaly, dirt ball sucking, seal
provoking, misanthropic dependent of Barney the Dinosaur."

"Thou bootless, knotty-pated, flap-dragon."

and last, but not least...

"If it is a matter of cost I'll buy you a toothbrush."

Might actually come in handy!  I'm just happy at how quickly he cranked
through the tutorial and his self-assigned graduation test.

Regards,
-jjf

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: MathLib, Problem Closing

2000-07-18 Thread Tom Zerucha

On Tue, Jul 18, 2000 at 11:54:54AM -0400, Michael Gregoire wrote:

> With 'MathLibClose(MathLibRef, &usecount)'"Application" 1.0 has just
> performed an illegal operation.  It performed a "bus error".  If this
> ...

This is the correct version...

First, how are you detecting that the bus error is occuring on this
call?

Does that call return anything?  (I use {char buf[20];
StrIToH(buf,error); WinDrawChars(buf,8,80,0);} in cases like this).

If so, what?

Could something be altering MathLibRef?

I think there is a newer version of MathLib as well.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: 32k code resource limitation?

2000-07-18 Thread Fitzpatrick, Joe

>From what I have seen, "F" is a good adjective for the prc-tools "M"... ;>

Sorry, I couldn't resist!
-jjf

-Original Message-
From: Aaron Ardiri [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 3:04 PM
To: Palm Developer Forum
Subject: Re: 32k code resource limitation?



  simple solution..

  upgrade to prc-tools 2.0 and then look for some examples (there
  is on in the download).. RTFM before you bug me.. when i find
  the time, i can help if you get stuck :>

  maybe one day i put a prc-tools 2.0 "how to multi segment"
  page up on www.ardiri.com :>>

az.
--
Aaron Ardiri 
Java Certified Programmer  http://www.hig.se/~ardiri/
University-College i Gävle mailto:[EMAIL PROTECTED]
SE 801 76 Gävle SWEDEN   
Tel: +46 26 64 87 38   Fax: +46 26 64 87 88
Mob: +46 70 656 1143   A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



WinHandles: Signature capture question

2000-07-18 Thread Nesse, Rustin

I've looked up on this (well, as much as my company server will allow
me), and I couldn't find any real definative answers to this...

I'm compiling the Signature++ source (with quite a bit of obviously
unsupported functionality) as an attempt to figure out how I'm managing
to botch my own handler for accepting user drawing input on a gadget (I
get a few pixels, then it just freezes up the unit, requiring a soft
reboot), and I'm finding that I can't compile anything with a ->gDeviceP-> 
structure member (of the WinHandle structure), as it evidentally is
no longer supported(?).  As I kind of have to save things like the
rowBytes, pixelSize, etc., is there a way to replace this kind of line?

theRowBytes = theWindowHandle->gDeviceP->rowBytes;
or
theBitmapPtr->rowBytes = theWindowHandle->gDeviceP->rowBytes;

I'd appreciate any help!

-Rus

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: [OT]Constructor feature request

2000-07-18 Thread Dave Johnson

Jim Schram wrote:

>Have you tried using "Show Object Hierarchy" (under the "Layout" menu) 
>along with the "Property Inspector" (under the "Window" menu)? Once the 
>object is selected, pull the form window forward, and you can use the 
>arrow keys to move the object one pixel at a time.
Oh yes, I couldn't get by without them. Those are my main tools, 
especially when things overlap and click selection is impossible. Still, 
just being able to see what I'm doing in detail without getting nose 
prints on the screen would be lovely :-)

Dave Johnson

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: DmOpenDatabaseByTypeCreator error

2000-07-18 Thread krollin



It's not clear what the path is between DmOpenDatabaseByTypeCreator and the
Memory Manager function that's failing. Can you provide a stack crawl?

Otherwise, DmOpenDatabaseByTypeCreator is merely a wrapper for
DmGetNextDatabaseByTypeCreator followed by DmOpenDatabase (as you can tell from
the Palm OS 3.0 sources -- can you get those in Estonia?). Perhaps you could
execute those two functions instead to help narrow down what's causing the
problem.

-- Keith






Oleg Alpatov <[EMAIL PROTECTED]> on 07/18/2000 02:10:52 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  Oleg Alpatov <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:(Keith Rollin/US/PALM)
Subject:  DmOpenDatabaseByTypeCreator error



Hi,all.

Please tell me what possible reasons may cause error message
"MemoryMgrNew.c, Line 4165, NULL handle" when executing
the following line of code:
gDB = DmOpenDatabaseByTypeCreator(DBType, FileCreator, mode);

Database exists, this line, constants and variables remain
unchanged, only thing that changed is new version of
application.

Thanks in advance
Oleg

--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



graffiti interrupts

2000-07-18 Thread Steve Ralph

Are there any interrupts for graffiti?
I would like the equivalents of pen down, move and up 
for grafitti area but am starting to suspect that the API
is only there for completeness


Steve Ralph


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: Beaming a database with the application

2000-07-18 Thread Steve Austin

If you only wanted to distribute the software once, you could include an
image of the database in a resource, and then destroy the resource after you
verified that the DatabaseFromImage had worked.

I guess you could include code that would repack the database in case
someone wanted to beam it again.  Just a thought

Steve

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Danny
Epstein
Sent: Tuesday, July 18, 2000 2:42 PM
To: Palm Developer Forum
Subject: Re: Beaming a database with the application


The Launcher doesn't beam anything along with the application. You could
include your database in a resource in the application and have your
application instantiate the database using DmCreateDatabaseFromImage. This
would be a waste of space though. You might be able to put everything you
need into the application itself, and access it directly.

You could provide a Beam menu item in your application that beams the
application and the associated database to the Launcher on another device.
However, the receiver would have to acknowledge each individually, and the
second database couldn't be sent until the first was confirmed. Also, if the
sender used the Launcher to beam your application, they wouldn't get the
associated database.

There aren't any good solutions to this problem. It's something we're trying
to improve.
--
Danny Epstein
OS Engineer, Palm Inc.

-- original message from "Scott Johnson" <[EMAIL PROTECTED]>
news:17835@palm-dev-forum...
> 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
> would go with it, but apparently that doesn't happen.  Is there a way to
> beam the database without having to program the application to do it
> explicitly?


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: CPU usage and Constructor

2000-07-18 Thread Heather Tufts

> 1,5,0,9
> the about has 1.5b6
> I should have said it not 100% all the time but oscillates 
> between 81% and
> 100% (staying mostly at 100%), never going below 81% when 
> active.  My CPU
> usage before loading constructor is less than 10%.

Download Update 1 to the 3.5 SDK which has Constructor 1.5b7.  Let me know
if you still see this behavior.
-hkmlt

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: Hide the application

2000-07-18 Thread Heather Tufts

>   I have two applications (App1 and App2); App2 only 
> starts when App1
> calls it, so I would not like that App2 shows up in the Application
> Launcher. How can I do that?   

Set the type for App2 to something other than "APPL" so it doesn't appear in
the Launcher, but set the creator codes for App1 and App2 to the same thing
so that when someone wants to delete your app, they get all of it.
-hkmlt

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: [OT]Constructor feature request

2000-07-18 Thread Steve Mann


>A feature that I would LOVE to see in constructor is a magnified view for
>laying out forms

>This is not a huge deal, I've managed so far without it, but it would
>sure make things more comfortable :-)

Absolutely. It would be a great addition to Constructor. although not 
necessarily for overlapping stuff. Just for quick visual object 
alignment.

Regards,
Steve Mann
-- 
---
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
---
805.784.9461  805.784.9462 (fax)
[EMAIL PROTECTED]   http://www.cdpubs.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: (OT)appStopEvent and PalmOS 2.0

2000-07-18 Thread Nesse, Rustin


>Anyway this is starting to sound suspiciously like a rather hand wavy
>defense against your valid point ;).
>
Not really...in vertical POS apps, you want your device as simple as 
humanly possible.  The kinds of people that will use, say, a Symbol
with software of the ilk I and others who develop for the POS industry,
typically have limited computer knowledge and many have never had the 
opportunity to play with a Palm Pilot.  If you want to make your 
solution usable, you have to make it work like this:
1. User starts app.
2. User uses app.
3. User closes app.
4. User starts another app.
...
You often don't want your user to be able to change apps while doing
some tedious process, as you lose data and productivity.  While we'd 
would still find uses for the old launcher (and probably ways around it),
the new launcher is a more conceptually simple and procedural method.

Dang it, now I'm snowballing, but you get the idea.

-Rus 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: ROM UPGRADE

2000-07-18 Thread Aaron Ardiri

> First, download an OS 3.5 ROM image from the Provider Pavillion. Then 
> get the OS 3.3 upgrade utility from the support section at palm.com. 
> When you run the 3.3 installer, it will extract a utility program named 
> Upgrade_utility.exe and run it. When it runs, there will be an 
> "Advanced" button on one of the dialogs. Use it, then navigate to where 
> your 3.5 ROM image is saved, and use it instead of the 3.3 image that 
> comes in the 3.3 upgrade package.

  then... get upgrade your TRGPro to 3.5 and then suck out a little
  file called "Update 3.5.1" and sync it to your device :)) no more
  memory leak :>

  its working fine for me, and now i have 3.5.1 on my Palm V8 (efig)

az. 
--
Aaron Ardiri 
Java Certified Programmer  http://www.hig.se/~ardiri/
University-College i Gävle mailto:[EMAIL PROTECTED]
SE 801 76 Gävle SWEDEN   
Tel: +46 26 64 87 38   Fax: +46 26 64 87 88
Mob: +46 70 656 1143   A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: ROM UPGRADE

2000-07-18 Thread Roger Chaplin

"Rob" <[EMAIL PROTECTED]> wrote:

> If I have a Palm III running OS 3.0 is it possible to Upgrade to OS 3.5?
> If so how would I go about doing this?

First, download an OS 3.5 ROM image from the Provider Pavillion. Then 
get the OS 3.3 upgrade utility from the support section at palm.com. 
When you run the 3.3 installer, it will extract a utility program named 
Upgrade_utility.exe and run it. When it runs, there will be an 
"Advanced" button on one of the dialogs. Use it, then navigate to where 
your 3.5 ROM image is saved, and use it instead of the 3.3 image that 
comes in the 3.3 upgrade package.

This works for Windoze boxen. There may or may not be a Mac version of 
the 3.3 upgrade package. I'm pretty sure you're on your own with *nix.

--
Roger Chaplin
<[EMAIL PROTECTED]>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: appStopEvent and PalmOS 2.0

2000-07-18 Thread Stuart Nicholson

I guess it's not that different logically, except of course the launcher
traditionally occupies the entire screen on the device making it appear
to the user that the original application has been exited (it is very
rare indeed you don't have enough apps loaded to only show a partial
launcher if you see what I mean).

Other dialogs (find, keyboard etc.) mostly apply to the current
application you have running (ie. you're looking for something (ack find
is a bad example ;)) or entering input into the app) and usually don't
occupy the entire display. The launcher is kind of a different beast (it
lets you swap to another app). I guess in my mind the way the launcher
behaves in terms of events on the device and the way the launcher
behaves in terms of actual user interface don't quite match.

It's probably a hang over from the 'desktop' model we're all used to
(where if you exit all your apps on your PC/Mac you're left with the
desktop which is conceptually similar to the launcher in PalmOS (it
shows icons to launch apps). The assumption is of course that if you can
'see' the desktop (or launcher) then you haven't got anything else
running (well that's kind of a poor example too).

Anyway this is starting to sound suspiciously like a rather hand wavy
defense against your valid point ;).

Regardless I MUCH prefer the way the launcher behaves now - as a
seperate application in it's own right. It just seems cleaner (IMHO ;)).
Palm are not thinking of returning to the old model are they?!

Stuart Nicholson
Programmer 
Firepad Inc.

PS: It also made it harder if you were doing nasty things with the
display hardware ;).

> --
> From: [EMAIL PROTECTED]
> Reply To: Palm Developer Forum
> Sent: Tuesday, July 18, 2000 2:53 PM
> To:   Palm Developer Forum
> Subject:  RE: appStopEvent and PalmOS 2.0
> 
> 
> 
> Stuart,
> 
> I'd like to further understand your perspective.  How is bringing up
> the
> Launcher dialog any different from any of the other dialogs that could
> come up?
> How is it different from the keyboard dialog or the find dialog?
> 
> Or are you saying that those dialogs should also send appPausedEvent
> or
> appBackgroundedEvent?
> 
> -- Keith
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



DmOpenDatabaseByTypeCreator error

2000-07-18 Thread Oleg Alpatov

Hi,all.

Please tell me what possible reasons may cause error message
"MemoryMgrNew.c, Line 4165, NULL handle" when executing
the following line of code:
gDB = DmOpenDatabaseByTypeCreator(DBType, FileCreator, mode);

Database exists, this line, constants and variables remain
unchanged, only thing that changed is new version of
application.

Thanks in advance
Oleg

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: Palm VII and Serial Communications

2000-07-18 Thread David Slotter

It *is* possible to use the Palm VII radio *simultaneously* with the serial
port. I have written software which does just that.

-Dave Slotter

> --
> From: Tom Zerucha
> Reply To: Palm Developer Forum
> Sent: Tuesday, July 11, 2000 1:32 AM
> To:   Palm Developer Forum
> Subject:  Re: Palm VII and Serial Communications
> 
> On Mon, Jul 10, 2000 at 04:13:52PM -0700, Anderson, Thomas wrote:
> > I don't think it can
> > The dragonball processor only has one UART, and if it's using that
> > UART to talk to the radio transmitter it would be impossible to use the
> > serial port.
> > 
> > Thomas Anderson
> 
> But *IS* the radio on the UART or on dedicated hardware?  If the
> latter, the serial port is still available.
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: 32k code resource limitation?

2000-07-18 Thread Aaron Ardiri


  simple solution..

  upgrade to prc-tools 2.0 and then look for some examples (there
  is on in the download).. RTFM before you bug me.. when i find
  the time, i can help if you get stuck :>

  maybe one day i put a prc-tools 2.0 "how to multi segment"
  page up on www.ardiri.com :>>

az.
--
Aaron Ardiri 
Java Certified Programmer  http://www.hig.se/~ardiri/
University-College i Gävle mailto:[EMAIL PROTECTED]
SE 801 76 Gävle SWEDEN   
Tel: +46 26 64 87 38   Fax: +46 26 64 87 88
Mob: +46 70 656 1143   A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: appStopEvent and PalmOS 2.0

2000-07-18 Thread Aaron Ardiri

> Many thanks to all of you, folks!
> And especially to Stuart Nicholson for fast and exhaustive respond.
> I really appreciate your help!

  somewhere deep in the docs is states why this is happening. 

  in palmos 1.0 and 2.0 - the launcher was a dialog. you used it to
  switch between apps. in palmos 3.0 - the launcher become a real
  app (not a dialog) :>

  so when you hit the apps button, it SWITCHED apps, and hence posted
  an appStopEvent. *grin*..  damn.. [EMAIL PROTECTED] just emailed
  i bet he just said the same thing :)

  cheers

az. 
--
Aaron Ardiri 
Java Certified Programmer  http://www.hig.se/~ardiri/
University-College i Gävle mailto:[EMAIL PROTECTED]
SE 801 76 Gävle SWEDEN   
Tel: +46 26 64 87 38   Fax: +46 26 64 87 88
Mob: +46 70 656 1143   A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: 32k code resource limitation?

2000-07-18 Thread Peter Epstein

At 02:37 PM 6/18/2000, Alfred Salton wrote:
>We have reached a size limit beyond which our code will no longer compile,
>apparently when the code resource is ~32k. We are using GCC/PRC Tools. Can
>anyone provide me with an example of creating multiple code resources, or
>any other advise on the problem?

If you carefully arrange your code, it should be possible to continue to use a single 
segment without exceeding the 32K jump limit. Functions which use long math will need 
to be within 32K of the long math routines at the start of the segment. Indexing into 
arrays of structs will often use long math. You can avoid this by using an array of 
pointers. You'll also need to make sure any function you write isn't called by another 
function that's more than 32K away.

Eventually, this gets to be a pain, or you reach the 64K segment limit, at which point 
you have to choice but to switch to multi-segment. The knowledge base is a good place 
to start for that. The tricky part is making sure all the code that has to be in the 
first segment actually is there. If you miss something, the error you get isn't very 
informative. There are some neat tricks for verifying that you got all the code in the 
right place.
--
Peter Epstein
Palm Inc. Developer


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: appStopEvent and PalmOS 2.0

2000-07-18 Thread krollin



Stuart,

I'd like to further understand your perspective.  How is bringing up the
Launcher dialog any different from any of the other dialogs that could come up?
How is it different from the keyboard dialog or the find dialog?

Or are you saying that those dialogs should also send appPausedEvent or
appBackgroundedEvent?

-- Keith






Stuart Nicholson <[EMAIL PROTECTED]> on 07/18/2000 02:41:21 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  Stuart Nicholson <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:(Keith Rollin/US/PALM)
Subject:  RE: appStopEvent and PalmOS 2.0



Oho a religious war in the offing ;).

Well you can probably tell how I felt about the feature...I never really
liked it because it didn't seem to fit with the appStopEvent model...why
was there never an appPausedEvent (or appBackgroundedEvent)?

You have to resort to kludges like looking for keyDown events of a
certain flavour. It also meant (depending on your app) you had to keep
track of your background/foreground state as many apps have to do
special things when they come to the fore (gray scale games under PalmOS
2.0 for example).

But then maybe we're talking from different perspectives (user vs
developer) and goodness knows it's a rare thing when users and
developers agree on feature functionality ;).

Stuart Nicholson
Programmer
Firepad Inc.

> --
> From:   John Marshall
> Reply To:Palm Developer Forum
> Sent:   Tuesday, July 18, 2000 2:33 PM
> To: Palm Developer Forum
> Subject: Re: appStopEvent and PalmOS 2.0
>
> Stuart Nicholson <[EMAIL PROTECTED]> wrote:
> > Fortunately Palm Computing removed this annoying feature (which has
> no
> > merit that I can see other than to confuse application developers)
> in
> > PalmOS 3.0 and higher.
>
> Oh please...
>
> It was a very useful feature.  I used to use the applications screen
> as a
> clock all the time: one tap to see the time, one tap to go back to
> exactly
> where you were.  Very fast -- no application startup or display
> updates.
>
> I miss that feature.  :-(
>
> Ob-dev-list:  If that was a confusion for developers, it's only
> because
> they were assuming more control than they really needed.
>
> John
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
>

--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: appStopEvent and PalmOS 2.0

2000-07-18 Thread Oleg Alpatov

Many thanks to all of you, folks!
And especially to Stuart Nicholson for fast and exhaustive respond.
I really appreciate your help!

Regards,
Oleg

Richard Hartman wrote:
> 
> If you miss the "quick clock" feature, look into ChronoHack.
> 
> --
> -Richard M. Hartman
> [EMAIL PROTECTED]
> 
> 186,000 mi/sec: not just a good idea, it's the LAW!
> 
> John Marshall wrote in message <17836@palm-dev-forum>...
> >
> >Stuart Nicholson <[EMAIL PROTECTED]> wrote:
> >> Fortunately Palm Computing removed this annoying feature (which has no
> >> merit that I can see other than to confuse application developers) in
> >> PalmOS 3.0 and higher.
> >
> >Oh please...
> >
> >It was a very useful feature.  I used to use the applications screen as a
> >clock all the time: one tap to see the time, one tap to go back to exactly
> >where you were.  Very fast -- no application startup or display updates.
> >
> >I miss that feature.  :-(
> >
> >Ob-dev-list:  If that was a confusion for developers, it's only because
> >they were assuming more control than they really needed.
> >
> >John
> >
> >

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Beaming a database with the application

2000-07-18 Thread Danny Epstein

The Launcher doesn't beam anything along with the application. You could
include your database in a resource in the application and have your
application instantiate the database using DmCreateDatabaseFromImage. This
would be a waste of space though. You might be able to put everything you
need into the application itself, and access it directly.

You could provide a Beam menu item in your application that beams the
application and the associated database to the Launcher on another device.
However, the receiver would have to acknowledge each individually, and the
second database couldn't be sent until the first was confirmed. Also, if the
sender used the Launcher to beam your application, they wouldn't get the
associated database.

There aren't any good solutions to this problem. It's something we're trying
to improve.
--
Danny Epstein
OS Engineer, Palm Inc.

-- original message from "Scott Johnson" <[EMAIL PROTECTED]>
news:17835@palm-dev-forum...
> 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
> would go with it, but apparently that doesn't happen.  Is there a way to
> beam the database without having to program the application to do it
> explicitly?


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Beaming a database with the application

2000-07-18 Thread Adam Wozniak

Scott Johnson wrote:

> 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
> would go with it, but apparently that doesn't happen.  Is there a way to
> beam the database without having to program the application to do it
> explicitly?

Not that I know of.  Sure would be nice if DBs had a "beam with app" bit which could 
be set.

--
Adam Wozniak Senior Software Design Engineer
 Surveyor Corporation
[EMAIL PROTECTED]4548 Broad Street
[EMAIL PROTECTED]  San Luis Obispo, CA 93401



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: appStopEvent and PalmOS 2.0

2000-07-18 Thread Stuart Nicholson

Oho a religious war in the offing ;).

Well you can probably tell how I felt about the feature...I never really
liked it because it didn't seem to fit with the appStopEvent model...why
was there never an appPausedEvent (or appBackgroundedEvent)? 

You have to resort to kludges like looking for keyDown events of a
certain flavour. It also meant (depending on your app) you had to keep
track of your background/foreground state as many apps have to do
special things when they come to the fore (gray scale games under PalmOS
2.0 for example).

But then maybe we're talking from different perspectives (user vs
developer) and goodness knows it's a rare thing when users and
developers agree on feature functionality ;).

Stuart Nicholson
Programmer
Firepad Inc.

> --
> From: John Marshall
> Reply To: Palm Developer Forum
> Sent: Tuesday, July 18, 2000 2:33 PM
> To:   Palm Developer Forum
> Subject:  Re: appStopEvent and PalmOS 2.0
> 
> Stuart Nicholson <[EMAIL PROTECTED]> wrote:
> > Fortunately Palm Computing removed this annoying feature (which has
> no
> > merit that I can see other than to confuse application developers)
> in
> > PalmOS 3.0 and higher.
> 
> Oh please...
> 
> It was a very useful feature.  I used to use the applications screen
> as a
> clock all the time: one tap to see the time, one tap to go back to
> exactly
> where you were.  Very fast -- no application startup or display
> updates.
> 
> I miss that feature.  :-(
> 
> Ob-dev-list:  If that was a confusion for developers, it's only
> because
> they were assuming more control than they really needed.
> 
> John
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> 
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



32k code resource limitation?

2000-07-18 Thread Alfred Salton

We have reached a size limit beyond which our code will no longer compile,
apparently when the code resource is ~32k. We are using GCC/PRC Tools. Can
anyone provide me with an example of creating multiple code resources, or
any other advise on the problem?

Thanks,
Alfred



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: appStopEvent and PalmOS 2.0

2000-07-18 Thread Richard Hartman

If you miss the "quick clock" feature, look into ChronoHack.



--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!


John Marshall wrote in message <17836@palm-dev-forum>...
>
>Stuart Nicholson <[EMAIL PROTECTED]> wrote:
>> Fortunately Palm Computing removed this annoying feature (which has no
>> merit that I can see other than to confuse application developers) in
>> PalmOS 3.0 and higher.
>
>Oh please...
>
>It was a very useful feature.  I used to use the applications screen as a
>clock all the time: one tap to see the time, one tap to go back to exactly
>where you were.  Very fast -- no application startup or display updates.
>
>I miss that feature.  :-(
>
>Ob-dev-list:  If that was a confusion for developers, it's only because
>they were assuming more control than they really needed.
>
>John
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: TrapAddress Problem

2000-07-18 Thread Richard Hartman

I think that list is waaay out of date ...

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!


Meir Rotfleisch wrote in message <17827@palm-dev-forum>...

Hi

The following link is a list of the Traps and their Addresses.

http://www.daggerware.net/hacktrap.txt

I too am interested in more info regarding the Trapping. I notice for
instance that there are some *Hwr* Traps that seem interresting however I
can't seem to find more info about them anybody with ideas??


Regards

Meir Rotfleisch





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: appStopEvent and PalmOS 2.0

2000-07-18 Thread John Marshall

Stuart Nicholson <[EMAIL PROTECTED]> wrote:
> Fortunately Palm Computing removed this annoying feature (which has no
> merit that I can see other than to confuse application developers) in
> PalmOS 3.0 and higher.

Oh please...

It was a very useful feature.  I used to use the applications screen as a
clock all the time: one tap to see the time, one tap to go back to exactly
where you were.  Very fast -- no application startup or display updates.

I miss that feature.  :-(

Ob-dev-list:  If that was a confusion for developers, it's only because
they were assuming more control than they really needed.

John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



TCP/IP usage flow

2000-07-18 Thread Michael Zapeda

Quick newbie question:

Using NetLib, for wired devices (III, IIIx, V, etc), *when* does your
program actually make these TCP/IP connections to the outside world? Is it
during hotsync?

For instance, if i write a simple telnet client for my palm Vx -- at what
point can i actually telnet to another machine? Obviously if the device was
disconnected and in my hand, theres no way it could make a connection. So
when does it actually do all this cool stuff?

Any and all input is greatly appreciated.

Thanks!
-Michael




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Beaming a database with the application

2000-07-18 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
would go with it, but apparently that doesn't happen.  Is there a way to
beam the database without having to program the application to do it
explicitly?

Thanks,
--Scott




-- 
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, 2000 3:36 AM
> To:   Palm Developer Forum
> Subject:  Re: PDB Export Utilities for PC
> 
> I've tried to reverse engineer the PDB format with some small degree of
> success, I just can't seem to read the creation date field right. One
> thing I know for sure is that it is not zero-based on 1/1/1904 midnight.
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: appStopEvent and PalmOS 2.0

2000-07-18 Thread Dave Lippincott

If I remember correctly, Palm OS2.x will send the appStopEvent to your app
when you select another application from the App Launcher.  I think I moved
my house cleaning to the winExitEvent of the main dialog instead of the
appStopEvent.

- Original Message -
From: "Oleg Alpatov" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, July 18, 2000 3:55 PM
Subject: appStopEvent and PalmOS 2.0


> Hi, all.
>
> When I tap "Applications" icon, PalmOS 3 sends appStopEvent into
> my active application and brings me into App Launcher.
>
> Could anyone tell me what happens in PalmOS 2 in this situation
> and how should I handle this?
>
> Thanks,
> Oleg
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Scroll bar and Table

2000-07-18 Thread Van Nguyen

Greetings,

My app. currently have a database which records are
displayed in a table of 13 rows.  When the app. runs,
there should be more than 13 records exist in the
database, and therefore, I am using Repeating Button
at this point for scrolling up and down.

I need to switch from Repeating Button to Scrollbar. 
Could someone who has the experience with this
implementation help me with this?  
Any examples, or books references are greatly
appreciated.
Thanks.



=
Best regards,

Van Nguyen.

__
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: appStopEvent and PalmOS 2.0

2000-07-18 Thread Stuart Nicholson

PalmOS 1.0 & 2.0 bite in this respect (no offense). In both these
versions of the OS, the launcher (the standard PalmOS 'application icon'
view) can run in the background (when your app is running) or in the
foreground (when your app is hidden).

If you enter your application and then tap 'applications' you will NOT
see an appStopEvent because the launcher has simply moved to the
foreground and your application placed in the background. If you THEN
select ANOTHER application to launch your application will THEN receive
an appStopEvent. Of course if you select your application again it
simply gets swapped to the foreground again and I think the ONLY event
you see is a 'winEnterEvent'.

You can detect when your application has been placed into the background
by looking for keyDown events on the 'appLaunchKey'. At least that's how
I do it, or maybe a 'winExitEvent' but of course you see these all the
time if you're display alerts etc.

Fortunately Palm Computing removed this annoying feature (which has no
merit that I can see other than to confuse application developers) in
PalmOS 3.0 and higher.

Hope that helps!

Stuart Nicholson
Programmer
Firepad Inc.

> --
> From: Oleg Alpatov
> Reply To: Palm Developer Forum
> Sent: Tuesday, July 18, 2000 12:55 PM
> To:   Palm Developer Forum
> Subject:  appStopEvent and PalmOS 2.0
> 
> Hi, all.
> 
> When I tap "Applications" icon, PalmOS 3 sends appStopEvent into
> my active application and brings me into App Launcher.
> 
> Could anyone tell me what happens in PalmOS 2 in this situation
> and how should I handle this?
> 
> Thanks,
> Oleg
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> 
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: TrapAddress Problem

2000-07-18 Thread Meir Rotfleisch

Hi

The following link is a list of the Traps and their Addresses.

http://www.daggerware.net/hacktrap.txt

I too am interested in more info regarding the Trapping. I notice for instance that 
there are some *Hwr* Traps that seem interresting however I can't seem to find more 
info about them anybody with ideas??


Regards

Meir Rotfleisch

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



appStopEvent and PalmOS 2.0

2000-07-18 Thread Oleg Alpatov

Hi, all.

When I tap "Applications" icon, PalmOS 3 sends appStopEvent into
my active application and brings me into App Launcher.

Could anyone tell me what happens in PalmOS 2 in this situation
and how should I handle this?

Thanks,
Oleg

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



XTNDConnect Server

2000-07-18 Thread Chang . Elizabeth



Hi All,

I am getting ready to evaluate XTNDConnect Server.  I am curious to know if
there are any files generated from the server after the database mapping.  I
received five files from the Extended Systems Tech Support:  Utilities.c,
Utilities.h, Database.c, Database.h, Defines.h.  Are the names look familiar to
you?  Thanks.


-Elizabeth



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: [OT]Constructor feature request

2000-07-18 Thread Jim Schram

At 12:24 PM -0700 2000/07/18, Dave Johnson wrote:
>A feature that I would LOVE to see in constructor is a magnified view for
>laying out forms. whenever forms get more than mildly complex
>(overlapping objects, for instance, which are hidden and shown
>dynamically) I find myself leaning in to the monitor and squinting while
>trying to arrange things.

Have you tried using "Show Object Hierarchy" (under the "Layout" menu) along with the 
"Property Inspector" (under the "Window" menu)? Once the object is selected, pull the 
form window forward, and you can use the arrow keys to move the object one pixel at a 
time. IMHO those are far more useful (to me) for editing overlapping form objects than 
a magnified form view would be... though I agree it would be a nice feature.

Regards,

Jim Schram
Palm Incorporated
Partner Engineering


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



ROM UPGRADE

2000-07-18 Thread Rob

If I have a Palm III running OS 3.0 is it possible to Upgrade to OS 3.5?
If so how would I go about doing this?

Thanks.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



StdIOPalm.c, StdIOProvider.c

2000-07-18 Thread Jeff Collins



I have been using the PalmOS 3.5 dev kit for linux, but
haven't been able to locate the files StdIOPalm.c and
StdIOProvider.c.  Where are they?  I've searched the palm.com
site without success.

Thanks,

Jeff



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Addressbook - howto ident the Business Card ?!

2000-07-18 Thread Collin R. Mulliner

Hi, 

how do I ident. the business card in the Addressbook database ? I could n= 
ot 
find any thing in the sources ! 


thanks ... Collin 

--
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-18 Thread Nick Rossi

I am literate in SF forms and have a  working development environment in
place...  What is the nature of your project? note that SF3.x SE is runtime
free

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of DIAMOND
JEFF
Sent: Tuesday, July 18, 2000 3:15 PM
To: Palm Developer Forum
Subject: Re: Beginner programming questions


Just a warning that Satellite Forms is the most expensive option of them
all.  I haven't checked in awhile but at one point the basic version
cost $599.  There is a trial version but I'm not sure how crippled it
is...

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: [OT]Constructor feature request

2000-07-18 Thread Nesse, Rustin

I'd really like an improved internal graphic editor for the bitmaps.  
I can continue to cut and paste stuff in from LView, but I'd really
like something made specifically for Palm bitmaps (I've had cut-
and-pasting problems in the past).  I'd really like the size of
the bitmap to change automatically with the size of the image on the
clipboard.  Zoom in and out would be nice, and a grid would be nice, 
too.  You'd think that with everything going color, the bitmap editor
would get improved somewhere...not a big deal as well, but it would be 
nice.  =)

-Rus

>-Original Message-
>From: Dave Johnson [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 18, 2000 12:25 PM
>To: Palm Developer Forum
>Subject: [OT]Constructor feature request
>
>
>A feature that I would LOVE to see in constructor is a 
>magnified view for 
>laying out forms. whenever forms get more than mildly complex 
>(overlapping objects, for instance, which are hidden and shown 
>dynamically) I find myself leaning in to the monitor and 
>squinting while 
>trying to arrange things.
>
>This is not a huge deal, I've managed so far without it, but it would 
>sure make things more comfortable :-)
>
>Dave Johnson
>
>-- 
>For information on using the Palm Developer Forums, or to 
>unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: Event generated on Palm VII antennae

2000-07-18 Thread Fitzpatrick, Joe

You receive a hardware key press: keyBitAntenna

Defined in KeyMgr.h

Good Luck,
-jjf

-Original Message-
From: Michael Zapeda [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 12:10 PM
To: Palm Developer Forum
Subject: Event generated on Palm VII antennae


Hello,

I was wondering if anyone knows which event is generated when the antennae
is flipped (up or down) on the Palm VII device?

Thanks!

-Michael



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



[OT]Constructor feature request

2000-07-18 Thread Dave Johnson

A feature that I would LOVE to see in constructor is a magnified view for 
laying out forms. whenever forms get more than mildly complex 
(overlapping objects, for instance, which are hidden and shown 
dynamically) I find myself leaning in to the monitor and squinting while 
trying to arrange things.

This is not a huge deal, I've managed so far without it, but it would 
sure make things more comfortable :-)

Dave Johnson

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



DmResizeRecord

2000-07-18 Thread Michael Sealand

Hi All,
Is there anything wrong with this code?  When I run this 
using Codewarrior (I believe it's R6) and the Emulator (3.0a6, 3.3V 
or 3.1V Debug ROM), the debugger activated during DmResizeRecord and 
pops up a dialog box with some random characters in it.  Is there 
something wrong with my code or is there a problem with the 
emulator/codewarrior/palm os?

// Create/Open the DB
theDataRef = DmOpenDatabaseByTypeCreator('pict', 'pTCP', 
dmModeReadWrite | dmModeExclusive);
if(!theDataRef)
{
err = DmGetLastErr();

if(err && err != dmErrDatabaseOpen)
err = DmCreateDatabase(0, "PictData", 'pTCP', 'pict', false);

err = 0;
theDataRef = DmOpenDatabaseByTypeCreator('pict', 'pTCP', 
dmModeReadWrite | dmModeExclusive);
if(!theDataRef)
{
err = DmGetLastErr();
ErrFatalDisplay("Database open/create error");
}
}

// Create a new record
theRecordIndex = dmMaxRecordIndex;
thePictHand = DmNewRecord(theDataRef, &theRecordIndex, theDataMaxSize);
ErrFatalDisplayIf(!thePictHand, "Error creating record");

// Put data in the record
thePictPtr = MemHandleLock(thePictHand);

while(theDataSize > 0)
{
theDataSize = NetLibDmReceive(AppNetRefnum, sock, thePictPtr, 
theDataPos, 512, netIOFlagOutOfBand, NULL, NULL, 0, &err);
theFullDataSize = theFullDataSize + theDataSize;
theDataPos = theDataPos + theDataSize;
if(theDataPos >= theDataMaxSize)
{
theDataMaxSize = theDataMaxSize * 2;
MemHandleUnlock(thePictHand);
// Crashes (?) during next line...
DmResizeRecord(thePictHand, theRecordIndex, theDataMaxSize);
ErrFatalDisplayIf(!thePictHand, "Error resizeing record");
thePictPtr = MemHandleLock(thePictHand);
}
}

MemHandleUnlock(thePictHand);


Thanks in advance,
Michael Sealand
BayNet World, Inc.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: Using OS 3.5 calls...

2000-07-18 Thread David Tribble

I needed color, so I started using it right away.  There isn't too much conditional 
code in my app, and it runs on everything from PalmOS 3.0 to 3.5.

trib
--
David Tribble, Logicon INRI Hawaii
(808) 625 2118 (v)  (808) 625 6315 (f)



-Original Message-
From:   DIAMOND JEFF [SMTP:[EMAIL PROTECTED]]

This is a question that generally applies to all platforms and all OS's,
but I wanted some advice from actual Palm programmers as to how long
they wait before writing to the highest OS.


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Acrobat Distiller

2000-07-18 Thread Kenneth N. Flaxman

> Does anyone know of a program that allows pdf viewing on a Palm?
This does seem off topic, but the best I've found is


-- 
-ken
www.abisoft.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Using OS 3.5 calls...

2000-07-18 Thread DIAMOND JEFF

This is a question that generally applies to all platforms and all OS's,
but I wanted some advice from actual Palm programmers as to how long
they wait before writing to the highest OS.

OS 3.5 has some very nice features I could take advantage of.  But if I
use it more than trivially, I'd have to write a substantially different
version of my code to work on < 3.5 devices.  And once I finished this,
I'd have accomplished the same thing without using 3.5.

Yet, obviously Palm wants us to use their new features...

Any thoughts?

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Event generated on Palm VII antennae

2000-07-18 Thread Michael Zapeda

Hello,

I was wondering if anyone knows which event is generated when the antennae
is flipped (up or down) on the Palm VII device?

Thanks!

-Michael



-- 
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-18 Thread DIAMOND JEFF

Just a warning that Satellite Forms is the most expensive option of them
all.  I haven't checked in awhile but at one point the basic version
cost $599.  There is a trial version but I'm not sure how crippled it
is...

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: INetlib

2000-07-18 Thread Conneely, Shane

try here for sample apps:

http://oasis.palm.com:8080/query.html?col=kb&ht=0&qp=&qc=&pw=100%25&ws=0&la=
&qm=0&st=1&rf=1&oq=&rq=0&si=0&nh=500&lk=2&qp=keywords%3A__C18&qs=keywords%3A
__T7

Shane
_
Shane Conneely
ThinAirApps
www.thinairapps.com


-Original Message-
From: Nickolai Kussovski [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 16, 2000 12:24 PM
To: Palm Developer Forum
Subject: INetlib


Hi,
can anyone tell me where I can find a tutorial or sample program using
INetLib?
Thanks,
Nike


-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Acrobat Distiller

2000-07-18 Thread DIAMOND JEFF

Does anyone know of a program that allows pdf viewing on a Palm?
I wouldn't mind if it translated the file format on the deskstop first.

Stringer wrote:
> 
> This request was obviously a little off topic
> 
> However, I find Acrobat Distiller quite useless.
> When I've tried to use it the PDF file it produces seems a little out
> of focus and, while readable, is not capable of being distributed.
> I'm using Acrobat 4.0.
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Beginner programming - follow-on question

2000-07-18 Thread Richard Hartman

Awww.  He took my response.

Well, I'll just add that I liked the PalmOS "for dummies" book
better than the Bachman book that someone else recommended.

But if you're concerned about your budget, the online Rhodes
book can't be beat.  You may want to buy one anyway, it's easier
to thumb through a "real" book...

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!


McMicken, Steven wrote in message <17722@palm-dev-forum>...
>
>It's online at:
>http://www.palm.com/devzone/docs/pptdg/TableOfContents.htm
>Neil's working on the second edition, you might want to wait until that
>comes out to buy it.
>
>Regards,
>Steve
>
>-Original Message-
>From: Richard Anderson [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 18, 2000 8:45 AM
>To: Palm Developer Forum
>Subject: RE: Beginner programming - follow-on question
>
>
>Get Palm Programming, a developer guide by Rhodes and Mckeehan, its good
>book, and Its the palm recommended text for their course.
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
>> Sent: 18 July 2000 13:22
>> To: Palm Developer Forum
>> Subject: Beginner programming - follow-on question
>>
>> I appreciate everyone's responses to my post.  I think I
>> will check out of couple of the lower cost (free)
>> solutions first to see which works best for me.
>>
>> One last question:  I am going to pick up a Palm
>> programming book and would like suggestions.  I have
>> seen books like "Palm programming from the ground up"
>> and "Learn Palm programming in 24 hours" or something
>> like these.  Any suggestions on books that are easy for
>> a new programmer to follow?
>>
>> Thanks again,
>> Jeff
>>
>> --
>> For information on using the Palm Developer Forums, or to unsubscribe,
>> please see http://www.palmos.com/dev/tech/support/forums/
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Database Display.

2000-07-18 Thread Richard Hartman

Record types in any given database is dependant
solely upon the application that created that database.

There is no general solution to what (I think) you are asking
except a hex dump display of the data found.

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!


Mr. Somnath Kulkarni wrote in message <17693@palm-dev-forum>...
>
>Hi,
>In my application, I am able to display the names
>of the databases present on my palm and open the
>one selected by the user if it is the database created by me.
>
>Now the problem is, I want to open the databases which are downloaded
>randomly from any sight, some records are getting displayed, while some
>are
>not.So is there any concept of types of Records ?. Pointers
Appreciated.
>
>Waiting for reply,
>Thanks in advance.
>
>
>
>
>
>
>
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: MemSet

2000-07-18 Thread McMicken, Steven

If you're trying to set memory to zero, and your using the parameter order
for 'memset', MemSet will act as though it is not doing anything, i.e., set
zero bytes to a value equal to the number of bytes that you wanted to set.

Regards,
Steve

-Original Message-
From: DCU [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 11:43 AM
To: Palm Developer Forum
Subject: MemSet


is the palm function MemSet supposed to do anything?
 I found that it did nothing and I had to write my own function to do what
MemSet is supposed to do.

Thanks,
Kristopher Keller
Data Collections Unlimited
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



CloseEvent

2000-07-18 Thread Andrew Lathrop

Hello. I have another question.
In a form on my app, i am checking to see if a field has data before the
user can continue on.  I am wondering how to stop a frmCloseEvent from
happening.  My code looks like this:
case frmCloseEvent:
  {
   if( FldGetTextLength( getObject( form, InputOneDeviceNameField ) ) == 0 )
   {
FrmAlert( NeedDeviceNameAlert );
FrmGotoForm( InputOneForm );
   }
   else
   file://store any modified fields
   getFields();

  }
  break;

The alert comes up fine, but i can't return control back to the window i
just came from. It always goes to the app launcher.  Any suggestions on how
to keep control in my form?  Thanks
Andrew



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



InetLib problem

2000-07-18 Thread Nickolai Kussovski

Hi,
is there anything wrong with this code? I'll be very thankful to any reply.

INetConfigNameType netconf;

error = SysLibFind("INet.lib", &libRefNum);
 if (error)
  return error;

 MemMove(netconf.name, inetCfgNameDefault, inetConfigNameSize);
 error = INetLibConfigIndexFromName(libRefNum, &netconf, &index);
 if (error)
  return error;

 error = INetLibOpen(libRefNum, index, 0, NULL, 0, &hInet);
 if (error)
 return error;

error = INetLibURLOpen( libRefNum, hInet, _S(http://server), (unsigned
char *)"popo", &hSock, 2000, 0 );

Here when using the emulator I receive the error message:
"StringMgr.c Line 155, NULL string passed"

I can continue with the emulator with
Char szText[256];
StrCopy(szText, "blabla");
 error = INetLibSockHTTPReqCreate(libRefNum, hSock, (unsigned char*)"GET",
(unsigned char*)szText, NULL);

 error = INetLibSockHTTPReqSend(libRefNum, hSock, (unsigned char*)"", 2,
500);

, but it does not work on real device.

Thank in advance,
Nike



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Notification Feature Set - on what devices is it implemented?

2000-07-18 Thread Jim Schram

At 12:41 PM -0500 2000/07/18, Ben Combee wrote:
>Since a lot of Notification Manager could be implemented using a shared
>library and system hacks, is there any possiblity of a version of this being
>made available for pre-PalmOS3.5 devices?  There are a lot of IIIe's, and
>Visors that won't be able to get 3.5 updates, but the library itself is very
>useful.

Nope, sorry. The notification manager requires hooks in places that simply do not 
exist in earlier ROMs.

Regards,

Jim Schram
Palm Incorporated
Partner Engineering


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: INetLibOpen Problems (Causes direct mem accesses)

2000-07-18 Thread Steve Ralph


I need to load lots of bmp's out of sight on the window, loaded in
via constructor, not asscociated with form - how do I
get the pointer so I can actually draw it with  WinBrawBitmap,
can't find an example

Steve Ralph



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Notification Feature Set - on what devices is it implemented?

2000-07-18 Thread Ben Combee

"David Fedor" <[EMAIL PROTECTED]> wrote in message
news:1@palm-dev-forum...
>
> >The Compatibility
> >Guide simply tells me how to determine if the notification manager is
> >present.  What I would like to know is what systems should have the
> >notification manager present by default?
>
> It was new for 3.5.  I think (but this isn't a guarantee) it should be
> present everywhere from 3.5 onwards.

Since a lot of Notification Manager could be implemented using a shared
library and system hacks, is there any possiblity of a version of this being
made available for pre-PalmOS3.5 devices?  There are a lot of IIIe's, and
Visors that won't be able to get 3.5 updates, but the library itself is very
useful.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: MemSet

2000-07-18 Thread Adam Wozniak

"Scott L. Johnson" wrote:

> > From: DCU [mailto:[EMAIL PROTECTED]]
> > is the palm function MemSet supposed to do anything?
> > I found that it did nothing and I had to write my own
> > function to do what MemSet is supposed to do.
>
> MemSet() works exactly as documented.

IMHO this is one of the most broken parts of the API.  Yes, it works
"exactly as documented".  There is however, something commonly known
"broke as designed" (BAD).

The last two parameters are reversed from the standard C library.  I shudder
to think how many hidden bugs are lurking out there because of this.

I'd really like to see this function renamed in some future release of PalmOS.
I think renaming it would prevent some confusion.  MemFlood() ?

--
Adam Wozniak Senior Software Design Engineer
 Surveyor Corporation
[EMAIL PROTECTED]4548 Broad Street
[EMAIL PROTECTED]  San Luis Obispo, CA 93401



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Start

2000-07-18 Thread David Fedor

>In fact, the manual does just say: "[KeyCurrentState()] return bit
>field with bits set for each key that is currently depressed." How
>do I have to interprete "currently"? Does this (a) mean in this very
>moment or (b) while the corresponding event is in the queue?

Use the normal definition of "currently" - that is, it tells you the state
of the keys at the time the function is called.  (In truth it doesn't look
at the hardware in that routine, but it looks at a global variable which
gets updated when keys go up or down and an interrupt is generated.)

It could well be that Pose has a slight deficiency in this area.  But as
Keith could say, the sources are available, and you could fix that for us
all since you seem motivated :-)

-David Fedor
Palm Developer Support



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



SyncReadSysDateTime() & TimGetSeconds()

2000-07-18 Thread petrelis

Hi,
My application gets the time on the Palm using ' TimGetSeconds()'.
The application 's conduit uses ' SyncReadSysDateTime(long & rdate)'.

Normaly this two functions should return the same thing ( ie seconds
since 1/1/1904 ), but this is not case.
' SyncReadSysDateTime' doesn't work. It returns a number xxx xxx xxx
whereas 'TimGetSeconds' returns a number
x xxx xxx xxx.

Where do I do a mistake?

Thanks,
 Mathias.



-- 
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 David Fedor

>I've tried to reverse engineer the PDB format with some small degree of
>success, I just can't seem to read the creation date field right...

Save yourself some effort and just read the docs of the PRC, PDB and PQA
file formats.  It is available at http://www.palmos.com/dev/tech/docs/

-David Fedor
Palm Developer Support



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Notification Feature Set - on what devices is it implemented?

2000-07-18 Thread David Fedor

>The Compatibility
>Guide simply tells me how to determine if the notification manager is
>present.  What I would like to know is what systems should have the
>notification manager present by default?

It was new for 3.5.  I think (but this isn't a guarantee) it should be
present everywhere from 3.5 onwards.

-David Fedor
Palm Developer Support



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: INetLibOpen Problems (Causes direct mem accesses)

2000-07-18 Thread Fitzpatrick, Joe

No, INetLibURLCrack will not properly handle all URLs, especially URLs with
URL encoded vars at the end.  One work around would be to use a post instead
of a get.  The URL http://123.123.123.123/a should not confuse URLCrack.
The arguments u=whoever&p=pass&m=1&n=1 would be passed as extra data in your
INetLibSockHTTPReqSend call.  Regardless of what you set the verb to, this
will result in a url encoded post.

Or, you could just ignore the error.  INetLibURLCrack typically reads past
the end of the block, but it does not appear to write past the end of an
allocated block.  Presumably, at least some PQA exhibit this problem.  I
have always avoided it, but it is probably pretty harmless.

-jjf

-Original Message-
From: Chris DiPierro [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 8:02 AM
To: Fitzpatrick, Joe
Cc: '[EMAIL PROTECTED] '
Subject: RE: INetLibOpen Problems (Causes direct mem accesses)


Hrm...ok, well http://123.123.123.123/ was a white lie in that it's much
simpler than the real URL, but I didn't realize that INetLibURLCrack was
so weak...

I'm really doing things like:

http://123.123.123.123/a?u=whoever&p=pass&m=1&n=2 ... etc etc ...

Can INetLib not always successfully handle this?!?!

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Program size

2000-07-18 Thread Peter Epstein

The launcher reports RAM used for the application + data. It doesn't count ROM used at 
all. So, for applications in ROM, only their data is counted, whereas for applications 
in RAM, both the application and its data is counted. Believe me, you can't write an 
address book application in 1K!
--
Peter Epstein
Palm Inc. Developer


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



DatabaseDirID

2000-07-18 Thread Tom McCormick

Using a Handspring (Palm OS V3.1) and calling MemStoreInfo for the RAM Store
on Card 0 returns, among other things, a LocalID which is supposed to point
to a DatabaseDirType structure. (At least this is the way it works for a ROM
Store.) The LocalID returned for the function is 0x00040127, but this points
near the beginning of the Master Pointer Table; not even properly aligned
with members in the table.

Anyone have any thoughts on this behavior?
Is the database directory structure (DatabaseDirType) in RAM stores
different from ROM stores?

Thomas McCormick
Centennial Technologies
7 Lopez Road
Wilmington, MA 01887
Phone: (978) 805-2147
e-mail: [EMAIL PROTECTED]

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: Program size

2000-07-18 Thread Nesse, Rustin

Program size for a RAM resident application+application dependant
database.  The other pdb's (databases) are usually just listed like 
separate apps.

The reason that the Palm resident app is so much smaller is because
it is located in the flash ROM, not the RAM.

Hope that helps!
-Rus

>-Original Message-
>From: Khanh Tran [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 18, 2000 9:36 AM
>To: Palm Developer Forum
>Subject: Program size
>
>
>Hello,
>
>Sorry for this stupid question but what does the size in the 
>memory info
>window on the Palm refer to (from the Palm pull-down menu 
>App/Info)?  Is
>this the program+data size or is it just the data size?  I 
>recently compiled
>and installed the sample Address book program that came with 
>Metrowerks, it
>takes 64K in memory whereas the Palm-resident one takes only 
>1K.   I've been
>trying several different target settings to reduce the program 
>size but have
>not succeeded so far.  Am I missing something?
>
>TIA,
>Khanh.
>
>
>-- 
>For information on using the Palm Developer Forums, or to 
>unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Program size

2000-07-18 Thread Khanh Tran

Hello,

Sorry for this stupid question but what does the size in the memory info
window on the Palm refer to (from the Palm pull-down menu App/Info)?  Is
this the program+data size or is it just the data size?  I recently compiled
and installed the sample Address book program that came with Metrowerks, it
takes 64K in memory whereas the Palm-resident one takes only 1K.   I've been
trying several different target settings to reduce the program size but have
not succeeded so far.  Am I missing something?

TIA,
Khanh.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: MemSet

2000-07-18 Thread Scott L. Johnson

> From: DCU [mailto:[EMAIL PROTECTED]]
> is the palm function MemSet supposed to do anything?
> I found that it did nothing and I had to write my own 
> function to do what MemSet is supposed to do.

MemSet() works exactly as documented.

-slj-


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: MemSet

2000-07-18 Thread Chris Percival

Carefull with this one, if I remember rightly the commands are in a
different order than what you may be used to. ie. the C runtime function
'memset'.

Chris

DCU <[EMAIL PROTECTED]> wrote in message news:17763@palm-dev-forum...
>
> is the palm function MemSet supposed to do anything?
>  I found that it did nothing and I had to write my own function to do what
> MemSet is supposed to do.
>
> Thanks,
> Kristopher Keller
> Data Collections Unlimited
> [EMAIL PROTECTED]
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: keyboard & graffiti

2000-07-18 Thread Mostapha BOUTERFASS

in keyboard.h, i dont find what i went,
me i went to change keybord  for exemle : default keyboard is qwerty and i
went to change it to azery. so i think, i must define an other keyboard
ressource .. no?
for strok, i went to knouw ho to modifay on Shortcut  ?

- Original Message -
From: Nesse, Rustin <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Tuesday, July 18, 2000 3:37 PM
Subject: RE: keyboard & graffiti


> keyboard.h has what you're looking for as far as a code definition
> of the keyboard resource.  As for strtok, use the String Manager. The
> functions are all defined within the Palm OS Reference, under System
> Management.  Using the old C function strtok has some problems, I
> believe (or it just doesn't work).
>
> -Rus
>
> >-Original Message-
> >From: Mostapha BOUTERFASS [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, July 18, 2000 8:17 AM
> >To: Palm Developer Forum
> >Subject: keyboard & graffit
> >
> >
> >can you tell me where can i find a definition of keyboard ressource
> >and how to change a strok for one gliph ??
> >
> >tanks in advance
> >
> >mostapha bouterfass
> >
> >
> >--
> >For information on using the Palm Developer Forums, or to
> >unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> >
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



MemSet

2000-07-18 Thread DCU

is the palm function MemSet supposed to do anything?
 I found that it did nothing and I had to write my own function to do what
MemSet is supposed to do.

Thanks,
Kristopher Keller
Data Collections Unlimited
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



MathLib, Problem Closing

2000-07-18 Thread Michael Gregoire

Hi,

I hope someone can help me.  I have listed the Tools that I am using,
and code functions opening & closing Mathlib.  I'm new to Palm
Programming and my first goal after the hello world program was to
create some very simple apps that take a few inputs, and calculate a
value.  Things that are simple but useful, and build upon that.

Anyway,  I muddled thru discovering mathlib, and finding out I needed to
update libgcc.a, etc, and finally got my program to open up, take my
inputs and generate the desired output.  Now when I try to exit the
application I get the following error:

With 'MathLibClose(MathLibRef, usecount)' "Application" 1.0 has just
performed an illegal operation.  It performed a "address error".  If
this 

With 'MathLibClose(MathLibRef, &usecount)'"Application" 1.0 has just
performed an illegal operation.  It performed a "bus error".  If this
...

If I comment out the above call,  the error I get is for "Applications"
3.3,  something about trying to access unallocated memory.  I was
expecting some kind of error, since I had a connection opened up, that I
hadn't closed.

Anyway,  I'm wondering if there is an obvious problem in my code that
someone might see, or if I need to make some additional modifications
with the new 3.5 SDK.

Sorry for all the bandwidth,  I'm just trying to give as much info as to
my situation as I can think of, that might be useful.

Michael Gregoire

Tools:
PalmDev - SDK 3.5
PRC-Tools - 2.0
CYGWIN - b20
MathLib - Version 1.01, 23 August 1997, Rick Huebner

Start Code:

static int StartApplication(void)
{
  int error;

  /*  Code to open a link to Math shared library in Palm */
  error = SysLibFind(MathLibName, &MathLibRef);
  if (error)
error = SysLibLoad(LibType, MathLibCreator, &MathLibRef);
  ErrFatalDisplayIf(error, "Can't find MathLib"); // Just an example;
handle it gracefully
  error = MathLibOpen(MathLibRef, MathLibVersion);
  ErrFatalDisplayIf(error, "Can't open MathLib"); 

  error = OpenDatabase();
  if (error) 
return error;

  FrmGotoForm(formID_nav);
  return 0;
}


StopCode:
static void StopApplication(void)
{
  Err error;
  UInt16  usecount = -1;/*  Have also Tried UInt  */

  FldSetTextHandle(fieldptr_text, NULL);
  FldSetTextHandle(fieldptr_hex, NULL);
  FldSetTextHandle(fieldptr_out, NULL);
  DmCloseDatabase(NavDB);

  error = MathLibClose(MathLibRef, usecount); /** Getting Error Here,
with both 
  usecount and &usecount


**/
  ErrFatalDisplayIf(error, "Can't close MathLib");
  if (usecount == 0)
SysLibRemove(MathLibRef); 

}


With 'MathLibClose(MathLibRef, usecount)' "Application" 1.0 has just
performed an illegal operation.  It performed a "address error".  If
this 

With 'MathLibClose(MathLibRef, &usecount)'"Application" 1.0 has just
performed an illegal operation.  It performed a "bus error".  If this
...

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: testing devices

2000-07-18 Thread Adam Wozniak

Heather Gazdik wrote:

> Hi,
>
> I have been asked by our tech support people to recommend some devices for
> testing.
> I have a Palm IIIc and we also have a PalmV.  They will only be testing
> software that we are developing for the 3.5OS.  Does it matter what palm
> device we get.  THey should all test the same if they are running the 3.5OS.
>
> Any suggestion on different types of device to test on.
> Should we get a Handspring model??

AFAIK, the Handsprings are all masked ROM devices, and cannot be upgraded.
Last I checked they were all running OS 3.1

The only other devices you may wish to test for OS3.5 are
IIIxe (ships with 3.5)
IIIx (can be upgraded to 3.5)
VII (can be upgraded to 3.5)

I really don't see a reason to get these devices, though.  Without any knowledge of 
your
specific application, I would guess that the V will behave pretty much the same as the
others for you.  A possible exception is the VII, which only has 2Meg RAM.

--
Adam Wozniak Senior Software Design Engineer
 Surveyor Corporation
[EMAIL PROTECTED]4548 Broad Street
[EMAIL PROTECTED]  San Luis Obispo, CA 93401



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: keyboard & graffiti

2000-07-18 Thread Nesse, Rustin

keyboard.h has what you're looking for as far as a code definition
of the keyboard resource.  As for strtok, use the String Manager. The 
functions are all defined within the Palm OS Reference, under System
Management.  Using the old C function strtok has some problems, I 
believe (or it just doesn't work).  

-Rus

>-Original Message-
>From: Mostapha BOUTERFASS [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 18, 2000 8:17 AM
>To: Palm Developer Forum
>Subject: keyboard & graffit
>
>
>can you tell me where can i find a definition of keyboard ressource 
>and how to change a strok for one gliph ??
>
>tanks in advance
>
>mostapha bouterfass 
>
>
>-- 
>For information on using the Palm Developer Forums, or to 
>unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: CPU usage and Constructor

2000-07-18 Thread Dave Lippincott

1,5,0,9
the about has 1.5b6
I should have said it not 100% all the time but oscillates between 81% and
100% (staying mostly at 100%), never going below 81% when active.  My CPU
usage before loading constructor is less than 10%.

- Original Message -
From: "Chris Percival" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, July 18, 2000 11:21 AM
Subject: Re: CPU usage and Constructor


> Mine is OK?  Constructor version 1.5b5.
>
>
> Dave Lippincott <[EMAIL PROTECTED]> wrote in message
> news:17752@palm-dev-forum...
> >
> > Its an old bug that's getting older. (and tiresome)  I've got the Update
> > installed and my CPU monitor registers 100% usage when constructor is
> > running.
> >
> > Win98 128MB
> >
> > - Original Message -
> > From: "Heather Tufts" <[EMAIL PROTECTED]>
> > To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> > Sent: Tuesday, July 18, 2000 10:03 AM
> > Subject: RE: CPU usage and Constructor
> >
> >
> > > > When I leave constructor open, my system performance goes way
> > > > down.  My CPU
> > > > usage jumps to 100% whenever Constructor is open and slows
> > > > Windows down
> > > > greatly.
> > >
> > > This is an old bug that has been fixed (I assume you are using
> Constructor
> > > 1.2).  To get the fixed Constructor, download the 3.5 SDK and Update 1
> > > available at http://www.palmos.com/dev/tech/tools/sdk35.cgi/.
> > >
> > > -hkmlt
> > >
> > > --
> > > For information on using the Palm Developer Forums, or to unsubscribe,
> > please see http://www.palmos.com/dev/tech/support/forums/
> > >
> >
> >
> >
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: CPU usage and Constructor

2000-07-18 Thread Chris Percival

Mine is OK?  Constructor version 1.5b5.


Dave Lippincott <[EMAIL PROTECTED]> wrote in message
news:17752@palm-dev-forum...
>
> Its an old bug that's getting older. (and tiresome)  I've got the Update
> installed and my CPU monitor registers 100% usage when constructor is
> running.
>
> Win98 128MB
>
> - Original Message -
> From: "Heather Tufts" <[EMAIL PROTECTED]>
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Tuesday, July 18, 2000 10:03 AM
> Subject: RE: CPU usage and Constructor
>
>
> > > When I leave constructor open, my system performance goes way
> > > down.  My CPU
> > > usage jumps to 100% whenever Constructor is open and slows
> > > Windows down
> > > greatly.
> >
> > This is an old bug that has been fixed (I assume you are using
Constructor
> > 1.2).  To get the fixed Constructor, download the 3.5 SDK and Update 1
> > available at http://www.palmos.com/dev/tech/tools/sdk35.cgi/.
> >
> > -hkmlt
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> >
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



keyboard & graffit

2000-07-18 Thread Mostapha BOUTERFASS

can you tell me where can i find a definition of keyboard ressource 
and how to change a strok for one gliph ??

tanks in advance

mostapha bouterfass 


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: CPU usage and Constructor

2000-07-18 Thread Dave Lippincott

Its an old bug that's getting older. (and tiresome)  I've got the Update
installed and my CPU monitor registers 100% usage when constructor is
running.

Win98 128MB

- Original Message -
From: "Heather Tufts" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, July 18, 2000 10:03 AM
Subject: RE: CPU usage and Constructor


> > When I leave constructor open, my system performance goes way
> > down.  My CPU
> > usage jumps to 100% whenever Constructor is open and slows
> > Windows down
> > greatly.
>
> This is an old bug that has been fixed (I assume you are using Constructor
> 1.2).  To get the fixed Constructor, download the 3.5 SDK and Update 1
> available at http://www.palmos.com/dev/tech/tools/sdk35.cgi/.
>
> -hkmlt
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: HotSync User Name string

2000-07-18 Thread Richard Burmeister

- Original Message -
From: "Danko Radic" <[EMAIL PROTECTED]>
Subject: Re: HotSync User Name string


> But, I managed to find DlkGetSyncInfo()
> definition in CW Incs\System\DLServer.h. I wonder why keeping
> such things undocumented...

It's not really undocumented.  There is an article in the Knowledge Base
about using DlkGetSyncInfo() to obtain the HotSync user name.  (When it's
up, the KB is a great place to find answers to common questions!)  Maybe
Palm decided to not include DlkGetSyncInfo in the OS reference doc because
it really has to do with the API for synching.  I haven't looked, but I
wouldn't be too surprised to find it documented somewhere in the conduit
docs as well.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



  1   2   >