Country Setting

2001-05-16 Thread Carl Smith

I was just wondering about the default for the country settings in the
'Welcome' application on a palm. When one starts up a new palm, weather it
be via the emulator or via a real palm device, and if one starts the
'Welcome' application when you get to page 3 or the 'Setup' the country is
always set to United States. Is this true if one would buy the palm in let's
say 'Finland'? Is there a way to make an application that is loaded onto a
Palm, set the country preference?

Thanks
Carl



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



Browser for Developers

2001-05-21 Thread Carl Smith

I was looking thru the different browsers out there for the Palm and noticed
hardley any support any kind of interface for developers, api calls that
developers could use when writing applications that can interact.

So I was hoping for some feedback or opions from other developers on what
API or functions that would be useful in a developer friendly palm browser.

thanks
Carl



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



RE: Forcing a label to display on top of a bitmap?

2001-06-13 Thread Carl Smith

Brian-

Funny thing I was just working on this last night.

What worked for me, in the constructor, was to bring up the 'Hierarchy'
detail tree and make sure that the bitmap was listed before any other
objects that you wanted to sit on top of the bitmap. It is all in the order
that the objects are created and placed on the form.

Hope this helps
Carl

-Original Message-
From: Brian Smith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 7:07 PM
To: Palm Developer Forum
Subject: Forcing a label to display on top of a bitmap?


There must be a way to do this, but I can't find it in the Constructor doc:

How can I make a bitmap draw on a form before a label and a field, so when
they're all drawn, the label and field appear on top of the bitmap?

If someone can even tell me the term used by Constructor for this (I looked
for "ordering" and "sequencing" - no luck), that should get me headed in the
right direction.

Thanks,

Brian Smith

-- 
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: Forcing a label to display on top of a bitmap?

2001-06-13 Thread Carl Smith

Brian-

It depends on the order that you add the objects to the form page in the
constructor. I can't remember how the order goes, but I do know the bitmap
has to be above, in the tree list, any controls that you want to display  on
top of the bitmap. You'll have to delete and reapply the controls and
bitmaps to get them in the correct order in the tree. Just play around with
the order of adding and you'll see what I mean.

Carl

-Original Message-
From: Brian Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 1:36 PM
To: Palm Developer Forum
Subject: RE: Forcing a label to display on top of a bitmap?


That's what I thought would work, too, but the hierarchy list order can't be
changed, can it? It seems to be in Object ID order. Can I change the Object
ID's to change the order?

Brian

> -----Original Message-
> From: Carl Smith [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 13, 2001 8:42 AM
> To: Palm Developer Forum
> Subject: RE: Forcing a label to display on top of a bitmap?
> 
> 
> Brian-
> 
> Funny thing I was just working on this last night.
> 
> What worked for me, in the constructor, was to bring up the 
> 'Hierarchy'
> detail tree and make sure that the bitmap was listed before any other
> objects that you wanted to sit on top of the bitmap. It is 
> all in the order
> that the objects are created and placed on the form.
> 
> Hope this helps
> Carl
> 
> -Original Message-
> From: Brian Smith [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 12, 2001 7:07 PM
> To: Palm Developer Forum
> Subject: Forcing a label to display on top of a bitmap?
> 
> 
> There must be a way to do this, but I can't find it in the 
> Constructor doc:
> 
> How can I make a bitmap draw on a form before a label and a 
> field, so when
> they're all drawn, the label and field appear on top of the bitmap?
> 
> If someone can even tell me the term used by Constructor for 
> this (I looked
> for "ordering" and "sequencing" - no luck), that should get 
> me headed in the
> right direction.
> 
> Thanks,
> 
> Brian Smith
> 
> -- 
> 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/

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



Changing title in 'Tips' dialog.

2001-06-15 Thread Carl Smith

Does anyone know if there is a way to change the title in the 'Tips' dialog
that is displayed via the (i) button on help enabled forms?

Thanks
Carl



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



Send/Receive Email Attachments

2001-09-05 Thread Carl Smith

I would like to know if anyone has some sources or information that could
help in my application where I want to send and receive emails. I have the
code for connecting to a server and sending and receiving emails but I want
to be able to send/receive attachments to emails. I know there are some
commercial programs out there that do this but I do not want a third and
extra party application that I have to purchase with each application I put
out there. I more or less want to 'roll my own'. Anyone know of any open
source code or info in this area?

Thanks




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



Resize Button

2001-09-16 Thread Carl Smith

Does anybody have any insight into resizing a button dynamically? Or should
I just use CtlNewControl?

Thanks





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



Re: Conduit and back up databases.

2001-09-29 Thread Carl Smith

Update:

I was able to back up my application and pdbs by doing the following steps:
1.) Run hotsync, with my conduit, that read and placed my data onto my palm.
2.) Un-registering my conduit(dll) via the CondCfg
3.) Running hotsync, a second time.

I did get my pdbs backed up, but this seems like a lot of hassle, for
something I'm sure can be done with in one conduit, thusly with one hotsync.
If the hotsync manager, written by Palm I presume,  can take the pdb off the
palm and place them on the pc, then there most be some code (APIs) that will
do this within my conduit. Peter Epstein?

Basically I want my conduit to take my raw data, text file, excel,...,
convert it to the palm(pdb) , close the open db connection, copy the pdb on
to my pc(where ever I point it to), then finish it's hotsync cycle. One hot
sync, not two.

Is there open source code to the hot sync manager dll? Has any body done
anything like this?

Thanks

"Carl Smith" <[EMAIL PROTECTED]> wrote in message
news:63532@palm-dev-forum...
>
> OK I've read all the posts on backing up a database, via setting bits and
> all, but still can not get my palm database to backup to my pc.
>
> I've set the back up bit via:
> // Get the attributes for our database
> DmDatabaseInfo(theCardNum, theDBID, NULL, &theAttrs, NULL, NULL,
> NULL, NULL, NULL, NULL, NULL, NULL, NULL);
>
> // Set the backup flag
> theAttrs |= dmHdrAttrBackup;
>
> // Set the attributes
> DmSetDatabaseInfo(theCardNum, theDBID, NULL, &theAttrs, NULL, NULL,
> NULL, NULL, NULL, NULL, NULL, NULL, NULL);
> on the palm side.
>
> Also in CodeWarrior, version 6, I have checked the 'Set back up bit' check
> box in the project settings panel of PilotRez Post Linker.
>
> And the 'type' of the data is set in the DmCreateDatabase(0, name,
creator,
> type, false); function where type = 'TYDB' and name = 'MyName'
>
> I have written my own conduit, that reads data from a .txt file, and does
> it's thing to convert to and install the pdb on the palm. The databases
get
> loaded on the palm but I do not see the .pdb files anywhere on my pc.
>
> 1.) Where should the pdb be getting backup to, what file?
> 2.) What would the name of the pdbs be?
> 3.) Any suggestions.
>
> Thanks for your help in advance.
>
>
>
>



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



Mail Application on PalmOS

2001-09-30 Thread Carl Smith

I think I already know the answer to this but just would like some
confirmation.

Is there any way to load a message up in the Mail program, that comes with
the PalmOS, and when I hit the send message to be able to actually send the
mail, and receive, if I'm hooked up to a modem? and I no I don't want to use
the HotSync button in any fashion.

My thought is no.

Thanks
Carl



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



Mail Application

2001-09-30 Thread Carl Smith

I might

already know the answer to this but just would like some confirmation.

Is there any way to load a message up in the Mail program, that comes with

the PalmOS, and when I hit the send message to be able to actually send the

mail, and receive, if I'm hooked up to a modem? and I no I don't want to use

the HotSync button in any fashion.

My thought is no.

Thanks

Carl






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



built in Mail application

2001-09-30 Thread Carl Smith

Is there any way to load a message up in the Mail program, that comes with

the PalmOS, and when I hit the send message to be able to actually send the

mail, and receive, if I'm hooked up to a modem? and I no I don't want to use

the HotSync button in any fashion.

My thought is no.

Thanks

Carl




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



MultiMail

2001-10-01 Thread Carl Smith

Does any one have any experience with using the MultiMail Pro with the
Emulator, launched from with in CodeWarrior.

I keep getting an Emulator error, wrote to memory location..., when I close
out of the initial configuration screen.

Does it even work in an Emulator?

Thanks
Carl



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



Using StrCaselessCompare or StCompare

2001-10-25 Thread Carl Smith

I am trying to compare a couple of strings and am getting some odd results.
1.) I have a drop down list with some text in it, one word has an apostrophe
in it. Like 'Isn't'. When I grab the text from the control and pass it to my
compare function, in the debugger is see it displayed as 'Isn\'t'. Of course
this fails the StrCaselessCompare because the word I am comparing it to
comes from a database and is passed in as 'Isn't'. Any suggestions as how I
can get the \ out of the control text or how to get these two to compare?
2.) Also with StrCaselessCompare, maybe related to above, I have a string
with
parentheses in it like 'Cars (Ford)', but when I do a compare with a passed
in string, from my db, it fails even though the passed in string is
identical, 'Cars(Ford)'.
Does this have something to do with the parentheses? Any suggestions?

