On Sat, Feb 16, 2002 at 10:16:39AM +, prasad wrote:
hello,
I am facing the problem with StrNCopy();
please see this one.
CharPtr recText = thisisfromlaxma;
CharPtr test = fromlaxma;
CharPtr test1;
StrNCopy (test1,recText,StrLen(recText)-StrLen(test));
actually the thisis
On Fri, Feb 15, 2002 at 09:22:07PM -0700, Terry Dennis wrote:
I don't get paid
to rewrite stuff. Just to write it so that it works reliably.
I'm having difficulty telling the difference between these two.
Are you saying that if you don't get it right the first time, you're not
allowed to go
I'm confused about a memory leak the new POSE 3.4 is reporting and I'm
hoping someone can enlighten me.
I have two methods used to save a screen rectangle and restore
it. Something like this:
static WinHandle offscreen = 0;
void Save(void)
{
offscreen = WinCreateOffscreenWindow(...);
I am converting the jpg images in to .pdb format and showing images in the
palm with the help of DmGet1Resource .
For conversion, I am using Palm Resource Importer(PRI).
While displaying some of the dimensions are big that i was able to see only part of
the images in the form.
There's a difference between fixing bugs and rewriting code. The
suggestion was to switch to a gadget. That's not a simple bug fix. A
gadget would require much more manipulation by my set of library routines.
Essentially what I built was an object (using OOP terminology) that uses
standard
Sorry, I worded that wrong. Constructor doesn't have an explicit way to
define a frameless button, but the text that accompanies the Frame
attribute implies that buttons can be built with no frames ... which is why
I started poking around way back when to figure out how to do that and
stumbled
Only to people who have the binary, I think. I'm certainly no expert on
the
subject. But the whole point of the GPL is to allow people using a
program
to modify that program. There's nothing that says that the source is
freely
distributable.
#include JohnMarshallCorrections.h
(since
According to the Palm OS Programmer's API Reference in the PalmOSGlueLib
chapter ...
Note: PalmOsGlue is a link library, not a shared library. Linking with
this library increases your application's code size. The amount by which
your code size increases varies depending on the number of
Never mind ... I finally found the Generate Link Map option, which is
under the Debugger Info section in the Settings panel (why there?).
The link map shows that the final application size is 61KB.
So, it appears that the Project window displays an incorrect code size.
Maybe not incorrect ...
On Fri, Feb 15, 2002 at 03:33:17PM -0800, Keith Rollin wrote:
[Max Bian wrote]
Isn't [it] true according to the GPL, they have to supply the source
code at least upon request?
Only to people who have the binary, I think. I'm certainly no expert on the
subject. But the whole point of the
Subject: Re: POSE 3.4
From: Terry Dennis [EMAIL PROTECTED]
Date: Fri, 15 Feb 2002 09:54:02 -0700
SNIP
So, now I have another gripe to add to my list ... along with my
outstanding gripes about no way to dynamically allocate scrollbars, and no
way to dynamically add a frameless button. or
Subject: problem with StrNCopy
From: prasad [EMAIL PROTECTED]
Date: Sat Feb 16 11:30:54 2002
hello,
I am facing the problem with StrNCopy();
please see this one.
CharPtr recText = thisisfromlaxma;
CharPtr test = fromlaxma;
CharPtr test1;
StrNCopy
John,
for example its not allowed only to make the sources
available on request, or by patches (diffs) etc.
Nope.
Because we're not all spammers ;-) (and web and ftp etc are pull
technologies, not push), there's a sense in which sources are always
provided by request. And you may
Except from FSF explicitly pointing this out, I agree with you about
providing patches instead of the complete sources, but that might not
make FSF change their minds... :-)
I've been fighting this same exact issue with Sony and the FSF since
last May, in fact. I have requested the
Am I right in thinking that I dont need to create a list data
structure to get this to work.
You're right.
I have looked around in the documentation but have only seen how to
construct the list from a list data structure.
Look in the SDK sample code for LstSetDrawFunction, do a google
search
ram wrote:
I am converting the jpg images in to .pdb format
and showing images in the palm with the help of
DmGet1Resource .
For conversion, I am using Palm Resource
Importer(PRI). While displaying some of the
dimensions are big that i was able to see only
part of the images in the
What I don't understand is:
2) How can Poser tell this is a leak if the app hasn't ended? i.e. How
does it know this is a leak as opposed to memory that I'm not finished
using?
I can't answer the other questions, but imagine if you had code like ...
char *fred;
fred =
At 10:09 AM 2/17/2002 +1100, Harry Ohlsen wrote:
What I don't understand is:
2) How can Poser tell this is a leak if the app hasn't ended? i.e. How
does it know this is a leak as opposed to memory that I'm not finished
using?
I can't answer the other questions, but imagine if you had
Hi Harry,
I don't want to get into a big discussion about this, especially since I'm
definitely no expert on the subject, but ...
Thanks for the response. I agree that in a simple case like this it might
be possible to detect a leak although I'm skeptical that Poser does
this. In
Hi-
I trying to run a sample app in POSE and get an error message saying I'm
trying to read from a memory location which is in the 'numColumns'
field
It then goes on to say the data at this memory location is owned by the Form
Manager.
I'm new to Palm programming so this doens't make
From: Harry Ohlsen [mailto:[EMAIL PROTECTED]]
If the memory management in Poser is done by reference counting
Poser's memory leak detection just tracks your Memory Manager allocations
and deallocations, like many other heap debugging tools. It doesn't examine
what actually happens to
At 04:07 PM 2/16/2002 -0800, Scott Johnson wrote:
snip
I don't know why Poser would check for memory leaks while Bob's app is still
running. It checks in a SysAppExit patch. Bob: does your app use
SysAppLaunch and/or SysUIAppSwitch to integrate multiple app databases into
one logical user
Well I found the problem in the Palm Object Library. They are accessing the
numColumns variable as so:
return ((const Glue_TableType*)pTable)-numColumns;
Any ideas? Is this a POSE thing?
Thanks!
Dave
Dave Brown [EMAIL PROTECTED] wrote in message
news:76939@palm-dev-forum...
Hi-
I trying
Sounds like you're trying to access an internal table structure. That's a
no-no because your app might not run on future releases of Palm OS.
Check out TblGetNumberofColumns if you're on Palm OS 4.0 or above. Or,
check out TblGlue.h for a corresponding function that will support earlier
I finally figured it out.
I was using a Palm OS 4 ROM and if I went back to a 3.x it works fine. So
the question is how do apps on a real Palm function? Is this a POSE thing
basically informing me there's a better way?
Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
On Sat, 16 Feb 2002, Dave Brown wrote:
I was using a Palm OS 4 ROM and if I went back to a 3.x it works fine.
So the question is how do apps on a real Palm function? Is this a POSE
thing basically informing me there's a better way?
Not quite. It's informing you that you (or something
On Sat, Feb 16, 2002 at 08:23:18PM -, Christian Falch wrote:
About the patch/diff-question, read the following section from the GPL FAQ:
[...]
The essence of it is You need to provide complete sources, not just diffs,
with the binaries.
I don't mean to be pedantic, but since I myself do
Great thanks for the help!
That means the POL is doing it incorrectly? I saw they have a different call
for 4.0.
Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Terry
Dennis
Sent: Saturday, February 16, 2002 6:00 PM
To: Palm Developer Forum
At 04:07 PM 2/16/2002 -0800, Scott Johnson wrote:
I don't know why Poser would check for memory leaks while Bob's app is still
running. It checks in a SysAppExit patch. Bob: does your app use
SysAppLaunch and/or SysUIAppSwitch to integrate multiple app databases into
one logical user
On Sun, 17 Feb 2002, John Marshall wrote:
John
john, you posted this at 2am norway time.. and, its saturday! hit
the pubs man! enjoy the nordic countries while you are here :P
// az
[EMAIL PROTECTED]
http://www.ardiri.com/
--
For information on using the Palm Developer Forums, or to
Dear Steve,
Firstly thanks for the help you have provided me with so far, it is greatly
appreciated.
I think that I am close to getting the list to draw (I hope). This is what I
have come up with so far.
case MyButton:
LstSetDrawFunction(listP, DrawOneString);
LstSetListChoices(listP, NULL,
Terry Dennis [EMAIL PROTECTED] wrote in message
news:76919@palm-dev-forum...
Never mind ... I finally found the Generate Link Map option, which
is
under the Debugger Info section in the Settings panel (why there?).
The link map shows that the final application size is 61KB.
So, it appears
Dave Brown [EMAIL PROTECTED] wrote in message
news:76944@palm-dev-forum...
Well I found the problem in the Palm Object Library. They are
accessing the
numColumns variable as so:
return ((const Glue_TableType*)pTable)-numColumns;
Any ideas? Is this a POSE thing?
Have you updated to POL
Dave Brown [EMAIL PROTECTED] wrote in message
news:76950@palm-dev-forum...
Great thanks for the help!
That means the POL is doing it incorrectly? I saw they have a
different call
for 4.0.
Only use the POL40 libraries -- the latest version of it are built with
strict headers and the SDK 4.0
I'm interested to learn more about taking advantage of the expanded mode
features of CodeWarrior 8. Moreover, I'm really interested to learn how I
can take advantage of any of my C++ objects in launches were globals are not
setup.
I'd appreciate if anyone could steer me in the right direction to
I think that I am close to getting the list to draw (I hope). This
is what I have come up with so far.
No, you're not very close. It appears you haven't tried to find any
samples as I suggested in my last posting.
The callback routine is as follows:
The callback routine gets called one time
36 matches
Mail list logo