RE: QUAKE - was Re: garmin PDA now shipping

2003-07-25 Thread Agus Silas
Yeah..., they should add GSM/GPRS functionality and it would be a killing
stuff.

Regards,
Agus Silas
BST Technologies
http://www.bst-technologies.com/
**
**

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Paul
Johnson
Envoyé : vendredi 25 juillet 2003 00:06
À : Palm Developer Forum
Objet : QUAKE - was Re: garmin PDA now shipping

I can't wait for the day when we get realtime (ok, once a month) updated
maps featuring all building locations - shops, houses etc., road dimensions,
position of every lamp-post etc.etc.  It's all there on various servers -
even down to the internal blueprints of all public and some private
buildings.

What a wicked game of quake you could make with maps like that!  Version 2
could use sattelite overhead imagery and smart painting tools to texture all
the outsides of stuff too!!

btw, GPS simulation on your desktop development machine is real easy to do.
Just ask "Please input lat/long coords" in the setup routine and your highly
imobile desktop clunker will give exact location information forever more :)

OK, tired and bored!  g'night.. :)

Regards,
Paul Johnson
Applewood House
www.applewoodhouse.com


- Original Message -
From: "Brian Smith" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 8:20 PM
Subject: Re: garmin PDA now shipping


> On Thu, 24 Jul 2003, Hal Mueller wrote:
>
> > http://www.garmin.com/products/iQue3600/ and other network sources
> > report that the Garmin iQue 3600 is now shipping.
>
> Now if only they'll get the SDK out... preferrably with a custom simulator
> :-)
>
> --
> ---
> Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
> Software Developer  //  Gamer  //   Webmaster  //  System Administrator
> He who laughs last, thinks slowest.
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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


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


Re: Where to obtain latest Constructor & Desktop Software...

2003-07-25 Thread Ben Combee
At 06:56 PM 7/24/2003, Jeff Diamond wrote:
OK, this is quite the beginner type of question, and I used to be able to 
find these items, but I can't find them anymore.
Could anyone please direct me where to download the latest version of 
Constructor and the latest PalmOS Desktop Software?
Constructor 1.9 is part of the Palm OS SDK R2 download from 
palmsource.com's tools section.  The current Palm Desktop (4.1 SP3) is 
available from the download section of palm.com.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

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


Multiple sync using USB fail

2003-07-25 Thread apple k
Hi,

I understand that only one synchronization can be
occurred for a palm. I have used the serial
quad-cradle
with 4 palms synchronization, it runs ok where the
synchronization takes places after one another if I
trigger the Palm Hotsync at the same time WITHOUT
waiting the completion of the first or second or
whichever.
However, it fails if using the USB hub in the sense
that i couldn't trigger the Palm HotSync at the same
time. I have to wait the completion of the first palm
sync before triggering the second Palm Hotsync. The
error given me on the dekstop (Win2k) is " System
Setting Change" as I need to reboot the system. This
may be the other unknown USB detected(where the second
Palm Hotsync triggered) and cause me this error. 

Do you have any idea of this? Any comments are very
much welcome. Thank you !




__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Re: Reading PDB created on Sattelite Forms

2003-07-25 Thread Jim Cooper

> The UInt8 seems to be the lenght of the string that comes next. 

Yes.

> I couldn't retrieve the value of the rows the I inserted with Sattelite.

IIRC, numbers and dates are stored as strings in SF databases, but as
Dave said, the definitive answer is on their website. The relevant part
of the website takes a bit of searching out - I always have trouble when
I go there as well :-) Somewhere in the SF database there is also some
metadata, BTW

Cheers,
Jim Cooper



Jim Cooper  [EMAIL PROTECTED]
Tabdee Ltd  http://www.tabdee.ltd.uk

TurboSync - Connecting Delphi with your Palm


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


Movable vs nonmovable memory chunks

2003-07-25 Thread Laurens
Hi,

I'm trying to get a feel for when to allocate a movable or a nonmovable
memory chunk. The Palm OS Companion says this: "Applications need
to store data in movable chunks whenever feasible, thereby enabling the
Memory Manager to move chunks as necessary to create contiguous free
space in memory for allocation requests."
The advice is clear enough. However, I want to use C++ classes in my
application and the problem is that if you instantiate a class using
the  operator you allocate a nonmovable chunk of memory. (You 
obtain a pointer when using , similar to MemPtrNew(), so the chunk 
must be nonmovable.)

MyClass *obj = new MyClass(); // Pointer to nonmovable chunk

As far as I can see, using C++ classes, and specifically the  
operator, automatically causes your application to use memory in a less 
flexible manner. So should I think twice before using classes in my 
application? Are nonmovable chunks really bad to use?

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


the pam is crashed when HotSync?

2003-07-25 Thread Sean Yang
Hi,

I wrote a application, it used 2 databases that have the same create id with
the application, but when hotsync, my application will crash the palm at
'Clearing up, please wait...'. In the
simulator, I got the error message(pls look the accessories):

I have tried to check my codes and complie options, but I still cannot find
the reason.

Could you help me?

Thanks!

Sean Yang
Jul, 25, 2003