Thanks
Carl



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



Illegal precompiled header version

2001-11-22 Thread Carl Smith

I have a 3.1 application that I have had running and stable for over a year
now. I finally upgraded my codewarrior 6 to version 7. Now when I load my
application I can't get it to build because I get about 12 errors stating
"Error :illegal precompiled header version. Pilot.h line 36#include
"Pilot.h.mch". Any suggestions or area of reference?

Thanks all.

PS To Metrowerks, thanks for making such great products. You always make
compiling and upgrading such a pleasure. NOT!



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



Re: Illegal precompiled header version

2001-11-23 Thread Carl Smith

Ben/Scott-

Thanks guys for all your help and quick come back even after Turkey day and
all.

Ben/Metrowerks guys, don't be so touchy, just my frustration late at night.
You do have to look at it from a consumer's point of view. Like I said this
was a stable and smooth running application for over a year and I was
upgrading, Metrowerks in hopes of making my working environment more
productive. What was going to be a 10-15 minute text change turned into
hours of trial and error, message swapping and etc.

Anyway, what I had done, last night, was because the CW6 folder was still on
my machine I had pointed one of the access paths to "..\CW for Palm OS
R6\Palm OS 3.1 Support"  which developed the "Error :illegal precompiled
header version. Pilot.h line 36#include "Pilot.h.mch". error. Thinking
about it I removed these points and re-assigned the access path to
"..\CodeWarrior for Palm OS Platform 7.0\Palm OS 3.5 Support" now of course
the error messages have changed, when I compile to 1.) "Error : the file
'Us.Prefix.h' cannot be opened.." and 2.) Error : the file 'Pilot.h' cannot
be opened Main.c line 16 #include".

Does this mean I will have to go thru all my applications that I built under
CW6 for Palm OS 3.1 and change the include statements to PalmOS.h and etc.
to now compile under CW7? Is there a section in the CW docs that explains
this 'coversion' process for OS 3.1 CW6 to CW7?

Again I do really appreciate the help and feed back from this form.

Carl

"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:68793@palm-dev-forum...
>
> "Carl Smith" <[EMAIL PROTECTED]> wrote in message
> news:68791@palm-dev-forum...
> >
> > I have a 3.1 application that I have had running and stable for over a
> year
> > now. I finally upgraded my codewarrior 6 to version 7. Now when I load
> my
> > application I can't get it to build because I get about 12 errors
> stating
> > "Error :illegal precompiled header version. Pilot.h line 36
> #include
> > "Pilot.h.mch". Any suggestions or area of reference?
> >
> > Thanks all.
> >
> > PS To Metrowerks, thanks for making such great products. You always
> make
> > compiling and upgrading such a pleasure. NOT!
>
> This was not a Metrowerks problem -- it was caused by the switch to Palm
> OS SDK 3.5.  In the previous SDK version (3.1), the stationery that Palm
> provided pulled in a precompiled header file that isn't available
> anymore.  To fix this, go to the C/C++ Compiler preference, and remove
> the prefix file entry.  You can replace it with "PalmOS_Headers" if you
> still want to use a precompiled header (for speed), but you'll need to
> add the "PalmOS_Headers.win.pch" file to your project to get this built.
>
> BTW, sarcasm generally discourages us programmers and developers at
> Metrowerks from helping you.  These same problems would occur if you
> upgraded your CW Palm 6 setup with the new SDK.
>
>
>
>



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



Resource cannot be opened.

2001-11-28 Thread Carl Smith

The upgrade saga continues.

I upgraded my CW6 to CW7 recently and when working in the constructor, which
is 1.5b7, I went to save some changes to a form and the following message
appeared, "This resource cannot be opened it contains information that this
version of Constructor does not understand.".
My application will compile and run OK but there is one form, out of about
12, that will not open and also produce this message when I try to open that
particular form. I can add string resources I can modify other forms, but
only this one form, in the constructor, will not open. Plus any attempt to
save 'any' work in the constructor produces the above error.

Any ideas/suggestions?

Thanks guys, always appreciate you help, even though I might be sarcastic at
times. ;)



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



Rom flashing and application security

2001-11-30 Thread Carl Smith

I have read some threads on flashing/rom and have a question regarding same
in respect to security. Say I want to flash to rom a preference type
database/structure which holds a bit or key that will let my application
know if it has been previously loaded onto the device even if the user does
a hard reset. Is there a way to do this 'flashing' programmatically from
within my application, say when it is first run? If so does anyone have some
resource I could read point me in the correct direction? If this flashing is
not possible programmatically how could one determine if an application has
been loaded or used on a device already, say a demo version that has run it'
s course?




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



Startupcode.lib with Creator ????

2001-12-20 Thread Carl Smith

I was looking at the startupcode.lib example, under Metrowerks and noticed
that in the project settings under Linker\PalmRez Post Linker the Creator
and Type was set to . Can anyone explain what this does? What would
happen if I used the creator ID from a particular application instead of the
'' ?

I really appreciate every bodies input and effort in the forum
Carl



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



FormType (focus)

2002-02-14 Thread Carl Smith

In a form's FormType structure there is a structure member, focus.
Does anyone know of a way to retreive this with out violating Palm's 'rules'
and accessing this memeber directly?

I can't seem to find a type of 'FrmGetAttr' type api.

If I use this member directly in my app(Pose) I get the old "The data at
this memory location is owned by the Form Manager. Applications should not
access the data directly. bla bla bla"

Thanks
Carl



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



Send and retrieving an Event

2002-03-01 Thread Carl Smith

Wonder if any one has some suggestions.

I have a prc running and I start off a tight loop, meaning I do some
calcualtions over and over again till I send myself a
SysNotifyBroadcastDeferred. I catch the SysNotifyBroadcastDeferred in the
MyHandleNotification and in this function I do a :
MemSet( &newEvent, sizeof( EventType ), 0 );
 newEvent.eType = appStopEvent;
 EvtAddEventToQueue( &newEvent );

Now back in my 'tight loop' I've tried various ways of trapping the
appStopEvent, but no matter what I do I can't seem to get the
'appStopEvent'.
I've put EvtGetEvent(&event, 100) in my AppEventLoop and tried pausing my
'tight loop' at different time intervals, used EvtGetEvent to see what the
EventType held, but never would see the appStopEvent. Is there some way I
can pause my 'tightloop' and let the application handle/catch up with the
EvtAddEventToQueue I posted or is there some other logic I'm missing?

Thanks in adance.
Carl



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



Hiding application name in Delete Menu

2002-03-01 Thread Carl Smith

More or less a theoretically question, but if I had an application that I
did not want to have show up in the Delete Menu is there some way I could
accomplish this? I'm curious do to the fact that all the PalmOS functions,
like Mail, Expense and etc. do not show up there.



I have tried setting the 'Set Hidden Bit' in the settings dialog and tried
using the dmHdrAttrHidden and/or when creating a db, in the application,
even though I didn't need one for this particular exercise.



Please no speeches on the 'Zen' of why I should not be doing this, I've read
all that in other forum emails. I'm basically inquisitive.



Again thanks to all who put some really effort into helping ever one on this
forum.



Carl




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



Record list and database header

2002-03-11 Thread Carl Smith

Just wondering if someone could clear this up for me.

I want to check the size of my database, to limit it to a certain size, so
when I call DmDatabaseSize and get back the 'totalBytesP,' field I want to
compare this against my defined MaxSize. So I take the size of the new
record, I'm about to add to the db, add it to the return value of
'totalBytesP' and compare it to my MaxSize. My question is should I be
adding 8 bytes for the record list's heaader. In the documentation at
http://www.palmos.com/dev/support/docs/fileformats/Intro.html it states:
"The Palm database header ends with a record list. The record list has its
own header,..." Now does 'totalBytesP' include this 8 bytes or should I be
adding it to my comparison value, as mentioned above, to get the total size
of my 'to be' updated database? My first assumption is no.

Any other thougths?

Thanks
Carl



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



NetSocketAddrRawType

2002-03-18 Thread Carl Smith

I was wondering if anyone has worked with raw sockets and/or could help me
with the following problem.

I am trying to bind a raw/raw socket, so I can build the MAC header, and am
running into trouble trying to use the NetSocketAddrRawType in the way the
documentation, from Palm, suggest.

Basically I do the NetLibConnect first, using NetLibIFGet(nAppNetRefnum, 0,
&ifCreator, &ifInstance); to get my Creator and Instance.

Then I do a nSocket = NetLibSocketOpen( nAppNetRefnum,
netSocketAddrRaw,netSocketTypeRaw, netSocketProtoIPRAW,AppNetTimeout, &err);

All this goes find till I get to the NetLibSocketBind, according to the
docs,

" Raw sockets in the netSocketAddrRaw domain with no protocol

In this case, you must bind the socket to an interface using

NetLibSocketBind, passing a NetSocketAddrRawType

structure for the socket address. The instance and creator

specify which interface the caller wants to receive raw

packets from."



If I use the NetSocketAddrRawType structure, in my NetLibSocketBind it bombs
out. I set the struct up as follows:

NetSocketAddrRawType netRawType;

