You guys seem to miss the point.
Aaron's motto has always been;
"If it can be done the wrong way,
then why do it the right way!" :-)
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
Yup, you're the wizard. However, MemGluePtrNew was available in 2002,
and formally documented in the Feb, 2003 version of the Palm OS
Reference (Doc #3003-006). Yes, you probably first saw it in an SDK
later in 2003.
But, it doesn't change the fact that glue has been the supported and
documented
ron Ardiri" <[EMAIL PROTECTED]>
To: "Palm Developer Forum"
Sent: Thursday, June 21, 2007 3:24 PM
Subject: Re: Is there a max heap allocation size?
> On 6/21/07, Jeff Loucks <[EMAIL PROTECTED]> wrote:
> > You are correct that glue has matured through the years, a
On 6/21/07, Jeff Loucks <[EMAIL PROTECTED]> wrote:
You are correct that glue has matured through the years, and
MemGluePtrNew is a more recent addition (2002). But, PalmOSGlue has
been around since before 2000.
MemGluePtrNew was added with SDK 5.0 R2. may 6, 2003 :)
PalmOSGlue has been around
You are correct that glue has matured through the years, and
MemGluePtrNew is a more recent addition (2002). But, PalmOSGlue has
been around since before 2000.
But the question isn't about back then, it's about now. Glue's been a
part of 68K developing on Palm for many years, and glue is the way
Developer Forum
Subject: Re: Is there a max heap allocation size?
It's not an unpublished API.
I said earlier, it's MemGluePtrNew().
Google turned up at least a dozen hits on MemPtrNew() vs MemGluePtrNew().
The web is your friend :)
On 6/20/07, Aaron Ardiri <[EMAIL PROTECTED]>
On 6/21/07, Jeff Loucks <[EMAIL PROTECTED]> wrote:
Beg to differ.
Glue APIs have been a part of the Palm OS offering since at least OS
3.5. They are neither unsupported nor undocumented. You'll find them
documented right along with the other APIs. Yes, they require you to
include a static librar
Beg to differ.
Glue APIs have been a part of the Palm OS offering since at least OS
3.5. They are neither unsupported nor undocumented. You'll find them
documented right along with the other APIs. Yes, they require you to
include a static library in your link, but there's nothing difficult
or uns
On 6/21/07, Jeff Loucks <[EMAIL PROTECTED]> wrote:
It's not an unpublished API.
I said earlier, it's MemGluePtrNew().
Google turned up at least a dozen hits on MemPtrNew() vs MemGluePtrNew().
xxxGluexxx API's are not officiall API's - they are published as a library which
you must link against,
It's not an unpublished API.
I said earlier, it's MemGluePtrNew().
Google turned up at least a dozen hits on MemPtrNew() vs MemGluePtrNew().
The web is your friend :)
On 6/20/07, Aaron Ardiri <[EMAIL PROTECTED]> wrote:
On 6/21/07, Jagat Nibas Mahapatra <[EMAIL PROTECTED]> wrote:
> What is the u
On 6/21/07, Jagat Nibas Mahapatra <[EMAIL PROTECTED]> wrote:
What is the unpublished API ?
try searching for it :) it has been discussed a lot in the archives.
--
// Aaron Ardiri
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.
What is the unpublished API ?
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Grinberg
Sent: Wednesday, June 20, 2007 11:11 PM
To: Palm Developer Forum
Subject: Re: Is there a max heap allocation size?
biggest chunk you can allocate using supported API is
MemPtrNew() is limited to 64K. Since OS 3.5, MemGluePtrNew() has been
available that removed the limit.
On 6/20/07, Dmitry Grinberg <[EMAIL PROTECTED]> wrote:
biggest chunk you can allocate using supported API is 65536 bytes. If you
use unpublished api you can allocate up to 16777208 bytes.
On
biggest chunk you can allocate using supported API is 65536 bytes. If you
use unpublished api you can allocate up to 16777208 bytes.
On 6/20/07, Ravi.Patel <[EMAIL PROTECTED]> wrote:
>
> I'm using a stl vector. Trying to add data to the vector (push_back).
> The vector I believe is trying to allo
I'm using a stl vector. Trying to add data to the vector (push_back).
The vector I believe is trying to alloc 65k (65536) bytes, and I'm
getting a bad_alloc exeption when the vector tries to allocate that
memory.
I checked my free heap space (using MemHeapFreeBytes) and its reporting
that I have 8
15 matches
Mail list logo