Hi,
I am still modifying a MemoPad application. My application gets loaded ok
with just one warning "variable 'attr' not initialized" in a function
Details Apply() (i dont know if this could be causing the problem) but when
i try to access the new edit form I am getting a "Low memory" error.
Than
You will need to see what return code is. If -1, then err will have the
error code. I bet it is "parm error". On POSE debug roms it appears that
you need to use a NULL for both fromaddrP and fromlenP parameters. But I'm
just guessing. Very little discussion is in the threads, as I have had th
Hi All,
What is the correct way to use the NetLibReceive Function?
I found I cannot receive anything from the server.
But I can sucessfully connect and sending data to the server.
Is this the correct way?
char buffer[200]="";
NetLibReceive(refno,socket,buff,200,0,(NetSocketAddrType*)&ad
Seems like an even bigger problem would be to build in the Palm device
holder to the car stereo so that you can beam a big file without having
to hold the device steady. :)
There's an idea, though. We should all carry with us our "Theme Song."
(Kinda like in the movie, "I'm Gonna Get You Sucka":
At 4:56 PM -0400 7/23/01, Vang, Vang (V.) wrote:
>How do I parse a *.MP3 file > 64k into *.PDB file with multiple records <
>64k on the PC. If you know of any MP3 software for Palm and/or any file
>converter for the PC that would be great. Otherwise, anyone know how I can
>attempt this, splitting
Peter Epstein wrote:
>
> I think I ran into this same problem several years ago. I had an about
> dialog that I presented when the app was first run. When the dialog was
> closed, I used FrmReturnToForm. At first, I had this full screen dialog open
> right away, but this caused problems when clos
The idea behind popping up a form is that the current form stays on the
screen UNDER the new one. This is especially important when the new form
doesn't fill the screen, as you can still see bits of the form underneath.
When a form is closed, if it saved the bits under itself, those bits are
norm
When I call FrmPopupForm(formID) the form I call it from isn't erased from
the screen? This sort of behavior isn't mentioned in the Palm programming
bible or the SDK.. does this happen for everyone else ?
Then, upon a FrmReturnToForm(formID), the screen IS erased and the prior
form is not displa
Write your own trig functions. Considering what you are doing, you may want
to trade off memory for speed and make a simple lookup table for your trig
functions. The source for Mathlib is provided so you can see the routines
of the exact functions you are using. Then, you can modify them for
"Stephan Veigl" <[EMAIL PROTECTED]> wrote in message
news:57270@palm-dev-forum...
>
> Hi
>
> > I would like to know if it possible to change the applications icon name
at Runtime.
>
> the icon name is the resource database name of the app.
No, the icon name is contained in the tAIN resource. Th
> From: Jeremy Nuss [mailto:[EMAIL PROTECTED]]
> I've gone through all my code a dozen time to ensure that there
> is no possibility that the offending Handles could be locked...
> and there isn't. They just plain get unlocked every time
Consider adding liberal amounts of assert code to help fin
You might want to try something like Jeff Ishaq's memory leak detecting
code. I don't remember if Jeff's code wraps MemHandleLock/Unlock, but it's
easy enough to add if it doesn't. For your particular problem, you could
probably get away with just wrapping MemHandleLock/Unlock. If you rely on
Mem[
Hey everyone. I have been running into some problems with MemHandles being
locked when I go to resize them. I've gone through all my code a dozen time
to ensure that there is no possibility that the offending Handles could be
locked... and there isn't. They just plain get unlocked every time t
How do I parse a *.MP3 file > 64k into *.PDB file with multiple records <
64k on the PC. If you know of any MP3 software for Palm and/or any file
converter for the PC that would be great. Otherwise, anyone know how I can
attempt this, splitting into records?
Sincerely,
Vang Vang
Vang Vang
Stude
> From: [EMAIL PROTECTED]
>
> How do I turn off the optimizations?
In CodeWarrior, open the project Settings panel (Edit | {projectname}
Settings...), then highlight "Global Optimizations" under Code Generation.
On the right hand side of the panel, move the slider to "Optimizations Off".
>
> For
since you are changing the ID of the event, I would have to guess that it is
a second event.
maybe a second one is generated when the alert pops up and the user is still
holding the key down?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of James
Sent:
"Vang, Vang (V.)" <[EMAIL PROTECTED]> writes:
> Using visual c++ as an editor, I am trying to locate the beginning or ending
> of a record in a raw "*.pdb" file. Can some home help me determine the
> characters to look for? I think "\r\n" represents the division but I am not
> sure.
You can't do
Using visual c++ as an editor, I am trying to locate the beginning or ending
of a record in a raw "*.pdb" file. Can some home help me determine the
characters to look for? I think "\r\n" represents the division but I am not
sure.
Vang Vang
Student Engineer
Office: (313)755-8392
Email: [EMAIL PROT
You could start with learning how to write software for the PalmOS. I
suggest the Palm Programming book by Neil Rhodes.
>From: "Vang, Vang (V.)" <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Handling MP3 file
Atlanta PalmOS Developer's Group (AtlPDG) is proud to present Anthony
Gigante from Pumatech who will be demonstrating Satellite Forms. The
meeting will be held on July 24, 2001 at 7:00PM CDT and all are welcome.
Please go to http://groups.yahoo.com/group/atlpdg for more information!
--
Jon C. Za
First of all, you don't necessarily need tmp as the l value of the call to
StrToLower. The "result of StrToLower is stored in the first parameter
(tmp)...
Second, what is tmp? If it's a char* (which is what StrToLower expects), you
need to initiliaze it with enough size to accept "ad". You might t
The important thing is to keep your use of dynamic heap memory within
acceptable limits. These limits vary from OS version to OS version, and from
device to device, so check the knowledge base for details. If you stay
within these limits, you should rarely have to worry about new failing.
Users wh
If you want to detect taps, check for a penDownEvent, not a keyDownEvent.
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
>From a user experience point of view, I wouldn't suggest turning the screen
off during a long computation. Remember that a CPU running flat out doing
computation will use enough power that keeping the screen on won't have that
big an effect on battery life. Normally, the CPU is dozing most of the
it is % but it works for integers only
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 10:43 AM
Subject: Modulus?
> I am having trouble finding the modulus operator/function in codewarrior
for
> the Palm. Is ther
If you're working with positive integers, the % operator in C will give you
the modulus. Here is an uncompiled example:
UInt16 a, b, c;
a = 106;
b = 5;
c = a % b;
Result: c == 1
If either of your arguments to the modulus function can be negative, the
behavior of the % operator is machine depen
I have a little program where I want to intercept a couple of keyDown
Event's and do some things base on them. Basically I "cheated" and did the
following:
void AppEventLoop(void)
{
UInt16 error;
EventType event;
do
{
EvtGetEvent(&event,evtWaitForever);
if(event.etype==keyDown
I think I ran into this same problem several years ago. I had an about
dialog that I presented when the app was first run. When the dialog was
closed, I used FrmReturnToForm. At first, I had this full screen dialog open
right away, but this caused problems when closing the about dialog. So, I
chan
How do I turn off the optimizations? I believe I have set to the lowest
optimization level. In Global Optimization, I have Fast Execution Speed
checked, Large Code Easier Debugging set to level 0 (or Optimizatio, all
the way to the left).
For your first question, frmP->formId = 0 was after exe
> Thanks for taking the time to respond to my question about setting up the
> prc-tools. The thing that I found that I was doing wrong was that I had
> mounted c:\PalmDev\sdk-4 to /PalmDev. Therefore, the compiler was looking
> for the sdk (I assume) in this folder. When I mounted c:\PalmDev
Hi All,
I have used the following code to get web page from web server.
///
UInt16 errno;
UInt16 refno = 0;
NetSocketRef socket;
Err err;
NetIPAddr ipaddr;
NetSocketAddrINType
Aaron,
Thanks for taking the time to respond to my question about setting up the
prc-tools. The thing that I found that I was doing wrong was that I had
mounted c:\PalmDev\sdk-4 to /PalmDev. Therefore, the compiler was looking
for the sdk (I assume) in this folder. When I mounted c:\PalmDev
It looks like the offical release of the HP Coolbase software has
happened...
http://www.cooltown.com/dev/reference/coolbase/
The PalmOS stuff is at
http://www.cooltown.com/dev/reference/coolbase/ds-esquirt.asp
(In the right-hand panel under "for Palm" you'll see all the documentation)
And t
I want to transfer an MP3 file from the PC to the palm using hotsync. Next I
want to be able to I transfer the MP3 file from the palm to another PDA with
MP3 capability, so I can play it.
Where do I begin?
Vang Vang
Student Engineer
Office: (313)755-8392
Email: [EMAIL PROTECTED]
"Imagination is
In Palm OS ® Programmer's API Reference for SDK 4 the SrmControl
return value section is missing. Does anyone knows about it return
codes? Its prototype is:
Err SrmControl(UInt16 portId, UInt16 op,
void *valueP, UInt16 *valueLenP)
I'm using this function and its returning a non zero value.
Thanks
hello,
I write:
tmp=StrToLower(tmp,"AD");
and There is this error:
"Projet (1.0) just wrote to memory location 0x0001B61A, which is in the
storage heap. In order to protect the integrity of the user's data, such
direct access is not allowed. Instead, applications should use special Palm
OS func
Cool. If the first tap signals the graffiti manager to go into symbol
entry mode, what would the best method be for detecting that first tap
in the INPUT AREA only, not the 160x160 screen?
S.
>Because the first tap signals the graffiti manager to go into symbol
>entry mode, then the second tap
On 7/21/01 3:51 AM, "Madina" <[EMAIL PROTECTED]> wrote:
> 3-I am trying to create a small prototype for academic purposes about an
> enterprise solution for a hospital. I want to create records of Patients,
> Physicians, Medications, etc. In the forms that i created, i have many
> fields and ta
> From: Rhoda BEROL
>
> I can use the function "GetCharCaselessValue" because it is obsolete.
> Is there an other function which do the same thing?
>
If you read the documentation for GetCharCaselessValue, you'll see that it
says, "This function is provided for backwards compatibility only. Use T
> I have just added another list box to my application and added to items
> to it. The first is 'Testing1' and the other is 'Testing2'. The first
> (top) item in the list displays correctly but the second item is
> displayed as 'ting1'. I noticed that the second item is not part of
> 'Testing2' bu
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> I am having trouble finding the modulus operator/function in
Hmm - it always works for me
> I know that it is usually just the % operator, but that seems to be
> unrecognized...
can you post some code and error messages please
Fergal.
--
I am having trouble finding the modulus operator/function in codewarrior for
the Palm. Is there some library I need to include, or what?
I know that it is usually just the % operator, but that seems to be
unrecognized...
Thanks.
Very truly yours,
Rob G.
--
For information on using the Palm
"Stephen Bentley" <[EMAIL PROTECTED]> wrote in message
news:57452@palm-dev-forum...
>
> Yes, I am checking in the main event loop. The funny thing is, if I
tap
> on any silk-screened button (menu, find, calc, etc.) or the ABC or 123
> area, I get the keydownevent. If I tap in just the input are
Hello,
I can use the function "GetCharCaselessValue" because it is obsolete.
Is there an other function which do the same thing?
Thanks
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Stack size varies within different versions of the Palm OS. I don't recall
the numbers, but they're in the docs somewhere. Also, stacksize is
configurable in CodeWarrior -- assuming that's your development tool.
Michael Yam
www.ytechnology.com
manish jaggi <[EMAIL PROTECTED]> wrote in message
> From: Madina
>
> I am getting 6 errors:
> undefined identifier for 'dmCategoriesLength'
That should be spelled dmCategoryLength (it is 16)
> and 2 for 'ctl'. And
It would be better to use
ControlType * ctl;
but that isn't causing the error.
> expression syntax error for the 1st and 3rd l
I have just added another list box to my application and added to items
to it. The first is 'Testing1' and the other is 'Testing2'. The first
(top) item in the list displays correctly but the second item is
displayed as 'ting1'. I noticed that the second item is not part of
'Testing2' but the back
Yes, I am checking in the main event loop. The funny thing is, if I tap
on any silk-screened button (menu, find, calc, etc.) or the ABC or 123
area, I get the keydownevent. If I tap in just the input area it takes 2
taps
to find the keyDownEvent. Why can't I see the single tap?
S.
>Are you c
The code is an exact copy of MemoPad tutorials. It is supposed to
initialize the details form which displays a private record checkbox and a
popup trigger for the categories. I have removed the checkbox and removed
the code which i thought was for the private box (by commenting them with
//). I
What's the problem? Are you getting errors? If so, what are they? What are
you trying to do?
george r.
"Madina" <[EMAIL PROTECTED]> wrote in message
news:57389@palm-dev-forum...
>
> Hi,
> This is the code from MemoPad but changed a bit. I have been using the
code
> for my small application. I
Yes, the list box is wide enough to display all the characters. The list
items were put in place at design time and the Constructor shows them in
their entirety.
-Original Message-
From: Igor Mozolevsky [mailto:[EMAIL PROTECTED]]
Sent: 23 July 2001 12:21
To: Palm Developer Forum
Subject:
Instead of assigning the address of gpGateway to that of pGateway, you could
just do a StrCopy (gpGateway, pGateway). Thus gpGateway woul then have the
value of you're global string, but it'd still be a pointer that you could
"sling" into different functions. Of course, you may have size issues if
hi,
has anyone got "HideMenuItem" to work properly?
I tried it using this code:
Boolean BaseFrm::EventHandler (EventPtr eventP)
{
Boolean bHandled=false;
switch (eventP->eType)
{
case menuOpenEvent:
MenuHideItem (MyMenuItemID);
bHandled = true;
bre
--On 23 July 2001 12:17 +0100 Ian Munro <[EMAIL PROTECTED]> wrote:
> I have written an application that uses a list box that displays 8
> items. The program works fine under all OS versions apart from OS4.
> Under this version all the items in the text box are truncated to 5
> characters long.
"Joe Siebenmann" <[EMAIL PROTECTED]> wrote in message
news:57414@palm-dev-forum...
>
> Hi All,
>
> This is driving me totally nuts! In my app I do:
>
> FrmGotoForm(ExecuteForm);
> handled = true;
> .
> .
> return handled;
>
>
> Then a FrmCustomAlert() I put in the frmOpenEvent of ExecuteForm
> p
>From: "manish jaggi" <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Stack Overflow problem
>Date: Mon, 16 Jul 2001 09:25:09 -
>
>My application is a segmenyed one and the segment size is under 68K
>it is j
I have written an application that uses a list box that displays 8
items. The program works fine under all OS versions apart from OS4.
Under this version all the items in the text box are truncated to 5
characters long. The program has been written using OS 3.1 libraries
under CodeWarrior 7 and Co
Hi?
Can I update just some part of a form?
If I update whole form, buttons, strings on the form or menu text flicker.
So, I'd like to update some portion of my form.
How can I do that?
Thank you.
Jeong
--
^_* --
JeongHoe Kim
R&D Center, SK C&C
+82-2-2259-4064
+82-11-741
Say my app was about to perform a very long computational excercise (like
calculate pi to the nth decimal place) (this isn't my application but it
demonstrates the issues). Would it be possible to switch the screen off to
conserve power but effectively stay in running mode?
TIA,
- John
--
F
Hi folks,
The OS closes the app when new fails so how should a palm application
shld react.
1. Shld it follow the default behavoir and do nothing..
2. Shld it display a msg box and quit the app.
I mean to ask is there any standard behavoir for that or is anything
specified in thr UI guide
<[EMAIL PROTECTED]> wrote in message news:57427@palm-dev-forum...
> errno = SysLibFind("Net.lib",&refno);
> I found in calling the NetLibSocketConnect Functions ..the return
> value is -1.
Probably because you haven't added InetLib.prc to your session
of POSE...
--
Internet, newsgroups, e-ma
Stack window is stay "__destroy_global_chain"
Variables window showed "__global_destructor_chain"
Sourct window is "002259A2: 2B52FFC2move.l (a2),-62(a5)"
"I am johnny~" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
news:57422@palm-dev-forum...
>
> Hi ... All:
> me again ~ ^^|||
>
> My App occur an error ~
I am using Mathlib.prc for Trignometric calculations.
This library is useful but it takes hell lot of time is there any substitute
for it
Manish
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
Fo
In the PalmOS Source coide area I can only see the links to the source of
v3.5 and v3.0...
Where are the source of PalmOS 4.0?
pietro
--
The pawn is the most important piece on the chessboard...
up to the pawn.
--
For information on using the Palm Developer Forums, or to unsubscribe, pleas
64 matches
Mail list logo