netRawType.family  = AF_RAW;

netRawType.ifInstance = ifInstance;

netRawType.ifCreator = ifCreator;

NetLibSocketBind( nAppNetRefnum,
  nSocket,
  (NetSocketAddrType*)&netRawType,
  sizeof(netRawType),
  AppNetTimeout,
  &errno);



Thing is though if I use a NetSocketAddrINType

structure then the NetLibSocketBind says everything is fine, but then this
does not jive with the docs.



My NetSocketAddrINType looks like this:

mysockettype.family = AF_INET;

mysockettype.port = 0;

mysockettype.addr = 0;



Does anyone see anything I'm doing inherently wrong here or have any
suggestions:?



Thanks Carl




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



comman line build for Codewarrior

2002-03-22 Thread Carl Smith

Does anyone know of a way to do a command line build of Codewarrior in
Windows enviroment? I know they have examples of doing it in VB, Perl and
etc. but I was wondering if it can be done from a batch file. Something like
'ide myfile.mcp'?

Thanks
Carl



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



Error #32 DirectBits

2002-04-10 Thread Carl Smith

I've taken a project from one machine and put on another pc went to compile
it and I get the Link Error: "Unexpected Error #32. DirectBits not
supported.. Compilation halted".

Has anyone seen this before or know what it might refer to?

Thanks
Carl

PS On a side note, every since the news group server went down, a week or
two ago, when I bring up the news group messages in my Microsoft Outlook
Newsreader I only now show messages from 3/7/2002. before I had messages
saved from back in 2000, anyone know what happen to all the achieved
messages?



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



LaunchPad

2002-05-01 Thread Carl Smith

I am trying to find if any knows of or has a copy of the source code for the
original LauchPad written by Eric Kenslow.

I was looking for some examples of using dispatch tables/patching and from
what I read I say that the original Lauchpad had some good examples of same.
I've looked high and low on the internet and it seems that the original http
no longer works. The code was free and downloadable at one time, but as I
said I am having troubles finding it now.

Any information or code would greatly be appreciated.

Carl



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



Shared Library

2002-05-03 Thread Carl Smith

I have a shared library that I only want to allow one opened session per
user. I don't care if multiply applications what to access my shared library
but I want a way to only let one copy of my shared library to be opened per
application. Doing some looping and testing I noticed that by calling
SysLibLoad I would get a new reference number for each call even inside of
the same application. If this is correct then each SysLibLoad would return a
reference number to a different version of my Shared Library and any
'globals' I was working with would be lost, in this new reference.

Of course if I'm missing anything basic here please point me in the right
direction.

Does anyone have any suggestions?

Thanks
Carl



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



Modem losing connection with email

2002-10-17 Thread Carl Smith
Was just wondering if anyone has any ideas or experience working with email
programs and the palm.

The problem I am experiencing is that my email program hooks up ,hand shakes
and down loads all the necessary data with the mail server just find when I
am running under the emulator(POSE) but when I go to use it on my palm with
a 3com palm modem hooked up to my telephone line it seems to lose contact
with the server or the server times out. I have tried putting in "NOOP"
calls in as little as every 30 seconds but still it will lose connection
after about 5 minutes. Yes I am trying to download large emails. But like I
said it seems to work fine running under the emulator.

I am not using any AT commands for the modem but I wanted to stay away from
that so this program would be robust enough to work with a variety of modems
and connections.

Thanks
Carl



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



Codewarrior drives me crazy!

2000-11-27 Thread Carl Smith

Does this just happen to me or have others found this irritating.

When I have several files open in Codewarrior IDE and I run the debug mode,
if I have a breakpoint in my code and I stop the program at the breakpoint
and "kill" the debug, when the debug window goes away, Codewarrior pops up
some other window then the last window(file) I was working in. This drives
me crazy if I have numerous files open in the IDE and I'm debugging and
coding a particular one, from the debug mode, Codewarrior never takes me
back to the window I was working in. This also happens in the Constructor.
If I pop open a form and close the form, while I have other forms open, if
never brings the last form, I was working on, to the forefront, it picks
some other window to jump up front. Hello, CodeWarrior, hire some window
guys to do your conversions, let the Mac developers, develop for Mac.

Of course if I have missed some setup, for CodeWarrior, I'd appreciate
anyone pointing it out to me.



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



Re: Codewarrior drives me crazy!

2000-11-27 Thread Carl Smith

Wow Ben I owe you one.

Does that work on the constructor too?

Thanks again
Carl

"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:31253@palm-dev-forum...
>
> "Carl Smith" <[EMAIL PROTECTED]> wrote in message
news:31250@palm-dev-forum...
> >
> > Does this just happen to me or have others found this irritating.
> >
> > When I have several files open in Codewarrior IDE and I run the debug
> mode,
> > if I have a breakpoint in my code and I stop the program at the
breakpoint
> > and "kill" the debug, when the debug window goes away, Codewarrior pops
up
> > some other window then the last window(file) I was working in. This
drives
> > me crazy if I have numerous files open in the IDE and I'm debugging and
> > coding a particular one, from the debug mode, Codewarrior never takes me
> > back to the window I was working in. This also happens in the
Constructor.
> > If I pop open a form and close the form, while I have other forms open,
if
> > never brings the last form, I was working on, to the forefront, it picks
> > some other window to jump up front. Hello, CodeWarrior, hire some window
> > guys to do your conversions, let the Mac developers, develop for Mac.
> >
> > Of course if I have missed some setup, for CodeWarrior, I'd appreciate
> > anyone pointing it out to me.
>
> 1) Go to menu item "Edit/Preferences..."
>
> 2) Go to the pref panel for "Debugger/Windowing"
>
> 3) Change the setting from the current "hide non-debugger windows" to
> something that suits your preferences.
>
> Good luck!
>
>
>
>



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



No Input on Main page.

2000-11-28 Thread Carl Smith

OK I might be missing something obvious here but I have an app and on the
first form that comes up, my main form, I have some fields that I want the
user to be able to put in input. Well using the emulator I can not get any
input from the keyboard on any fields on the main page. now if I go to
another form/page of my app that also has some fields I can get input from
my keyboard just fine. It's only on the first page that I don't have any
input from the keyboard.

Any suggestions?

Yes I've made sure that the fields are editable and usable. Everthing
matches, as far as settings and etc. as to the other fields and pages.

Thanks for any suggestions
Carl



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



Growing a field dynamically.

2000-11-28 Thread Carl Smith

I have a field on a page that starts out at a set length. I want to be able
to have the field grow dynamically as the user puts in characters. I don't
want to have multiple displayed lines on the form untill the user reaches
the end of the field and the word wrapping takes effect. Can anyone point me
to some examples or codes that does that?

Thank You
Carl



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



Re: Growing a field dynamically.

2000-11-29 Thread Carl Smith

No the field is not being created dynamically. I do check the dynamic
checkbox in the constructor but if I have the size set to one line, in the
constructor, the field will not grow, produce a second line. I don't want
the input to just run off the end of the line I want a second, third or
fourth line to appear as the text is entered. Plus I want only one line
displayed at start and the lines to be added as the text is entered.

Can this be done?

Thanks for our help
Carl


"Shekar Mantha" <[EMAIL PROTECTED]> wrote in message
news:31472@palm-dev-forum...
>
> Is the field being created dynamically -- if so you cannot have it grow
> dynamically -- you
> have to set the maximum size up front -- if you are creating the field in
> constructor it has
> an option that you can select to have the field do what you are wanting to
> do.
> ----- Original Message -
> From: "Carl Smith" <[EMAIL PROTECTED]>
> Newsgroups: palm-dev-forum
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 28, 2000 6:15 PM
> Subject: Growing a field dynamically.
>
>
> >
> > I have a field on a page that starts out at a set length. I want to be
> able
> > to have the field grow dynamically as the user puts in characters. I
don't
> > want to have multiple displayed lines on the form untill the user
reaches
> > the end of the field and the word wrapping takes effect. Can anyone
point
> me
> > to some examples or codes that does that?
> >
> > Thank You
> > Carl
> >
> >
> >
> > --
> > 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/



Attach pdb to email?

2000-11-29 Thread Carl Smith

Is it possible to attach a pdb, from one palm application, to an email, in
the PDA and send the whole thing via tcp/ip?

Thanks
Carl



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



Re: Attach pdb to email?

2000-11-29 Thread Carl Smith

Prasad-

Thank you for pointing me in your direction but I was looking for some
insight as to the code to do this, I would like to "roll my own" in this
case. I need to make this seamless to the user. I have a bunch of options
that are going on for the user and if I had third party apps for everthing
this program would cost the user in the hundreds if not thousands, not to
mention the complexity.

Thanks again
Carl