begin 666 palm_hotsync_error.jpg
[EMAIL PROTECTED]@%`!([EMAIL PROTECTED]<[EMAIL PROTECTED]
M`#([EMAIL PROTECTED]@```!,"`P`!`0```&F'! `!>@!!0T0@
M4WES=&5M&[EMAIL PROTECTED],F*2HM+2T;(3$T
M,2LT*"PM*P$+"PL/#0\>$1$>0"LD*T! 0$! 0$! 0$! 0$! 0$! 0$! 0$! 
M0$! 0$! 0$! 0$! 0$! 0$! 0$! 0$! 0$! _\0`O0`!``(#`0$!
M``4&`P0'[EMAIL PROTECTED]($ `!`P,"`@,("[EMAIL PROTECTED]" 
0%!0`!`@,$``41!A(3(10B,0<5
M0516DI32%B,R,U%AB-_57E6SWVMWYPB?/)^NG?:W?G")\\GZZUO8MI_P#,5J]$;^JGL6T_^8K5
MZ(W]5!GO-WN+.I(UIMB+Q)\!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Y"R94>WLMM)DH4G:M"NKR"DX!*=JN0PH5)OP(DM!A_>V%<5L;L
M(5GM3UU2J_I2+Z].^.HO)5?TI%]>F0X_\`LH_X0(/\TL?K
M+KHNO[;9;IW -',ZCOW>**EF"M$GH:Y.Y?15`(VH.1D$G/\`X?CKG7[*/^$"
M#_-+'ZRZC-;]U'V4=S:RZ3[S]%[U<#[JZ3OXO#:4W[C8,[EMAIL PROTECTED]
M)A84U_#3+.(=8T!;;+:^X!K%G3E^[^Q5,SEKD]#7&VKZ*D%&U9R<``Y^/XJB
M],=S;05DT+I>?JNW3+O,U'(C,MNMNK;#2Y"=R$[4K2-B0.9YDG)[" .=Z([J
M/L7[FUZTGWGZ5WUX_P!U=)V<+B-);]QL.<;<]HSVD9`6,'&/#DF7X?B(FW+GWG>(F>QE*0N&EM/]SK
M]D'9X"+>Y@M.2%-F ZN0$I5N&2X$%!P%=H4 22,F4_9/WC3L/4B85
MTTOWQN;UI'1KEWP<:Z/E;H3[6D;5;595S[Z1==1]T.+JQ]F.V]!>:
M7#C$90TAM>]"%$8*N9))Y9R<8& +!W0NZIIW7'%DW30O[9]$5&C3.^[GM'NB
ME6Q*`E6%*)P>WLK2,#$YZ7O$SE'?*?\`["Y3G#HFB;OISNL]R:-HF5<'+3=(
ML=J,EGCX4XII'4<2G(#J,(RI'@QX,)77/['H&[EMAIL PROTECTED]&R&^V\
MXV%%:L-.80=P)4DME). 5$Y(`)C](:^T=IMRVS&^YVW(ND%"#TQR[N$+="<%
[EMAIL PROTECTED]&.J<8[ :A];ZGN_=1UTU(5';$B4M$.#$;(`;25'8C<<9.Y1)4<<
MR>P8`N'@XE;VB,XI.>W:?64D1+IDWN1V71MRU?J#5<#I>FH+(7:HW&6CCK<(
M*4;D+*T[5

Re: Multiple sync using USB fail

2003-07-25 Thread Paul Johnson
No help here, but I can confirm a similar problem. I have a little 4 port
hub and I'd dearly love to be able to selectively talk to either of my 2
palms or 2 pocketpcs at will, ideally without continually pulling
cables/wearing out the connectors/occasionally needing to reboot to
recognise them etc.

Ah well, maybe in the 22nd century..


Regards,
Paul Johnson
Applewood House
www.applewoodhouse.com


- Original Message -
From: "apple k" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 8:53 AM
Subject: Multiple sync using USB fail


> Hi,
>
> I understand that only one synchronization can be
> occurred for a palm. I have used the serial
> quad-cradle
> with 4 palms synchronization, it runs ok where the
> synchronization takes places after one another if I
> trigger the Palm Hotsync at the same time WITHOUT
> waiting the completion of the first or second or
> whichever.
> However, it fails if using the USB hub in the sense
> that i couldn't trigger the Palm HotSync at the same
> time. I have to wait the completion of the first palm
> sync before triggering the second Palm Hotsync. The
> error given me on the dekstop (Win2k) is " System
> Setting Change" as I need to reboot the system. This
> may be the other unknown USB detected(where the second
> Palm Hotsync triggered) and cause me this error.
>
> Do you have any idea of this? Any comments are very
> much welcome. Thank you !
>
>
>
>
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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


very strange problem

2003-07-25 Thread Kaloyan Donev
Hello,

I have very strange problem on Tungsten T device. My application
give me this error when it starts for the first time: "Emul68KMain.c,
Line:456, line  exception at address 001B142C". Then I reset the
device and there is no more problem. I try to reset device after hotsync
the application and it runs fine without giving me the error. Then I try
to debug the application on device and there is no error. Well I try to
set device to debug mode (shortcut ..2) and then start my app and it
works fine. Of course I hard reset the device before every try and sync
with a new user. But this error appears every time I delete application
from device and install it again and run it.

If anyone knows what this error means (may be people from Palm)
please tell me.

Any help will be useful.
Thanks in advance.
Kaloyan Donev





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


Test, sorry!

2003-07-25 Thread Martin Vuille
Test

-- 
Do not send e-mail to the above address. I do not read e-mail sent there.

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


Copyright symbol

2003-07-25 Thread Ralph Curtis
Is there a copyright symbol included in one of the Palm fonts? If so, I
haven't found it. Can someone point me to it?



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


Re: Copyright symbol

2003-07-25 Thread Mike McCollister
Ralph,

Sure, just use this:

©

Mike

--- Ralph Curtis <[EMAIL PROTECTED]> wrote:
> Is there a copyright symbol included in one of the Palm fonts? If so, I
> haven't found it. Can someone point me to it?
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please
> see http://www.palmos.com/dev/support/forums/


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


RE: Copyright symbol

2003-07-25 Thread steve
169 or 0xA9 or chrCopyrightSign...

the latest the best.

Steve Van der Hoeven

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ralph
Curtis
Sent: Friday, July 25, 2003 1:04 PM
To: Palm Developer Forum
Subject: Copyright symbol

Is there a copyright symbol included in one of the Palm fonts? If so, I
haven't found it. Can someone point me to it?



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



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


open a Url form a plam app without calling the viewer.

2003-07-25 Thread Alexandre Barreto
Hi,
i'm trying to make  aprogram that will send data to ASP pages..
i can do that using the viewr
but with the viewr i get locked on it until the user clicks on the back 
buton..

is there a way to open the ASp sending the parameters from the aplicatiion 
withou the viewer?

or maybe a way to go back in the viewer or switch to may app without the 
user have to tap anything?

i'm trying the following right now to acesse without opening the viewer... 
but nothing happens

FormPtr frmP;
UInt16 cardNo;
LocalID dbID;
UInt32 creator;
int prefs;
int Newprefs;
UInt16 prefsSize;
Int16 version;
UInt16 prefID=0;
Err err;
UInt16 libRefNum;
UInt16 indexP;
MemHandle inetH;
MemHandle *sockHP;
INetConfigNameType InetCfgName;
Char *url;
Char *buffer;
UInt32 actBytesP = 0;
  url = (char*)MemPtrNew(200);
	StrCopy(url,"http://theurl.com.br/thepage.asp";);
	err = SysLibFind("INet.lib", &libRefNum);
	StrCopy(InetCfgName.name,inetCfgNameDefault);
	err = INetLibConfigIndexFromName (libRefNum,&InetCfgName, &indexP);
	err = INetLibOpen (libRefNum, indexP,0, NULL,NULL, &inetH);
	err = INetLibURLOpen (libRefNum,inetH,(unsigned char*)url,NULL, 
sockHP,evtWaitForever,0);
	err = INetLibClose (libRefNum,inetH);



thnx a lot

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: conversion constant for time from palm to windows

2003-07-25 Thread Dave Lippincott
On the PC/conduit side, you can use TZset to alter the timezone your app
sees to UTC (GMT).  This will eliminate the PC's auto correction for the
local time zone without affecting the entire OS.

- Original Message -
From: "Brian Smith" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 6:00 PM
Subject: Re: conversion constant for time from palm to windows


> On Thu, 24 Jul 2003, Dawn Margerum wrote:
>
> > Can somebody give me the constant i need to use to convert a palm time
> > (ie TimGetSeconds()) to its windows equivalent?
>
> 2082844800
>
> The thing to keep in mind, though, is that TimGetSeconds() isn't GMT,
> while the equivalent function under Windows is.
>
> --
> ---
> Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
> Software Developer  //  Gamer  //   Webmaster  //  System Administrator
> "What I like about deadlines is the lovely whooshing sound they make
>  as they rush past." --Douglas Adams
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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


Re: Install application

2003-07-25 Thread Dave Lippincott
A newer app with completely overwrite the older app provided they have the
same PRC file name.  Thus there is no need to delete an older version of
your app.  Data is a different matter.  If you need to delete an older DB in
lieu of a newer format, just installing the new file (again, as long as it
has the same name as the original PDB file) will overwrite the old one.  If
you have a different PDB data file that will not over write the old one,
then have your app look for and delete the older PDB every time it starts
up.  (or you can be slick and have your app respond to the post-hotsync or
reset message and delete your older data file only during that time)

If you are using some 'custom' serial app to receive the new file (not
hotsync), pass the new file through the exchange manager (as if you were
beaming the file).  This will enforce the same rules as if you had performed
a hotsync and installed the file that way.

- Original Message -
From: "M. Paramasivan " <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 12:20 AM
Subject: Install application


> Hi,
>
> I want to delete the existing version of the application and
> install a new version of the application programmatically from an
> application in a PC(Windows) through serial or socket or cradle
> communication.
>
> My application in the PC would check the version number of the
> Palm, application. If the version number is old then it need to
> delete the older version application and install the newer version
>  from the PC application itself programmatically.
>
> Regards,
> Paramasivan
> ___
> Download the hottest & happening ringtones here!
> OR SMS: Top tone to 7333
> Click here now:
> http://sms.rediff.com/cgi-bin/ringtone/ringhome.pl
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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


Re: the pam is crashed when HotSync?

2003-07-25 Thread Dave Lippincott
Is your app responding to the sysAppLaunchCmdSyncNotify?  Make sure it is
not doing something forbidden during that time. (access globals, etc)

- Original Message -
From: "Sean Yang" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 4:40 AM
Subject: the pam is crashed when HotSync?


> Hi,
>
> I wrote a application, it used 2 databases that have the same create id
with
> the application, but when hotsync, my application will crash the palm at
> 'Clearing up, please wait...'. In the
> simulator, I got the error message(pls look the accessories):
>
> I have tried to check my codes and complie options, but I still cannot
find
> the reason.
>
> Could you help me?
>
> Thanks!
>
> Sean Yang
> Jul, 25, 2003
>
>
>






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


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


Re: Install application

2003-07-25 Thread M. Paramasivan
Hi Dave,

Thank you. Let me check and get back to you.
If I have any queries.
Regards,
Paramasivan
- Original Message -
From:  "Dave Lippincott" <[EMAIL PROTECTED]>
Date:  Fri Jul 25, 2003  6:49 pm
Subject:  Re: Install application
A newer app with completely overwrite the older app provided they 
have the
same PRC file name. Thus there is no need to delete an older 
version of
your app. Data is a different matter. If you need to delete an 
older DB in
lieu of a newer format, just installing the new file (again, as 
long as it
has the same name as the original PDB file) will overwrite the old 
one. If
you have a different PDB data file that will not over write the 
old one,
then have your app look for and delete the older PDB every time it 
starts
up. (or you can be slick and have your app respond to the 
post-hotsync or
reset message and delete your older data file only during that 
time)

If you are using some 'custom' serial app to receive the new file 
(not
hotsync), pass the new file through the exchange manager (as if 
you were
beaming the file). This will enforce the same rules as if you had 
performed
a hotsync and installed the file that way.

Regards,
M. Paramasivan
___
Download the hottest & happening ringtones here!
OR SMS: Top tone to 7333
Click here now: 
http://sms.rediff.com/cgi-bin/ringtone/ringhome.pl



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


RE: QUAKE - was Re: garmin PDA now shipping

2003-07-25 Thread Eric Cloninger
Having killed a Palm V while out geocaching, I would hope that the iQue
is waterproof like a vista and not "waterproof" like a Palm V.  I'm
guessing it's not, given the hard buttons and the microphone.  802.11
would be nice so I could get the hints for a geocache while in the wild.


I didn't see how many waypoints it would store.  I would hope it would
be more than the 500 or so they put on their consumer GPSRs.

-E

-Original Message-
From: Agus Silas [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 25, 2003 2:23 AM
To: Palm Developer Forum
Subject: RE: QUAKE - was Re: garmin PDA now shipping


Yeah..., they should add GSM/GPRS functionality and it would be a
killing stuff.

Regards,
Agus Silas
BST Technologies
http://www.bst-technologies.com/
**
**

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Paul
Johnson Envoyé : vendredi 25 juillet 2003 00:06 À : Palm Developer Forum
Objet : QUAKE - was Re: garmin PDA now shipping

I can't wait for the day when we get realtime (ok, once a month) updated
maps featuring all building locations - shops, houses etc., road
dimensions, position of every lamp-post etc.etc.  It's all there on
various servers - even down to the internal blueprints of all public and
some private buildings.

What a wicked game of quake you could make with maps like that!  Version
2 could use sattelite overhead imagery and smart painting tools to
texture all the outsides of stuff too!!

btw, GPS simulation on your desktop development machine is real easy to
do. Just ask "Please input lat/long coords" in the setup routine and
your highly imobile desktop clunker will give exact location information
forever more :)

OK, tired and bored!  g'night.. :)

Regards,
Paul Johnson
Applewood House
www.applewoodhouse.com


- Original Message -
From: "Brian Smith" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, July 24, 2003 8:20 PM
Subject: Re: garmin PDA now shipping


> On Thu, 24 Jul 2003, Hal Mueller wrote:
>
> > http://www.garmin.com/products/iQue3600/ and other network sources 
> > report that the Garmin iQue 3600 is now shipping.
>
> Now if only they'll get the SDK out... preferrably with a custom 
> simulator
> :-)
>
> --
> --
> -
> Brian Smith // avalon73 at arthurian dot nu //
http://www.arthurian.nu/
> Software Developer  //  Gamer  //   Webmaster  //  System
Administrator
> He who laughs last, thinks slowest.
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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


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




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


Re: very strange problem

2003-07-25 Thread Paul Nevai
Re: "Emul68KMain.c, Line:456, line  exception at address 001B142C"

Try it on a Tungsten C. IMHO any crash on the TT which does not happen on the
TC is an OS bug [well, this may be an overstatement but I am just trying to
get a message across].

However, you may be able to fix your application by figuring out what
particular bug of the TT OS is causing the crash.

I found that the TC is a tremendous improvement over the TT. OS 5.0 vs 5.2.1.

/PaulN

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


Re: Copyright symbol

2003-07-25 Thread Ralph Curtis
I must be even denser than normal today...

I didn't think to edit my resource label in hex.Too simple, too easy, too
obvious?

Thanks.

"steve" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> 169 or 0xA9 or chrCopyrightSign...
>
> the latest the best.
>
> Steve Van der Hoeven
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ralph
> Curtis
> Sent: Friday, July 25, 2003 1:04 PM
> To: Palm Developer Forum
> Subject: Copyright symbol
>
> Is there a copyright symbol included in one of the Palm fonts? If so, I
> haven't found it. Can someone point me to it?
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
>
>
>
>



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


convert #define number to const char*

2003-07-25 Thread German Carizza
Hi,

I have this constant, #define CAT_CONTROL   7

I want to convert CAT_CONTROL to const char * and I don't want to do this:

char cAux[2];
itoa(CAT_CONTROL ,cAux,10);

I try to use a preprocessor operator:

#define STR(x) #x

But that doesn't work, because I obtain "CAT_CONTROL" like result.

Any help would be greatly.

Best Regards,
German

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


Re: overlay help

2003-07-25 Thread Ken Krugler
Does anyone know, why I get this error message, when I load the
enUS overlay near my (Hungarian) application?:
OverlayMgr.c, Line:679, myapp_enUS: Overlay resource has invalid
overlayType.
I tried to get answer for this question a few days ago at this list
with this subject:
overlay resource has invalid overlayType

But I did not get any answer. Nobody knows it?
The Overlay Mgr will report this error on debug ROMs if the 'ovly' 
resource inside of an overlay PRC has an entry with an invalid 
overlayType. The overlayType should be either "replace" or "add".

My guess is that somehow you managed to create an overlay PRC with an 
'ovly' resource that's actually meant to be in the base PRC. A base 
PRC has an (optional) 'ovly' resource with every entry's type set to 
"base".

I'd previously forwarded your original email to the PRC2OVL tool 
developer, but I haven't heard back from him yet. In the meantime, if 
you email me your base app and the overlay PRC, I can try to figure 
out what went wrong.

-- Ken
--
Ken Krugler
TransPac Software, Inc.

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


Re: Movable vs nonmovable memory chunks

2003-07-25 Thread Ben Combee
At 03:12 AM 7/25/2003, Laurens wrote:
As far as I can see, using C++ classes, and specifically the  
operator, automatically causes your application to use memory in a less 
flexible manner. So should I think twice before using classes in my 
application? Are nonmovable chunks really bad to use?
Classes are OK, but if your class stores a large amount of data, it is 
better to have the class hold handles, and have the class internally 
allocate a handle to the data on creation.  Then, you'll only be 
MemPtrNew'ing a small amount of memory, and the larger chunk of memory will 
be in an unlocked handle for which the class will control access.

Also, non-movable chunks aren't as bad in Palm OS 3 and higher as they were 
before, and on current OS 5 devices, the heap space is large enough to 
allow a bit more flexibility.  Also, allocating a handle and then leaving 
it locked for its entire life is considered worse than just allocating a 
pointer directly, as the OS expects that handles will generally be unlocked 
and movable.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

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


Re: convert #define number to const char*

2003-07-25 Thread Bob Withers
You need two levels, i.e.

#define CAT_CONTROL 7

#define STR1(x) #x
#define STR(x)  STR1(x)
printf("%s", STR(CAT_CONTROL));

Bob

At 11:36 AM 7/25/2003 -0300, you wrote:
Hi,

I have this constant, #define CAT_CONTROL   7

I want to convert CAT_CONTROL to const char * and I don't want to do this:

char cAux[2];
itoa(CAT_CONTROL ,cAux,10);
I try to use a preprocessor operator:

#define STR(x) #x

But that doesn't work, because I obtain "CAT_CONTROL" like result.

Any help would be greatly.

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


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


Re: convert #define number to const char*

2003-07-25 Thread Chris Olson
Or you can do this:

const char* cat_control[2] = { CAT_CONTROL + '0', '\0' };

although this only works with single digit values ... :-)

Chris

Bob Withers wrote:

You need two levels, i.e.

#define CAT_CONTROL 7

#define STR1(x) #x
#define STR(x)  STR1(x)
printf("%s", STR(CAT_CONTROL));

Bob

At 11:36 AM 7/25/2003 -0300, you wrote:

Hi,

I have this constant, #define CAT_CONTROL   7

I want to convert CAT_CONTROL to const char * and I don't want to do 
this:

char cAux[2];
itoa(CAT_CONTROL ,cAux,10);
I try to use a preprocessor operator:

#define STR(x) #x

But that doesn't work, because I obtain "CAT_CONTROL" like result.

Any help would be greatly.

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





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


Problems with PDB convertion

2003-07-25 Thread rguevara
Hi, I have the follow message at convert a Pdb to csv file

./pdb2csv: unable to determine database type

I use this IFO file:

-t "CLientesDB"
-f cod,string
-f nom,string
-f sal,string

and execute with:
  ./pdb2csv clientes.pdb clientes.csv cli.ifo

Please help me.
--
Open WebMail Project (http://openwebmail.org)

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


RE: convert #define number to const char*

2003-07-25 Thread German Carizza
Thanks for your answer Bob, but I have a little problem becouse with #define
STR1(x) #x the statement becomes "#7"

I tired:

#define STR1(x)  [EMAIL PROTECTED]

It's works fine but only with single digit values.
And '7' isn't a const char *   :-(

Can you help me?

Thanks again.
German 

-Mensaje original-
De: Bob Withers [mailto:[EMAIL PROTECTED]
Enviado el: Viernes, 25 de Julio de 2003 12:02 p.m.
Para: Palm Developer Forum
Asunto: Re: convert #define number to const char*


You need two levels, i.e.

#define CAT_CONTROL 7

#define STR1(x) #x
#define STR(x)  STR1(x)

printf("%s", STR(CAT_CONTROL));

Bob

At 11:36 AM 7/25/2003 -0300, you wrote:
>Hi,
>
>I have this constant, #define CAT_CONTROL   7
>
>I want to convert CAT_CONTROL to const char * and I don't want to do this:
>
>char cAux[2];
>itoa(CAT_CONTROL ,cAux,10);
>
>I try to use a preprocessor operator:
>
>#define STR(x) #x
>
>But that doesn't work, because I obtain "CAT_CONTROL" like result.
>
>Any help would be greatly.
>
>Best Regards,
>German
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, 
>please see http://www.palmos.com/dev/support/forums/


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

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


Connector

2003-07-25 Thread William Woodbury
Not sure this list is the best place for this question but I have been
trying to find out the answer for days from everywhere i can think of.  I
sent this message to palm and they told me to try here

"Hello,
I am trying to find out the exact type of connection that your products use
to attach keyboards and other peripherals.
The reason for this is that I am trying to develop a keyboard for the
Gamepark 32 (http://english.gamepark.com/), and am trying to find a keyboard
which uses a plug with part id 3050-18P-0.5HTBD, made by HYUP JIN I&C Co.,
Ltd.

(info page: http://www.hyupjininc.com/eng/product/3050_1802pin.htm bottom
plug shown).
Basically the plug is 18pin, 2 keys, flat layout.  Do any of your handhelds
use these connectors?

I have emailed the company that make the keyboards that are compatible with
your handheld products (http://www.thinkoutside.com) asking for the
connector type they use but without reply.
 ... "

What i am really trying to find out is if the connector on the peripheral
keyboards that fit the palm handhelds are going to fit onto my gp32 so i can
write drivers for them. I tried asking the keyboard manufacturers and was
studiously ignored. So i tried emailing palm and they said to come here.
somebody please help me!
--
William Woodbury
  Artem-digital data processor, animator,
  programmer, tea maker.
www.artem-digital.com


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


RE: convert #define number to const char*

2003-07-25 Thread Sudheer

We have come across an  error while opening a database. Error:"MemoryMgr.
New.c, line 4866 Chunk Under Locked .Our application has DB OPen and Db
Close Traps Handling.  Please give your suggestions to resolve this.An early
response is highly appreciated.


Regards

B.Sudheer Kumar
Senior Manager
VisualSoft Technologies Ltd.
http://www.visualsoft-tech.com 
http://www.visualmart.com 
http://www.visualsafe.com 
http://www.visualsoftapps.com 




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of German
Carizza
Sent: Friday, July 25, 2003 9:21 PM
To: Palm Developer Forum
Subject: RE: convert #define number to const char*


Thanks for your answer Bob, but I have a little problem becouse with #define
STR1(x) #x the statement becomes "#7"

I tired:

#define STR1(x)  [EMAIL PROTECTED]

It's works fine but only with single digit values.
And '7' isn't a const char *   :-(

Can you help me?

Thanks again.
German

-Mensaje original-
De: Bob Withers [mailto:[EMAIL PROTECTED]
Enviado el: Viernes, 25 de Julio de 2003 12:02 p.m.
Para: Palm Developer Forum
Asunto: Re: convert #define number to const char*


You need two levels, i.e.

#define CAT_CONTROL 7

#define STR1(x) #x
#define STR(x)  STR1(x)

printf("%s", STR(CAT_CONTROL));

Bob

At 11:36 AM 7/25/2003 -0300, you wrote:
>Hi,
>
>I have this constant, #define CAT_CONTROL   7
>
>I want to convert CAT_CONTROL to const char * and I don't want to do this:
>
>char cAux[2];
>itoa(CAT_CONTROL ,cAux,10);
>
>I try to use a preprocessor operator:
>
>#define STR(x) #x
>
>But that doesn't work, because I obtain "CAT_CONTROL" like result.
>
>Any help would be greatly.
>
>Best Regards,
>German
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/support/forums/


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

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


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


Using the SysGetRomToken function to retrieve the serial number

2003-07-25 Thread Gary Globus
I have tried using this function and have even downloaded the code example 
given in the Companion manual. On all Palm devices that I have tried this 
on I get no return value even though I can get an actual number through the 
operating system screen menu. The question is has anyone used this function 
successfully to retrieve the serial number or is there a better way to get 
this say in assembler code? If anyone has used it successfully I'd 
appreciate a snippet of the code so I can see what it is that I am doing wrong.



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


RE: convert #define number to const char*

2003-07-25 Thread Bob Withers
#define CAT_CONTROL 7
#define STR1(x) #x
#define STR(x) STR1(x)
int main(void)
{
printf("The value is %s\n", STR(CAT_CONTROL));
return(0);
}
When I run this I get:

The value is 7

Bob



At 12:50 PM 7/25/2003 -0300, you wrote:
Thanks for your answer Bob, but I have a little problem becouse with #define
STR1(x) #x the statement becomes "#7"
I tired:

#define STR1(x)  [EMAIL PROTECTED]

It's works fine but only with single digit values.
And '7' isn't a const char *   :-(
Can you help me?

Thanks again.
German
-Mensaje original-
De: Bob Withers [mailto:[EMAIL PROTECTED]
Enviado el: Viernes, 25 de Julio de 2003 12:02 p.m.
Para: Palm Developer Forum
Asunto: Re: convert #define number to const char*
You need two levels, i.e.

#define CAT_CONTROL 7

#define STR1(x) #x
#define STR(x)  STR1(x)
printf("%s", STR(CAT_CONTROL));

Bob

At 11:36 AM 7/25/2003 -0300, you wrote:
>Hi,
>
>I have this constant, #define CAT_CONTROL   7
>
>I want to convert CAT_CONTROL to const char * and I don't want to do this:
>
>char cAux[2];
>itoa(CAT_CONTROL ,cAux,10);
>
>I try to use a preprocessor operator:
>
>#define STR(x) #x
>
>But that doesn't work, because I obtain "CAT_CONTROL" like result.
>
>Any help would be greatly.
>
>Best Regards,
>German
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


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


Re: Using the SysGetRomToken function to retrieve the serial number

2003-07-25 Thread Dave Lippincott
Use it all the time without problems.  How are you using it?  Although, not
all units have an electronic serial number.  Only units with Flash ROM.
Could that be the problem?

- Original Message -
From: "Gary Globus" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 1:04 PM
Subject: Using the SysGetRomToken function to retrieve the serial number


>
> I have tried using this function and have even downloaded the code example
> given in the Companion manual. On all Palm devices that I have tried this
> on I get no return value even though I can get an actual number through
the
> operating system screen menu. The question is has anyone used this
function
> successfully to retrieve the serial number or is there a better way to get
> this say in assembler code? If anyone has used it successfully I'd
> appreciate a snippet of the code so I can see what it is that I am doing
wrong.
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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


Re: Connector

2003-07-25 Thread Dave Lippincott
I'm not sure I understand the question.  Are you looking for a connector
used by a specific keyboard or a connector for your keyboard to use that
will connect to every hand held?  (specifically the Gamepark and Palm)

You can get the specifications for all the serial connectors used by Palm
devices from the Palm Developer's Website.  However, I don't think you will
find a single connector that will work with all the devices you mention.
You will need a different connector for each device you wish to connect to.
Thinkoutside makes a different keyboard for each device they support.  Not
one keyboard that connects to all devices.
Does that help?

- Original Message -
From: "William Woodbury" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 12:04 PM
Subject: Connector


> Not sure this list is the best place for this question but I have been
> trying to find out the answer for days from everywhere i can think of.  I
> sent this message to palm and they told me to try here
>
> "Hello,
> I am trying to find out the exact type of connection that your products
use
> to attach keyboards and other peripherals.
> The reason for this is that I am trying to develop a keyboard for the
> Gamepark 32 (http://english.gamepark.com/), and am trying to find a
keyboard
> which uses a plug with part id 3050-18P-0.5HTBD, made by HYUP JIN I&C Co.,
> Ltd.
>
> (info page: http://www.hyupjininc.com/eng/product/3050_1802pin.htm bottom
> plug shown).
> Basically the plug is 18pin, 2 keys, flat layout.  Do any of your
handhelds
> use these connectors?
>
> I have emailed the company that make the keyboards that are compatible
with
> your handheld products (http://www.thinkoutside.com) asking for the
> connector type they use but without reply.
>  ... "
>
> What i am really trying to find out is if the connector on the peripheral
> keyboards that fit the palm handhelds are going to fit onto my gp32 so i
can
> write drivers for them. I tried asking the keyboard manufacturers and was
> studiously ignored. So i tried emailing palm and they said to come here.
> somebody please help me!
> --
> William Woodbury
>   Artem-digital data processor, animator,
>   programmer, tea maker.
> www.artem-digital.com
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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


RE: convert #define number to const char*

2003-07-25 Thread German Carizza
YES, that's right...
I screw-up on my own code.

Really thanks for your answer

Saludos ;)
German 

-Mensaje original-
De: Bob Withers [mailto:[EMAIL PROTECTED]
Enviado el: Viernes, 25 de Julio de 2003 02:24 p.m.
Para: Palm Developer Forum
Asunto: RE: convert #define number to const char*


#define CAT_CONTROL 7
#define STR1(x) #x
#define STR(x) STR1(x)

int main(void)
{
 printf("The value is %s\n", STR(CAT_CONTROL));
 return(0);
}

When I run this I get:

The value is 7

Bob



At 12:50 PM 7/25/2003 -0300, you wrote:
>Thanks for your answer Bob, but I have a little problem becouse with
#define
>STR1(x) #x the statement becomes "#7"
>
>I tired:
>
>#define STR1(x)  [EMAIL PROTECTED]
>
>It's works fine but only with single digit values.
>And '7' isn't a const char *   :-(
>
>Can you help me?
>
>Thanks again.
>German
>
>-Mensaje original-
>De: Bob Withers [mailto:[EMAIL PROTECTED]
>Enviado el: Viernes, 25 de Julio de 2003 12:02 p.m.
>Para: Palm Developer Forum
>Asunto: Re: convert #define number to const char*
>
>
>You need two levels, i.e.
>
>#define CAT_CONTROL 7
>
>#define STR1(x) #x
>#define STR(x)  STR1(x)
>
>printf("%s", STR(CAT_CONTROL));
>
>Bob
>
>At 11:36 AM 7/25/2003 -0300, you wrote:
> >Hi,
> >
> >I have this constant, #define CAT_CONTROL   7
> >
> >I want to convert CAT_CONTROL to const char * and I don't want to do
this:
> >
> >char cAux[2];
> >itoa(CAT_CONTROL ,cAux,10);
> >
> >I try to use a preprocessor operator:
> >
> >#define STR(x) #x
> >
> >But that doesn't work, because I obtain "CAT_CONTROL" like result.
> >
> >Any help would be greatly.
> >
> >Best Regards,
> >German
> >
> >--
> >For information on using the Palm Developer Forums, or to unsubscribe,
> >please see http://www.palmos.com/dev/support/forums/
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/support/forums/
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, 
>please see http://www.palmos.com/dev/support/forums/


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

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


Re: conversion constant for time from palm to windows

2003-07-25 Thread Dawn Margerum
Thanks for the help all.

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


Re: Movable vs nonmovable memory chunks

2003-07-25 Thread Laurens
Ben Combee wrote:
Classes are OK, but if your class stores a large amount of data, it is 
better to have the class hold handles, and have the class internally 
allocate a handle to the data on creation.  Then, you'll only be 
MemPtrNew'ing a small amount of memory, and the larger chunk of memory 
will be in an unlocked handle for which the class will control access.
This is a good suggestion! Allocating and freeing MemHandles can be 
dealt with in the constructor and destructor respectively. This will 
work nicely.

Also, non-movable chunks aren't as bad in Palm OS 3 and higher as they 
were before, and on current OS 5 devices, the heap space is large enough 
to allow a bit more flexibility.  Also, allocating a handle and then 
leaving it locked for its entire life is considered worse than just 
allocating a pointer directly, as the OS expects that handles will 
generally be unlocked and movable.
Is there any info on how and where the memory manager allocates chunks? 
  What algorithms are used for optimizing memory usage?

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


Re: Problems with PDB convertion

2003-07-25 Thread gusto14
the termination, instead of being ifo its inf.

regards

- Original Message -
From: "rguevara" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 10:37 AM
Subject: Problems with PDB convertion


> Hi, I have the follow message at convert a Pdb to csv file
>
> ./pdb2csv: unable to determine database type
>
> I use this IFO file:
>
> -t "CLientesDB"
> -f cod,string
> -f nom,string
> -f sal,string
>
> and execute with:
>   ./pdb2csv clientes.pdb clientes.csv cli.ifo
>
> Please help me.
> --
> Open WebMail Project (http://openwebmail.org)
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


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


Re: Movable vs nonmovable memory chunks

2003-07-25 Thread Ben Combee
At 01:55 PM 7/25/2003, Laurens wrote:
Also, non-movable chunks aren't as bad in Palm OS 3 and higher as they 
were before, and on current OS 5 devices, the heap space is large enough 
to allow a bit more flexibility.  Also, allocating a handle and then 
leaving it locked for its entire life is considered worse than just 
allocating a pointer directly, as the OS expects that handles will 
generally be unlocked and movable.
Is there any info on how and where the memory manager allocates 
chunks?   What algorithms are used for optimizing memory usage?
The Palm OS Companion has the best details.  On Palm OS 3 and later, there 
is one large storage heap and a smaller dynamic heap.  The storage heap is 
strictly handle-based storage, so it's not that interesting.  The dynamic 
heap allows both handles and always locked chunks (MemPtrNew).  In general, 
allocations for each type are biased towards one end of the heap or the 
other, so MemPtrNew allocations are clustered near each other while 
MemHandleNew allocations are arranged at the other end of the heap.  This 
is why a locked handle can be dangerous, as it prevents efficient 
rearrangement of that end of the heap.  The MemPtrNew'd chunks can cause 
fragmentation for each other, but it takes a fair number of them to reach 
into the active handle allocation region.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

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


OT: Messages from [Palm-L]

2003-07-25 Thread José dos Santos Machado
Sorry by the offtopic message crew, but is anybody receiving some annoying 
messages from a Palm-L stuff ? It seems to be a spam to me, and very strange 
since they only tell things about some "Palm Solutions"... 

Strange... 

-- J. Machado
[EMAIL PROTECTED] 

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


Simulator Directory

2003-07-25 Thread Steve Mann
Does anyone know what folder the Palm OS Simulator uses when doing 
HostF file operations? The docs don't mention anything.

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


ARMlets

2003-07-25 Thread Carl
I am porting an existing running Palm application to use some of the more
processor intense code to the Arm side for the OS 5. My question revolves
around using methods like StrVPrinF, using a PACEInterface class, versus
using sprintf.



 Is there any speed advantage, in side of the ARMlet, for using one method
over the other?



Thanks



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


Re: ARMlets

2003-07-25 Thread Ben Combee
At 04:08 PM 7/25/2003, Carl wrote:
I am porting an existing running Palm application to use some of the more
processor intense code to the Arm side for the OS 5. My question revolves
around using methods like StrVPrinF, using a PACEInterface class, versus
using sprintf.
sprintf may not be available -- we have it in the MSL headers, but it 
actually isn't implemented in a form that works for PACE native code.

Questions about ARM programming and PACE native objects (formerly ARMlets) 
are best asked on the pno-forum mailing list; palm-dev continues to focus 
on general application development.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

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


Re: Debug Palm apps

2003-07-25 Thread ramoynihan
--- In [EMAIL PROTECTED], "Ricardo Marques"
<[EMAIL PROTECTED]> wrote:
> Isn't there a simpler way. I was now using SysFatalAlert because
altought it
> appears a reset button it allows to continue trough the app, but I don't
> seem to understand what that resest does...
> 

Ricardo, sounds like we're in the same boat.  I am a little embarassed
to say it (I'm certainly opening myself up to a little ridicule here
), but I have never bothered to figure out how to debug properly,
so I use the following bits of code.  I think you'll see what I'm
doing here.  I  just declare these in a common header file, so they
are available from any code module that I am working on.  When I
encounter a crash, I just add some of these debug tags into my code to
locate the problem.  So I might add a "Debug(1);" command, then a
"Debug(2);" command a few lines after.  When the crash happens, if the
top-left of the screen shows "1" then I know the crash was between
these 2 debug statements.  Crude, yes, but it works for me.

If I want to display more than one debug message, I use the DebugXY
function to place additional messages at other parts of the display.
DebugT functions allow debug output of short text strings.

(if any of you programmers out there are ROFL at what I just wrote,
I'd be more than willing to entertain any well-meaning advice on how
to debug the right way.  And for the not-so-well-meaning,... I've got
a pretty thick skin...  have at it!)

Here are the code fragments.

void Debug(Int32 i){
 if (debugEnabled) DebugXY(i,0,0);
}   

void DebugXY(Int32 i, UInt8 x, UInt8 y){
 Char st[32];

 if (debugEnabled) WinDrawChars(StrCat(StrIToA(st,i)," "),12,
x, y);
}   

void DebugTXY(Char *p, UInt8 x, UInt8 y){
 if (debugEnabled){
   if (p){
 if (StrLen(p)<15) WinDrawChars(p, StrLen(p), x, y);
 else WinDrawChars(p, 15, x, y);
   }
   else WinDrawChars("null ptr", 8, x, y);
 }
}   

void DebugT(Char *p){
 if (debugEnabled) DebugTXY(p, 100, 0);
}


Bob.








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


Re: Debug Palm apps

2003-07-25 Thread ramoynihan
--- In [EMAIL PROTECTED], "ramoynihan" <[EMAIL PROTECTED]>
wrote:
> Ricardo, sounds like we're in the same boat.

Oops.  Forgot to mention that debugEnabled is just a global Boolean
variable that I use to control whether or not debug messages are
displayed or supressed on my Palm.

Bob.


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


Re: Simulator Directory

2003-07-25 Thread ThuNguyet Nguyen
> Does anyone know what folder the Palm OS Simulator uses when doing 
> HostF file operations? The docs don't mention anything.
>
On my machine, it is the sub folder "Card1" in the folder that I put the Simulator 
program

C:\palmcode\Simulator121102\Debug\PalmSim.exe
C:\palmcode\Simulator121102\Debug\Card1

I can never test VFS manager on the Simulator. I rememember a while back, Jeff Ishaq 
(or somebody)
said that it is better to test VFS manager on the Emulator.

I hope it works for you.

tnn


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Re: Debug Palm apps

2003-07-25 Thread Chris Tutty
From: "ramoynihan" <[EMAIL PROTECTED]>
> If I want to display more than one debug message, I use the DebugXY
> function to place additional messages at other parts of the display.
> DebugT functions allow debug output of short text strings.
> 
> (if any of you programmers out there are ROFL at what I just wrote,
> I'd be more than willing to entertain any well-meaning advice on how
> to debug the right way.  And for the not-so-well-meaning,... I've got
> a pretty thick skin...  have at it!)
> 
Heh, reminds me of the work I had to do when debugging a Handspring-
-based GSM device that would drop the debug connection as soon as
the serial comms kicked in.  I built a simple logging system that wrote 
to a database.  IMHO this work is worth doing because it then becomes
available for other purposes, in my case the most obvious purpose 
being switching it on when a difficult client was testing the code so that
his "It crashed!!" message could be replied to by "In your backup
folder will be a file called blah.pdb, please email me that file".

I always had this feeling that I was doing things the dumb newbie way
but after spending half a day of tight deadline time trying to work around
the problem I decided to go with a solution that was gauranteed to 
produce a result for me after a certain amount of work.  That's certainly
not true for trying to resolve debugger problems.

"Hi, my name is Chris and I use debug printfs".  :-)

Chris Tutty

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


RE: Simulator Directory

2003-07-25 Thread Jeff Ishaq
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of ThuNguyet Nguyen
> Sent: Friday, July 25, 2003 3:47 PM
> To: Palm Developer Forum
> Subject: Re: Simulator Directory
> 
> 
> > Does anyone know what folder the Palm OS Simulator uses when doing
> > HostF file operations? The docs don't mention anything.
> >
> On my machine, it is the sub folder "Card1" in the folder 
> that I put the Simulator program
> 
> C:\palmcode\Simulator121102\Debug\PalmSim.exe
> C:\palmcode\Simulator121102\Debug\Card1
> 
> I can never test VFS manager on the Simulator. I rememember a 
> while back, Jeff Ishaq (or somebody) said that it is better 
> to test VFS manager on the Emulator.

My primary complaint was that the Simulator didn't provide an easy way
to insert/remove (mount/unmount) the media, whereas the Emulator does.
Additionally, I discovered that the Sony Clié emulator sometimes works
even better than POSE does for VFS stuff, like debugging into
card-launches as "start.prc" and the like.

-Jeff Ishaq



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


Re: Debug Palm apps

2003-07-25 Thread Steve Mann
Heh, reminds me of the work I had to do when debugging a Handspring-
-based GSM device that would drop the debug connection as soon as
the serial comms kicked in.  I built a simple logging system that wrote
to a database.  IMHO this work is worth doing because it then becomes
available for other purposes, in my case the most obvious purpose
being switching it on when a difficult client was testing the code so that
his "It crashed!!" message could be replied to by "In your backup
folder will be a file called blah.pdb, please email me that file".
I've used exactly the same method many time sin the last two years 
with SmartPhone devices. Works great. funny, I've been programming 
for 25+ years, and the debugging methods haven't changed all that 
much. :-) Still decoding hex error codes.

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


Re: Simulator Directory

2003-07-25 Thread Steve Mann
On my machine, it is the sub folder "Card1" in the folder that I put 
the Simulator program
Thanks very much. I'll give it a try.

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


Idiot C/C++ Pointer Question

2003-07-25 Thread Régis Daniel de Oliveira

Hy all!

I'm trying to build a function that will have 2 pointers as parameters.

When this function is called by the main function, is should modify the 2nd
parameter and the main function should be able to work with the second
parameter modified. But, inside the function that work with the pointers,
everything works well, but, when the second function exits, the pointer of
main functions hasn't changed. Look the code below:


void ForwardColumnsOnRecord(Char *LastColumn, Char *DestColumn, UInt16
NumColsToAdvance)
{

int Count;
int NumChars=0;


DestColumn = LastColumn;

for (Count = 0; Count < NumColsToAdvance; Count++)
{
NumChars = NumChars + StrLen(DestColumn) + 1;
DestColumn = LastColumn + NumChars;
}

return;
}



dbPtrF = NULL;
OpenDatabase(&dbPtrF, "SAF_CLIENTES");

{
MemHandle h;
Char *Codigo, *Razao;

h = DmQueryRecord(dbPtrF, SelectedClientIDX);
Codigo = (Char *) MemHandleLock(h);




ForwardColumnsOnRecord(Codigo, Razao, 1); // here, the pointer Razao
shoud assume the value that DestColumn assumed inside the code, but it,s not
working.
}

DmCloseDatabase(dbPtrF);


Thanks all, and sorry by the idiot question!



Régis Daniel de Oliveira



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


Re: Idiot C/C++ Pointer Question

2003-07-25 Thread Régis Daniel de Oliveira
Hy!

I found the problema...

I forgot to put the '&' before the 2nd parameter passed to the function, and
did'n used the second pointer as pointer.

Look:

void ForwardColumnsOnRecord(Char *LastColumn, Char **DestColumn, UInt16
NumColsToAdvance)
{

 int Count;
 int NumChars=0;


 *DestColumn = LastColumn;

 for (Count = 0; Count < NumColsToAdvance; Count++)
 {
  NumChars = NumChars + StrLen(*DestColumn) + 1;
  *DestColumn = LastColumn + NumChars;
 }

return;
}


The function should be called like this:
ForwardColumnsOnRecord(Codigo, &Razao, 1);


Thanks all!





"Régis Daniel de Oliveira" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
>
>
> Hy all!
>
> I'm trying to build a function that will have 2 pointers as parameters.
>
> When this function is called by the main function, is should modify the
2nd
> parameter and the main function should be able to work with the second
> parameter modified. But, inside the function that work with the pointers,
> everything works well, but, when the second function exits, the pointer of
> main functions hasn't changed. Look the code below:
>
>
> void ForwardColumnsOnRecord(Char *LastColumn, Char *DestColumn, UInt16
> NumColsToAdvance)
> {
>
> int Count;
> int NumChars=0;
>
>
> DestColumn = LastColumn;
>
> for (Count = 0; Count < NumColsToAdvance; Count++)
> {
> NumChars = NumChars + StrLen(DestColumn) + 1;
> DestColumn = LastColumn + NumChars;
> }
>
> return;
> }
>
>
>
> dbPtrF = NULL;
> OpenDatabase(&dbPtrF, "SAF_CLIENTES");
>
> {
> MemHandle h;
> Char *Codigo, *Razao;
>
> h = DmQueryRecord(dbPtrF, SelectedClientIDX);
> Codigo = (Char *) MemHandleLock(h);
>
>
>
>
> ForwardColumnsOnRecord(Codigo, Razao, 1); // here, the pointer Razao
> shoud assume the value that DestColumn assumed inside the code, but it,s
not
> working.
> }
>
> DmCloseDatabase(dbPtrF);
>
>
> Thanks all, and sorry by the idiot question!
>
>
>
> Régis Daniel de Oliveira
>
>
>
>



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


Re: the pam is crashed when HotSync?

2003-07-25 Thread Sean Yang
I only handle the sysAppLaunchCmdNormalLaunch, following is the pilotmain()
code:

UInt32 PilotMain
(
 UInt16 uwCmd,
 MemPtr cmdPBP,
 UInt16 uwLaunchFlags
)
{
Err  error;

switch (uwCmd)
{
case sysAppLaunchCmdNormalLaunch:

error = startApplication();
if (error)
   return error;

FrmGotoForm(ListForm);

eventLoop();

stopApplication();

break;

default:
break;
}

return errNone;
}


"Dave Lippincott" <[EMAIL PROTECTED]>  news:[EMAIL PROTECTED]
>
> Is your app responding to the sysAppLaunchCmdSyncNotify?  Make sure it is
> not doing something forbidden during that time. (access globals, etc)
>
> - Original Message -
> From: "Sean Yang" <[EMAIL PROTECTED]>
> Newsgroups: palm-dev-forum
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Friday, July 25, 2003 4:40 AM
> Subject: the pam is crashed when HotSync?
>
>
> > Hi,
> >
> > I wrote a application, it used 2 databases that have the same create id
> with
> > the application, but when hotsync, my application will crash the palm at
> > 'Clearing up, please wait...'. In the
> > simulator, I got the error message(pls look the accessories):
> >
> > I have tried to check my codes and complie options, but I still cannot
> find
> > the reason.
> >
> > Could you help me?
> >
> > Thanks!
> >
> > Sean Yang
> > Jul, 25, 2003
> >
> >
> >
>
>
> --
--
> 
>
>
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> >
>
>
>



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