"prasad" <[EMAIL PROTECTED]> wrote in message news:31575@palm-dev-forum...
>
> > Is it possible to attach a pdb, from one palm application, to an email,
in
> > the PDA and send the whole thing via tcp/ip?
>
> yes..its possible..plz check the OneTouch email client for PDA at
> www.jpsystems.com.
>
> regards
> Prasad
> - Original Message -
> From: Carl Smith <[EMAIL PROTECTED]>
> Newsgroups: palm-dev-forum
> To: Palm Developer Forum <[EMAIL PROTECTED]>
> Sent: Wednesday, November 29, 2000 11:49 AM
> Subject: Attach pdb to email?
>
>
> > Is it possible to attach a pdb, from one palm application, to an email,
in
> > the PDA and send the whole thing via tcp/ip?
> >
> > Thanks
> > Carl
> >
> >
> >
> > --
> > 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: Growing a field dynamically.

2000-11-29 Thread Carl Smith

Danny -

I was hoping I won't have to go that route, laziness on my part, but you are
probable correct with the table thing.

Now if I just use the table as a field input for the user how do I get the
text out of the field when I need it? I don't see anything in the tables
functions, reference.pdf, about getting text data out of a table. I thought
the table had to be drawn using a database and passing retrieving data from
the db. Is there some example that shows a way to retrieve data from a table
without going thru the db?

Thanks for your input
Carl
"Danny Epstein" <[EMAIL PROTECTED]> wrote in message
news:31573@palm-dev-forum...
>
> Marking a field as growable will cause it to generate events so that the
> table containing the field can resize the field when necessary. You could
> have a growable field that isn't in a table, and handle these events
> yourself, but I don't recommend that approach. My advice is to use a
table.
> --
> Danny Epstein
> OS Engineer, Palm Inc.
>
>
>



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



RE: Growing a field dynamically.

2000-11-29 Thread Carl Smith

Danny-

Thanks for all the feed back.

"Editable columns in tables have load and save procedures." Can you give me
a name of the function that handles this, I'm looking at the Tables
functions now and am not quit sure which function would fit my need.

Thanks a million
Carl

-Original Message-
From: Danny Epstein [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000 3:58 PM
To: Palm Developer Forum
Subject: Re: Growing a field dynamically.


"Carl Smith" <[EMAIL PROTECTED]> wrote in message news:31578@palm-dev-forum...
> I was hoping I won't have to go that route, laziness on my part, but you
are
> probable correct with the table thing.

I think using a table will actually be easier, and it'll certainly be more
portable.

> Now if I just use the table as a field input for the user how do I get the
> text out of the field when I need it?

Editable columns in tables have load and save procedures.

> I thought the table had to be drawn using a database and passing
retrieving
> data from the db. Is there some example that shows a way to retrieve data
> from a table without going thru the db?

Tables aren't really connected to databases, but all the examples I can
think of use databases. Your example is unusual in that you only ever have
one row, but it can grow to take multiple lines.
--
Danny Epstein
OS Engineer, Palm Inc.


-- 
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: Growing a field dynamically.

2000-11-29 Thread Carl Smith

Thanks for the heads up Danny-

I've never used those functions so thanks a lot. I really do appreciate all
the help
Carl

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Danny
Epstein
Sent: Wednesday, November 29, 2000 5:36 PM
To: Palm Developer Forum
Subject: Re: Growing a field dynamically.


"Carl Smith" <[EMAIL PROTECTED]> wrote in message news:31592@palm-dev-forum...
> "Editable columns in tables have load and save procedures." Can you give
me
> a name of the function that handles this

TblSetLoadDataProcedure and TblSetSaveDataProcedure.
--
Danny (you coulda found that :) Epstein


-- 
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: Cannot open bsd_mem.h

2000-12-06 Thread Carl Smith

Keith-

Not sure if you got my last message but just in case: Thank for the help

but "You might want to track down why __dest_os is set to __be_os." I'd be
happy to if I knew what _dest_os was and how to set or unset it? Any
suggestions? Any body?

Thanks
Carl


<[EMAIL PROTECTED]> wrote in message news:32228@palm-dev-forum...
>
>
>
> Did you notice the part in cstring that shows that bsd_mem.h is included
only
> when compiling for Be OS?  That would explain why bsd_mem.h is not on your
> system.
>
> #if __dest_os == __be_os
>  #include 
> #endif
>
> You might want to track down why __dest_os is set to __be_os.
>
> -- Keith Rollin
> -- Palm OS Emulator engineer
>
>
>
>
>
>
> "CSmith" <[EMAIL PROTECTED]> on 12/05/2000 06:21:59 PM
>
> Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
>
> Sent by:  "CSmith" <[EMAIL PROTECTED]>
>
>
> To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
> cc:(Keith Rollin/US/PALM)
> Subject:  Cannot open bsd_mem.h
>
>
>
> Just wondering if anyone ran across this one before. I have a project that
> compiles fine on my work machine but the same project gets the following
> error on my home machine. Error: the file 'bsd_mem.h' cannot be opened
> cstring line 38 #include .
>
> I've searched for the file bsd_mem.h both on my home machine and the work
> machine and cannot find it.
>
> Any Ideas?
>
> Thanks
> Carl
>
>
>
>
>



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



Cannot edit second line of table/field.

2000-12-07 Thread Carl Smith

Looking for some suggestions.

I have a single row, single column table.
I have it so that if a user puts in more text then the length of the line
the cell will expand to a second row, like the ToDo example. That part works
fine. My problem is two fold:

1.) while putting in text to the table/field the table will not redraw
unless I tap on the table, I was wondering if there is any examples of how
to get the table to redraw itself when the text becomes longer than the
cell/field that is being edited.

2.) also when the table does redraw itself, via a tap, the second line will
show up but I can not get the cursor or any editing capabilities on to the
second line. I can still edit the first line but no input is allowed in the
second, dynamically created line.

Any suggestions for pointers would greatly be appreciated.
Carl



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



Re: VoidHand's and Handle's

2000-12-11 Thread Carl Smith

"The code it produces
> runs on all Palm OS devices, as long as you don't try to call a function
> that isn't implemented on that device."

Well not entirely true, you can not run 3.5 apps on symbol's spt1500 or
spt1700. The lib that is called uses 3.1 and symbol has not yet supported
the 3.5 changes. Haven't checked into this for the PCS momentum scanner on
the Handspring, but I bet it's the same story.



"Richard Burmeister" <[EMAIL PROTECTED]> wrote in message
news:32679@palm-dev-forum...
>
> From: <[EMAIL PROTECTED]>
>
> > Also, I know that PalmOS 3.5 fixes this confusion between VoidHand and
> > Handle, but unfortunately there aren't enough 3.5 users out there to
> warrant
> > a change from 3.0 as a minimum to 3.5. That said, does anyone have some
> kind
> > of poll data about the percentage of *their* users running OS 3.5?
>
> There is no reason not to develop with the 3.5 SDK.  The code it produces
> runs on all Palm OS devices, as long as you don't try to call a function
> that isn't implemented on that device.  For example, if you want to check
> for color:
>
> #define sysVersion30 sysMakeROMVersion(3,0,0,sysROMStageRelease,0)
>
> // return true iff the screen depth is 8
> static Boolean CanDoColor( void )
> {
>   UInt32 romVersion;
>   UInt32 depth;
>
>   FtrGet( sysFtrCreator, sysFtrNumROMVersion, &romVersion );
>   if ( romVersion < sysVersion30 )
> return false;// don't call WinScreenMode if OS < 3
>   else
>   {
> WinScreenMode( winScreenModeGet, 0, 0, &depth, 0 );
> return ( depth == 8 );
>   }
> }
>
>
>
>



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



RE: CW r7.

2000-12-14 Thread Carl Smith

Ben-

Thanks for the review, good job.
 A couple of my own questions:
When you say "and it is a huge improvement for
Windows
users." Does that mean it's a huge improvement from CWPro6 or a huge
improvement from CWPro5?

My two cents would be if it's the same IDE as CWPro6 then I don't see the
need for the 190 upgrade. 

It might be worth it if item 2 meant a huge improvement with communication
and the Pose. 

Other than that doesn't sound too exciting to me. 

I usually like to wait till a compiler has been out for a while and at least
one update is released before even thinking about spending my money.
Now of course if a gigantic USB project comes up, well???

Carl


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ben
Combee
Sent: Thursday, December 14, 2000 5:17 AM
To: Palm Developer Forum
Subject: Re: CW r7.


"Konstantin Klyatskin" <[EMAIL PROTECTED]> wrote in message
news:33021@palm-dev-forum...
>
> http://www.metrowerks.com/products/palm/
>
> no announce here... or have I missed it?
> Anybody tried? What's a feeling?

>From a previous posting over on the massena forum:

I've been beta testing it [CWPalm7], and it is a huge improvement for
Windows
users.  I'm not as sure for Mac-based programmers.

1) The IDE is the new 4.1 version introduced in CW Pro 6.  On Windows, this
IDE has had much of its code written to be Win32-native rather than run on
MacOS compatability libraries.  The new find functionality is great, and I
love rectangle selection cut-and-paste.

2) The debugger is much, much better.  Bitfield bugs are fixed, and
communication with POSE is better.  Plus, it now supports USB debugging to
Handspring devices.

3) The C++ compiler has caught a few more errors, and the code quality is
better, although not dramatically.

--
Ben Combee
Veriprise Wireless 



-- 
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: CW r7.

2000-12-15 Thread Carl Smith

That's what we like to hear, some PR from MetroWerks.

I think the folks here just want to know what the improvements are. I didn't
see much as far as enhancements on metrowerks site.

>From the sound of it, I feel know it's definitely worth the 190, if it
speeds up debugging and is far more stable on the Pose/communication side, I
can recoup the 190 many times over with production time.

And Ben made some fine points about metrowerks efforts and cost in
development.


"Heather Tufts" <[EMAIL PROTECTED]> wrote in message
news:33270@palm-dev-forum...
>
> >It might be worth it if item 2 meant a huge improvement with
> >communication
> >and the Pose.
>
> It does. We changed the way the .prc is loaded on POSE when debugging,
> which
> makes this connection much more stable, reliable, and faster.  Also,
> stepping through code while debugging on the emulator is quite a bit
> faster.
> We squashed as many connectivity issues as we could (including problems
> with
> debugging multiple times to the emulator, debugging to the emulator and
> switching over to debug to the device, etc.).  We spent a lot of time
> QAing
> this, too, and the debugger looks really good.  I'm sure no one cares
> what
> my opinion is, since I work for Metrowerks, but there it is, anyway.
>
> -hkmlt
>
>



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



Caps On.

2000-12-28 Thread Carl Smith

Say does anyone have an idea on how I can pragmatically turn the caps or
shift on for input into a field.
I have an app that I would like, when the user goes to a particular page,
that the first letter of the field is in Caps, then after that the letters
return to regular print. I thought it would be similar to static apps like
the To Do List and etc., but even in those apps I noticed that if the letter
is typed from the keyboard, using the emulator the type is small, but
selecting the On-screen keyboard the letters are cap. I would like it caps
both from the pc keyboard, graffiti screen and the on-screen keyboard.

Thank You
Carl



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



RE: Caps On.

2000-12-28 Thread Carl Smith

Dave-

Thanks for taking the time to respond to my email, but maybe I didn't make
my self clear. When first entering my form page and the focus is set to the
field I am talking about, I want the caps to already be on no matter where
the user does there inputting from, pc keyboard, on screen keyboard, or
graffiti area. I'm looking for the api call for this.

Thanks again
Carl

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dave
Lippincott
Sent: Thursday, December 28, 2000 5:18 PM
To: Palm Developer Forum
Subject: Re: Caps On.


Parse the string returned by the keyboard, make the first letter caps is
needed. or parse the string before your display it to make sure the first
letter of the string is capitalized.

- Original Message -----
From: "Carl Smith" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, December 28, 2000 10:16 AM
Subject: Caps On.


> Say does anyone have an idea on how I can pragmatically turn the caps or
> shift on for input into a field.
> I have an app that I would like, when the user goes to a particular page,
> that the first letter of the field is in Caps, then after that the letters
> return to regular print. I thought it would be similar to static apps like
> the To Do List and etc., but even in those apps I noticed that if the
letter
> is typed from the keyboard, using the emulator the type is small, but
> selecting the On-screen keyboard the letters are cap. I would like it caps
> both from the pc keyboard, graffiti screen and the on-screen keyboard.
>
> Thank You
> Carl
>
>
>
> --
> 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/



Debug Dialog Appearing

2001-01-17 Thread Carl Smith

I was just wondering if anyone has run into this.

Within the last couple of weeks I have started getting these 'Metrowerks
Codewarrior' dialog messages coming up when I go into debug mode via the
serial cable to my palm. There is about 4 or 5 messages that all the title,
in the dialog window, of 'Metrowerks Codewarrior' and the body of 'Debug
Message Received', then I click OK then another dialog appears with the body
'Debug Message Received. Welcome to the PalmOS debugger'. I click OK on this
dialog and about 3 more dialogs appear all talking about the build and
version date. This just started about 2 to 4 weeks ago. I'm sure I probable
set something, or downloaded something but for the life of me can not
remember what I did to start getting all these messages, which were never
there before. Now I could live with these dialogs coming up if it weren't
for the fact that now when I try to debug something on my Handspring, it
hangs. I'm assuming it has something to do with these messages because I
can't even get to the 'Pilot Main' portion of my application, when using the
Handspring.

If anyone has had similar experiences or knows some avenues I might pursue
to track down and eliminate these dialogs I would greatly appreciate your
help.

Thanks
Carl Smith



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



Re: Debug Dialog Appearing

2001-01-18 Thread Carl Smith

Ben-

Thanks for the reply and help.

I turned the log window back on, don't know why or how I unchecked that box,
but back to normal.

Now I still have the problem of the Handspring hanging. The application
downloads, under cw6, to the handspring, but the handspring unit, clears the
screen and a pixel is constantly blinking in the upper left hand corner.
This same app debugs fine under other palm devices, i.e. palm iiix,
spt1500/1700, but I can't get the debug going on the handspring. And of
course it did debug several weeks ago.

Any ideas, guys?


I really appreciate everyone's volunteer and informative help
Carl


"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:36157@palm-dev-forum...
>
> "Carl Smith" <[EMAIL PROTECTED]> wrote in message
news:36153@palm-dev-forum...
> >
> > I was just wondering if anyone has run into this.
> >
> > Within the last couple of weeks I have started getting these 'Metrowerks
> > Codewarrior' dialog messages coming up when I go into debug mode via the
> > serial cable to my palm. There is about 4 or 5 messages that all the
> title,
> > in the dialog window, of 'Metrowerks Codewarrior' and the body of 'Debug
> > Message Received', then I click OK then another dialog appears with the
> body
> > 'Debug Message Received. Welcome to the PalmOS debugger'. I click OK on
> this
> > dialog and about 3 more dialogs appear all talking about the build and
> > version date. This just started about 2 to 4 weeks ago. I'm sure I
> probable
> > set something, or downloaded something but for the life of me can not
> > remember what I did to start getting all these messages, which were
never
> > there before. Now I could live with these dialogs coming up if it
weren't
> > for the fact that now when I try to debug something on my Handspring, it
> > hangs. I'm assuming it has something to do with these messages because I
> > can't even get to the 'Pilot Main' portion of my application, when using
> the
> > Handspring.
>
> You've turned off the debugger log -- newer PalmOS images emit a series of
> debug messages for a banner message that can't easily be distringuished
from
> true debug output, so if you have the log turned off, CW will show each
> individually.  Just live with the log window, its far better than
suffering
> through all that.
>
> --
> Ben Combee
> Veriprise Wireless <http://www.veriprise.com>
>
>
>
>



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



Re: Debug Dialog Appearing

2001-01-18 Thread Carl Smith

All right I'll answer my own question and save anyone the time from replying
back.

I forgot you have to hold the 'up' button until cw has finished uploading
and a source code window appears within codewarrior. I was releasing the
'up' button after putting the shortcut..2. Da! Switching back and forth
between all these pdas is driving me crazy. symbol, palm, ce, handspring

Carl
"Carl Smith" <[EMAIL PROTECTED]> wrote in message news:36231@palm-dev-forum...
>
> Ben-
>
> Thanks for the reply and help.
>
> I turned the log window back on, don't know why or how I unchecked that
box,
> but back to normal.
>
> Now I still have the problem of the Handspring hanging. The application
> downloads, under cw6, to the handspring, but the handspring unit, clears
the
> screen and a pixel is constantly blinking in the upper left hand corner.
> This same app debugs fine under other palm devices, i.e. palm iiix,
> spt1500/1700, but I can't get the debug going on the handspring. And of
> course it did debug several weeks ago.
>
> Any ideas, guys?
>
>
> I really appreciate everyone's volunteer and informative help
> Carl
>
>
> "Ben Combee" <[EMAIL PROTECTED]> wrote in message
> news:36157@palm-dev-forum...
> >
> > "Carl Smith" <[EMAIL PROTECTED]> wrote in message
> news:36153@palm-dev-forum...
> > >
> > > I was just wondering if anyone has run into this.
> > >
> > > Within the last couple of weeks I have started getting these
'Metrowerks
> > > Codewarrior' dialog messages coming up when I go into debug mode via
the
> > > serial cable to my palm. There is about 4 or 5 messages that all the
> > title,
> > > in the dialog window, of 'Metrowerks Codewarrior' and the body of
'Debug
> > > Message Received', then I click OK then another dialog appears with
the
> > body
> > > 'Debug Message Received. Welcome to the PalmOS debugger'. I click OK
on
> > this
> > > dialog and about 3 more dialogs appear all talking about the build and
> > > version date. This just started about 2 to 4 weeks ago. I'm sure I
> > probable
> > > set something, or downloaded something but for the life of me can not
> > > remember what I did to start getting all these messages, which were
> never
> > > there before. Now I could live with these dialogs coming up if it
> weren't
> > > for the fact that now when I try to debug something on my Handspring,
it
> > > hangs. I'm assuming it has something to do with these messages because
I
> > > can't even get to the 'Pilot Main' portion of my application, when
using
> > the
> > > Handspring.
> >
> > You've turned off the debugger log -- newer PalmOS images emit a series
of
> > debug messages for a banner message that can't easily be distringuished
> from
> > true debug output, so if you have the log turned off, CW will show each
> > individually.  Just live with the log window, its far better than
> suffering
> > through all that.
> >
> > --
> > Ben Combee
> > Veriprise Wireless <http://www.veriprise.com>
> >
> >
> >
> >
>
>
>
>



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



Convert rcp to rsr

2001-02-06 Thread Carl Smith

Does any know of or have a way/utility to convert a rcp resource to
CodeWarrior's rsr format?

Thanks
Carl Smith



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



RE: Convert rcp to rsr

2001-02-06 Thread Carl Smith

Ben-

Thanks for the reply but I went this route. This doesn't really convert to a
rsr, I thought it converts to a .r file that is text based. I was looking
for some way to get the rsp to open in the Constructor.

Thanks
Carl 

-Original Message-
From: Ben Combee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 11:54 AM
To: Palm Developer Forum
Subject: Re: Convert rcp to rsr


"Carl Smith" <[EMAIL PROTECTED]> wrote in message news:38504@palm-dev-forum...
>
> Does any know of or have a way/utility to convert a rcp resource to
> CodeWarrior's rsr format?

Use the PilRC plugin to directly compile RCP files in a CodeWarrior project.
If you've got CW 7, its in the Thrill Seekers folder.  Otherwise, grab it
from http://www.calliopeinc.com/devcorner.htm.

--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>



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



Open Source Compilers

2001-02-12 Thread Carl Smith

Not that I ever used them, but in the open source compilers, like PilRC and
etc., is there a way to view the rcp files graphically before compiling the
prc file. I mean how does one know what the forms, menus and etc. will look
like before a build?

Thanks
Carl



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



Re: Open Source Compilers

2001-02-13 Thread Carl Smith

Thanks guys, I really appreciate it.

Carl

"Aaron Ardiri" <[EMAIL PROTECTED]> wrote in message news:39340@palm-dev-forum...
>
> > > Not that I ever used them, but in the open source compilers, like
PilRC and
> > > etc., is there a way to view the rcp files graphically before
compiling the
> > > prc file. I mean how does one know what the forms, menus and etc. will
look
> > > like before a build?
> >
> > pilrc comes with pilrcui, which is exactly what you want !
>
>   pilrcui can be built on unix systems with gtk, however, it is not
>   built by default in the distribution anymore :)) i'd suggest
>   another application, pilrcedit, which you can find on www.palmgear.com
>
> // az
> [EMAIL PROTECTED]
> http://www.ardiri.com/<--- free games!
>
>
>



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



Using ansi c (calloc)

2001-02-22 Thread Carl Smith

I have an app with numerous calls to calloc. I've included the file #include
 which directs to the cstdlib file which in turn holds the
prototype for calloc. Now if I don't include the
#include   I get compile errors as "Function has no prototype" yet
when I do include the stdlib.h file I get a link error of, "'calloc'
referenced from 'myfunction' is undefined.

Does any body have any suggestions as to what the problem might be? Could my
project be hitting the 64k barrier? Plus how does one tell when they are at
or above the 64k when the project will not compile?

Thanks all
Carl



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



RE: Using ansi c (calloc)

2001-02-27 Thread Carl Smith

Thanks Ben, I appreciate the feed back.

Here's another thought, I know PalmOS does not support 'calloc' but then why
is it included as a function in 'cstdlib' and all these include files are
listed under the MSL directory of CodeWarrior. It would seem to me that they
are indicating that if you do an #include that the function should then be
prototyped. Am I missing something here?

Carl

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ben
Combee
Sent: Wednesday, February 21, 2001 6:31 PM
To: Palm Developer Forum
Subject: Re: Using ansi c (calloc)


"Carl Smith" <[EMAIL PROTECTED]> wrote in message news:40564@palm-dev-forum...
>
> I have an app with numerous calls to calloc. I've included the file
#include
>  which directs to the cstdlib file which in turn holds the
> prototype for calloc. Now if I don't include the
> #include   I get compile errors as "Function has no prototype"
yet
> when I do include the stdlib.h file I get a link error of, "'calloc'
> referenced from 'myfunction' is undefined.
>
> Does any body have any suggestions as to what the problem might be? Could
my
> project be hitting the 64k barrier? Plus how does one tell when they are
at
> or above the 64k when the project will not compile?

You are assuming that calloc() is a supported function on PalmOS.  It is
not.

Here is a quick inline version that should work similar to the ANSI C
function calloc(), and will also show you how memory is allocated on PalmOS.

inline void *calloc(UInt16 num, UInt16 size)
{
void *memory = MemPtrNew(num * size);
if (memory)
{
MemSet(memory, num * size, 0);
}
return memory;
}

and this should match with

inline void free(void *memory)
{
if (memory)
{
MemPtrFree(memory);
}
}

since your code does deallocate memory, I'd assume.

--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>



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



Special Characters in Constructor

2001-03-13 Thread Carl Smith

Does anyone know how to get some of the special characters, like bullets,
diamonds and ect. to show up in a string resource? I'm typing some help text
in the constructor and have noticed other examples where the text has these
'special' characters in a 'String' item. But I can't find the right
combination, on the keyboard, to make the symbols appear. Any suggestions?

Thanks
Carl



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



RE: Special Characters in Constructor

2001-03-13 Thread Carl Smith

You da man. Thanks for the quick and expertise advise, Ben, I really
appreciate your professionalism.

Carl

-Original Message-
From: Ben Combee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 12:17 PM
To: Palm Developer Forum
Subject: Re: Special Characters in Constructor


"Carl Smith" <[EMAIL PROTECTED]> wrote in message news:42204@palm-dev-forum...
>
> Does anyone know how to get some of the special characters, like bullets,
> diamonds and ect. to show up in a string resource? I'm typing some help
text
> in the constructor and have noticed other examples where the text has
these
> 'special' characters in a 'String' item. But I can't find the right
> combination, on the keyboard, to make the symbols appear. Any suggestions?

Use a program like AsciiChart (on the Palm) to find the symbol's hex code.
Then, hit the "hex" button next to the text area to toggle Constructor into
hex editing mode.  Enter the hex code where you want the character, then
toggle off -- I use this often to insert the over-the-air characters into
buttons for my Palm VII applications.

--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>



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



Special Characters in Constructor

2001-03-29 Thread Carl Smith

OK, my mind went blank here, so could someone help me out.

I want to set some special characters in the text attibute field of label,
like the copyright symbol, which ASCII character 168 on the palm, but I
can't remember what key combinations would make the copyright symbol. Yes I
know I could check the Hex tap and then type in the hex value of A9, to get
the symbol to appear, but I thought there was a key combination that I could
use to type it in in standard mode. What would really be nice if there was a
list/chart somewhere of the key combinations and the associated symbols.

Thanks in advance.
Carl



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



Trying to use strtok()

2001-03-29 Thread Carl Smith

I'm trying to use strtok in my code. It is defined and prototyped in
\METROWERKS\CW FOR PALM OS R6\MSL\MSL_C\MSL_Common\Include\cstring so I put
the #include "string.h" at the top of the file that is calling strtok().
Then because the compiler complains about being able to fine string.h and
ultimately cstring I put ..\Program Files\Metrowerks\CW for Palm OS
R6\MSL\MSL_C\MSL_Common and ..\Program Files\Metrowerks\CW for Palm OS
R6\MSL\MSL_C\MSL_Common\Src in my project settings under Target/Acess Paths.
Then when I compile it I get an error each time stating:
ERROR: the file 'ansi_prefix.mac.h' cannot be opened. mslGlobals.h line 34
#include  and in file ..\mslGlobals.h and another error
stating:
ERROR: the file 'bsd_mem.h' cannot be opened. cstring line 38 "include
 in file ..\cstring.

I'm assuming one can use the strtok() function, seeing as how it's defined
in Metrowerks file, and I'm probable just not seeting some radio button, or
something, in the project settings but I can't figure it out.

Anyonehave any suggestions or have you run into this before.
Thanks
Carl



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



List

2001-03-30 Thread Carl Smith

Don't know if my last post got in if it did please excuse me, but again here
is my question.

I would like to have a popup list that I am able to track where the user has
highlighted and item in the list. As the popup list window works now as one
moves the pen down a popup list the items will be highlight in turn. I would
like to be able to trap these change of highlights and display appropriate
text for each item as the user highlights one item to the next. And having
the popup go away, with the user's selection, only have the user taps the
selection a second time.

Does anyone know of any examples that have this behavior in it or have a
good reference point that I might start implementing this logic.

Thanks for this great forum
Carl



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



Re: List

2001-04-02 Thread Carl Smith

Just bumping this up to see if I can generate any responses.

Thanks

"Carl Smith" <[EMAIL PROTECTED]> wrote in message news:44229@palm-dev-forum...
>
> Don't know if my last post got in if it did please excuse me, but again
here
> is my question.
>
> I would like to have a popup list that I am able to track where the user
has
> highlighted and item in the list. As the popup list window works now as
one
> moves the pen down a popup list the items will be highlight in turn. I
would
> like to be able to trap these change of highlights and display appropriate
> text for each item as the user highlights one item to the next. And having
> the popup go away, with the user's selection, only have the user taps the
> selection a second time.
>
> Does anyone know of any examples that have this behavior in it or have a
> good reference point that I might start implementing this logic.
>
> Thanks for this great forum
> Carl
>
>
>
>



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



Compile Errors

2001-04-24 Thread Carl Smith

When I move a project from one computer to the next I get the following
error codes when I try to compile:
Error   : the file 'ansi_prefix.mac.h' cannot be opened
mslGlobals.h line 34 #include 

Error   : the file 'bsd_mem.h' cannot be opened
cstring line 38#include 

This has happend on various projects. If I use the project on the
originating computer it complies fine, if I try to use it on another
computer I get the above areas. Both machines are the same configuration in
hardware and make.
I'm using Codewarrior V6
Any ideas?

Thanks
Carl



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



Detecting form or alert id resource

2000-10-05 Thread Carl Smith

Seeing as how PalmOS's api's just blow up on passing in bad id's I'm writing
some wrapper functions that do allot of the repetitive memlock, string
resource extraction and etc. and to save myself a lot of stupid mistakes I
want to be able to detect if I'm passing in a bad form or alert resource id.
Is there some way to determine if the id that I or who ever would passing in
is not a form or an alert id. I was thinking of using an ErrFatalDisplayIf
to let the user know what went wrong, but I'm not sure how to get even to
the display message before Palm's api booms out.

Any ideas, people?

Thanks
Carl Smith





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



nilEvent and MyFormHandleEvent

2000-10-13 Thread Carl Smith

OK I'm stumped.

I set up a timed event in my applications main AppEventLoop as,
EvtGetEvent(&event, SysTicksPerSecond() * 10);

So after 10 seconds of idle myFormHandleEvent would catch it under my case
nilEvent statement. Well that part works fine, the problem is that if I
select one of the buttons on myFormHandleEvent the nilEvent gets called and
I never get a call to my ctlSelectEvent. If I comment out the case nilEvent
statement then the button taps work fine.

Any suggestions?

Thanks
Carl Smith



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



What are all these repeats.

2000-10-19 Thread Carl Smith

I'm getting multiple repeats of the same message sent to me over and over
again , from these news groups. Who is the technical support person to
contact for these news groups? Plus while I'm complaining, what is it with
no messages all night then poof about 11am est time I start getting a flood
of messages. Is this like the time the people at palmos wake up. What do
they do rub there little eyes and flick the on switch to the server as they
walk over to the coffe pot with there furry slippers on?



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



RE: long text /moving text

2000-10-19 Thread Carl Smith

this is a repeat

-Original Message-
From: kin man so [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 3:32 PM
To: Palm Developer Forum
Subject: Re: long text /moving text


Hello there,

Thanks for your help. Can you clarify me some more on how to use
FldSetText() to create the moving text effect for long text string?
I tried but my text string still got chopped off at the end. Do I have to 
write a function to call FldSetText() repeatly for different part of the 
long text string so as to make the text looks looping ? Or is that something

the system have build in function for it? I am kind of hesitated in writing 
long and resource wasteful function to do job that could otherwise done by 
the system itself


Thanks again for your help,



Andy




In a message dated 10/14/00 3:41:32 PM Mountain Daylight Time,
[EMAIL PROTECTED] writes:

>I am trying display a long text string on a single line on the screen > and

>it gets cut off at the end of the screen. I have seen some example on 
>display long text by having them move across the screen from one end to the

>other  and loop back. Can any kind soul out them kindly point me out what I

>should do to achieve this effect? I check many resource from the web
>and from the  PalmOS site and yet couldn't find any material on this.

if it's fixed text, use a field with the size/area/font you want, with no 
underlines, non-editable, and use FldSetText() at runtime

( }#^} Ritz


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


-- 
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: long text /moving text

2000-10-19 Thread Carl Smith

Hey, quite sending this message over and over again. What's up?

-Original Message-
From: kin man so [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 3:32 PM
To: Palm Developer Forum
Subject: Re: long text /moving text


Hello there,

Thanks for your help. Can you clarify me some more on how to use
FldSetText() to create the moving text effect for long text string?
I tried but my text string still got chopped off at the end. Do I have to 
write a function to call FldSetText() repeatly for different part of the 
long text string so as to make the text looks looping ? Or is that something

the system have build in function for it? I am kind of hesitated in writing 
long and resource wasteful function to do job that could otherwise done by 
the system itself


Thanks again for your help,



Andy




In a message dated 10/14/00 3:41:32 PM Mountain Daylight Time,
[EMAIL PROTECTED] writes:

>I am trying display a long text string on a single line on the screen > and

>it gets cut off at the end of the screen. I have seen some example on 
>display long text by having them move across the screen from one end to the

>other  and loop back. Can any kind soul out them kindly point me out what I

>should do to achieve this effect? I check many resource from the web
>and from the  PalmOS site and yet couldn't find any material on this.

if it's fixed text, use a field with the size/area/font you want, with no 
underlines, non-editable, and use FldSetText() at runtime

( }#^} Ritz


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


-- 
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: long text /moving text

2000-10-19 Thread Carl Smith

this is a repeat

-Original Message-
From: kin man so [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 3:32 PM
To: Palm Developer Forum
Subject: Re: long text /moving text


Hello there,

Thanks for your help. Can you clarify me some more on how to use
FldSetText() to create the moving text effect for long text string?
I tried but my text string still got chopped off at the end. Do I have to 
write a function to call FldSetText() repeatly for different part of the 
long text string so as to make the text looks looping ? Or is that something

the system have build in function for it? I am kind of hesitated in writing 
long and resource wasteful function to do job that could otherwise done by 
the system itself


Thanks again for your help,



Andy




In a message dated 10/14/00 3:41:32 PM Mountain Daylight Time,
[EMAIL PROTECTED] writes:

>I am trying display a long text string on a single line on the screen > and

>it gets cut off at the end of the screen. I have seen some example on 
>display long text by having them move across the screen from one end to the

>other  and loop back. Can any kind soul out them kindly point me out what I

>should do to achieve this effect? I check many resource from the web
>and from the  PalmOS site and yet couldn't find any material on this.

if it's fixed text, use a field with the size/area/font you want, with no 
underlines, non-editable, and use FldSetText() at runtime

( }#^} Ritz


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


-- 
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: long text /moving text

2000-10-19 Thread Carl Smith

this is a repeat

-Original Message-
From: kin man so [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 3:32 PM
To: Palm Developer Forum
Subject: Re: long text /moving text


Hello there,

Thanks for your help. Can you clarify me some more on how to use
FldSetText() to create the moving text effect for long text string?
I tried but my text string still got chopped off at the end. Do I have to 
write a function to call FldSetText() repeatly for different part of the 
long text string so as to make the text looks looping ? Or is that something

the system have build in function for it? I am kind of hesitated in writing 
long and resource wasteful function to do job that could otherwise done by 
the system itself


Thanks again for your help,



Andy




In a message dated 10/14/00 3:41:32 PM Mountain Daylight Time,
[EMAIL PROTECTED] writes:

>I am trying display a long text string on a single line on the screen > and

>it gets cut off at the end of the screen. I have seen some example on 
>display long text by having them move across the screen from one end to the

>other  and loop back. Can any kind soul out them kindly point me out what I

>should do to achieve this effect? I check many resource from the web
>and from the  PalmOS site and yet couldn't find any material on this.

if it's fixed text, use a field with the size/area/font you want, with no 
underlines, non-editable, and use FldSetText() at runtime

( }#^} Ritz


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


-- 
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: long text /moving text

2000-10-19 Thread Carl Smith

this is a repeat

-Original Message-
From: kin man so [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 3:32 PM
To: Palm Developer Forum
Subject: Re: long text /moving text


Hello there,

Thanks for your help. Can you clarify me some more on how to use
FldSetText() to create the moving text effect for long text string?
I tried but my text string still got chopped off at the end. Do I have to 
write a function to call FldSetText() repeatly for different part of the 
long text string so as to make the text looks looping ? Or is that something

the system have build in function for it? I am kind of hesitated in writing 
long and resource wasteful function to do job that could otherwise done by 
the system itself


Thanks again for your help,



Andy




In a message dated 10/14/00 3:41:32 PM Mountain Daylight Time,
[EMAIL PROTECTED] writes:

>I am trying display a long text string on a single line on the screen > and

>it gets cut off at the end of the screen. I have seen some example on 
>display long text by having them move across the screen from one end to the

>other  and loop back. Can any kind soul out them kindly point me out what I

>should do to achieve this effect? I check many resource from the web
>and from the  PalmOS site and yet couldn't find any material on this.

if it's fixed text, use a field with the size/area/font you want, with no 
underlines, non-editable, and use FldSetText() at runtime

( }#^} Ritz


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


-- 
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: What are all these repeats.

2000-10-20 Thread Carl Smith

Andy-

Thanks for the info. This palm forum/news reader/server seems pretty flaky.
On again, off again. Some times one can log in other times one can not. What
are they doing running this thing on an old 386 machine with windows 95 as
the server?

Carl

"andy so" <[EMAIL PROTECTED]> wrote in message
news:27426@palm-dev-forum...
>
> Hi Carl,
>
> If you are referring to the post on "Long text/ Moving text",
> I have already posted my explanation to there.
>
> It seems there was a problem with the news server on the day I post the
> question. I only posted one follow-up posting and yet the news server
> creates whole bunch of posting for it. I have already send an e-mail to
the
> owner of the palm-dev-forum about this server problem. Actually, I wasn't
> even able to connect to the news server for two day too, so I am
interested
> to know what's going on too...
>
>
> Thanks,
>
>
> Andy
>
>
> "Carl Smith" <[EMAIL PROTECTED]> wrote in message
> news:<27418@palm-dev-forum>...
> >
> >I'm getting multiple repeats of the same message sent to me over and >
over
> >again , from these news groups. Who is the technical support person to
> >contact for these news groups? Plus while I'm complaining, what is it >
> >with no messages all night then poof about 11am est time I start getting
a
> >flood of messages. Is this like the time the people at palmos wake up.
What
> >do they do rub there little eyes and flick the on switch to the server as
> >they
> >walk over to the coffe pot with there furry slippers on?
> >
>
> _
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>
>



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



RE: DesInstall Conduit

2000-10-20 Thread Carl Smith

Adrien-

One standard way is to write the install program with InstallShield Pro.

Carl

-Original Message-
From: Adrien Crochet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 18, 2000 3:16 AM
To: Palm Developer Forum
Subject: DesInstall Conduit


Hello,

 I've made a programm which install some files and a conduit on the palm

but I'd like to know if there is a way to automatically desinstall the
conduit when the user uses 'Add/Remove programs' ?? thx.




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



Creating Databases Dynamically

2000-10-26 Thread Carl Smith

Does anyone know of or have suggestions on the possibility of creating DBs
dynamically? In other words I want to create a database(s) as the
application is running. The application would start with one or two static
dbs but as the user needs I would like to create other dbs, depending on the
user's input.

Thanks in advance
Carl



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



Re: Creating Databases Dynamically

2000-10-26 Thread Carl Smith

Federico-

Thanks for taking the time to respond to my post, but I do know the
fundamentals of the PalmOS. Maybe I wasn't clear, but my situation is that
if I am creating an unknown about of databases how would one go about
creating the name (nameP) of the database and reference this name across
mutiple c files. Such as DBName1, DBName2 and etc. Could one keep the
database names in an array and reference them across other c files by
calling something like DBName[1]? But then how would one make them extern to
other files?

Any body out there have any input?

Carl

"Federico Vaggi" <[EMAIL PROTECTED]> wrote in message
news:28122@palm-dev-forum...
>
> This function creates a database:
>
> Err  DmCreateDatabase (UInt cardNo, CharPtr nameP, ULong creator,  ULong
> type, Boolean  resDB)
>
> Where:
>
>  cardNo is the card where the that will be created
> nameP   is the name of the database(up to 31 characters)
> creator   is the creator id.
> type  is the type.
> resDB   if true, will create a resourse database. (You must set this
false)
>
>  This function returns 0 if no error, or the error code  if an error
occurs
>
>
>
> Federico Vaggi
> Irion S.A.
> Av. Cordoba 795 - 1Piso Of. 2
> (1054) Cap.Fed. - Bs.As.
> T/4315-5556 int. 118
> F/ 4315-8260
>
> - Mensaje original -
> De: "Carl Smith" <[EMAIL PROTECTED]>
> Para: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Enviado: Thursday, October 26, 2000 11:05 AM
> Asunto: Creating Databases Dynamically
>
>
> > Does anyone know of or have suggestions on the possibility of creating
DBs
> > dynamically? In other words I want to create a database(s) as the
> > application is running. The application would start with one or two
static
> > dbs but as the user needs I would like to create other dbs, depending on
> the
> > user's input.
> >
> > Thanks in advance
> > Carl
> >
> >
> >
> > --
> > 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: Creating Databases Dynamically

2000-10-26 Thread Carl Smith

Dave-

Thanks for the great suggestions, I forgot about the number 2 way. Good
deal.

I like 2 because coming in and out of the application the database names are
always accessible, of then 3 I assume would work that way to, but I have not
done much with the feature manager.

Again thanks for the enlightment Dave,

Carl


"Dave Carrigan" <[EMAIL PROTECTED]> wrote in message
news:28129@palm-dev-forum...
>
> "Carl Smith" <[EMAIL PROTECTED]> writes:
>
> > Thanks for taking the time to respond to my post, but I do know the
> > fundamentals of the PalmOS. Maybe I wasn't clear, but my situation is
that
> > if I am creating an unknown about of databases how would one go about
> > creating the name (nameP) of the database and reference this name across
> > mutiple c files. Such as DBName1, DBName2 and etc. Could one keep the
> > database names in an array and reference them across other c files by
> > calling something like DBName[1]? But then how would one make them
extern to
> > other files?
>
> There are lots of ways to approach this.
>
> 1. Keep the database names in a global array, linked list, etc. See any
>C programming reference for how to declare global variables that are
>accessible between compilation units.
>
> 2. Store the database names in the preferences database and access them
>with the Pref* functions.
>
> 3. Store the database names using the feature manager and access them
>with the Ftr* functions.
>
> 4. Create the databases with different data types, then search or open
>them using DmGetNextDatabaseByTypeCreator() or
>DmOpenDatabaseByTypeCreator().
>
> --
> Dave Carrigan ([EMAIL PROTECTED])| Yow! NEWARK has been
REZONED!!
> UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | DES MOINES has been
REZONED!!
> Seattle, WA, USA|
> http://www.rudedog.org/ |
>
>



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



illegal token when initializing structure.

2000-11-02 Thread Carl Smith

OK here's a weird one, at least for me.

I have a structure:
 typedef struct
{
 ULong  ItemID;
 const char  *thing;
 const char  *secondthing;
 const char  *thirdthing;
 const char  *fourththing;
} Item;

I load and initialize my database using the above structure starting out
with the following initialization code:

Item c1 ={10010,"text","text1","text"2,"text3"};
Item c2
={010018,"differenttext","differenttext1","differenttext2","differenttext3"}
;

What happens is at Item c2 I get a "Error : illegal token" from Code
Warrior. If I remove the leading 0 from the 010018 variable it compiles
fine. I've also found out that if you use any number below 8, at the end,
such as 010017 and below, it also compiles find, but using 8 or 9 I get the
above mentioned error.
Any ideas why it falls apart with the leading 0 infront of the 8 or 9?

I've also tried swapping the ULong for SDWord and still no luck.

Thanks
Carl Smith



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



Re: Dynamic DB size.

2000-11-06 Thread Carl Smith

Jim- I really appreciate you taking the time to respond to my question.

Peopel, one thing I forgot to mention was that I was using palmos 3.1. Now
according to "Palm
Programming, the Developer's Guide" by O'Reilly", which I do own, it states
that the db is not limited to 64k after 3.0. I know the record size is
limited to 64k but not the db itself.

So does that mean that the db could be unlimited in size, as long as each
record is less than 64k, and that the application is less than 64k, there
should be no memory issues or problems with the application running once the
64K+ db has been synched to the palm?

I admit that I can't remember every single word of every book I've ever
read, but I thought there where some friendly and very knowledgeable people
on this forum that could zip off a quick answer. And confirm or deny my
understanding of the way I thought the OS was designed. I don't need spam
answers to my questions, "A very good book, "Palm
Programming, the Developer's Guide" by O'Reilly is very good.  An online
preview can be found here:
http://www.palm.com/devzone/docs/pptdg/TableOfContents.htm"
I get enough of that in my emails. So if Brian knew the answer why couldn't
he just state it?

Thanks again
Carl



"Jim Cooper" <[EMAIL PROTECTED]> wrote in message
news:29222@palm-dev-forum...
>
>
> > Ah so you don't know the answer either.
>
> I'm sure Brian does know. The issue of code size and database size are
> separate issues (as you would expect because they are different things).
>
> As for the limits on database sizes, AFAIK max record size is 64k, and
> there can be 64k records. You can also use file streaming to get bigger
> block sizes, but then you can't write a conduit.
>
> Cheers,
> Jim Cooper
>
> _
>
> Jim Cooper  [EMAIL PROTECTED]
> Tabdee Ltd  http://www.tabdee.ltd.uk
>
> TurboSync - Writing Palm conduits with Delphi
> _
>
> Learn how to program Palms in Pascal with the
> Pocket Studio Early Experience Program!
>
>  http://www.middlecloud.com
>
>



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



Re: Dynamic DB size.

2000-11-06 Thread Carl Smith

Steve-

Thank you so much for the precise and "to the point" answers. I really
appreciate it.

Carl Smith

"Steve Mann" <[EMAIL PROTECTED]> wrote in message
news:29264@palm-dev-forum...
>
> >  does that now make the app size above and
> >beyond the 64k limit and cause some memory management errors
>
> No.
>
> >or is the
> >database separate from the application size and what I'm seeing is just
the
> >db and the app added together because they use the same creatorID?
>
> Yes.
>
> 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/