Dave,
Thank you for the advice. I am having a real hard time dealing with
Memhandles and char*s. Been awhile since i'm done C programming and never
played on a palm before. Anyway, you have cleared things up quite a bit
with your advice, however, I am still not getting the list to load.
I
Though it rarely happens, I disagree (somewhat) with Ben on this one. I think
pushbuttons should be used in general, and that we should use the UI
guidelines for Palm OS when possible. But an increasing number of apps (like
ours) are targeting a user base that is not familiar with Palm OS. In
Bullshark,
I think too much is made of this. A list of 500 items with an average width
of 10 characters consumes 7500 bytes. Is this a big deal? It amounts to .3% of
the memory available on a lowly PIII or Zira. Yes, it's true that a palm
chock-full other programs and records brings the ceiling
BITMAPFAMILYEX ID ULHome
BEGIN
BITMAP ULHome1bppD1.bmp BPP 1 DENSITY 1
BITMAP ULHome8bppD1.bmp BPP 8 DENSITY 1
BITMAP ULHome8bppD2.bmp BPP 8 DENSITY 2 TRANSPARENTINDEX 211
BITMAP ULHome24bppD2.bmp BPP 16 DENSITY 2 // --- barf
END
sounds like a bug in pilrc that ships with CWr9 :)
I think you problem is probably that you are performing the clean-up
portion in the wrong place. It should be executed in AppStop or
frmCloseEvent. What you can do is to have two global parameters
declared as follows:
static char **GprogramsArray
static UInt16 GnumItems
Then at the end of
On Fri, 8 Aug 2003 10:35:28 -0300, rguevara [EMAIL PROTECTED] wrote:
I have some questions about those functions:
MemHandleSize work over one chunk unlocked?
Documentation is silent on locked vs unlocked.
It should work either way,
if i do: recordH = DmGetRecord(PedidosDB, NuevoIndice);
and
On Fri, Aug 08, 2003 at 12:50:21PM -0300, rguevara wrote:
more clean:
i can resize one handle what was assignaded with DmGetRecord() ?
Don't use MemHandleResize, use DmResizeRecord.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
ok, this works for me without any problem
it has to be done in 3 stages
1.- statics or globalls variables for the pointers
static Char* p_strChoicesP;
static Char** p_strChoicesPP;
2.- Filling the list dinamically, using the pointers, in the function that
loads the List
UInt16
Hi all,
can anyone tell me how much dynamic memory has a Palm Zire with only 2 MB of memory,
OS 4.1
Thanks,
Ciprian
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hi,
I need to do some HTTP connection stuff on Palm but
it seems that only Palm VII support INet library.
I'm wondering if there is an alternative HTTP library
for all the Palm platforms built on Net library.
Thanks,
__
Do you Yahoo!?
Yahoo! SiteBuilder -
we also have an emulator (not going to mention what machine) running
in SHARK, boasting full speeds on *all* 4 four platforms in ARM mode.
the exact details are covered by an NDA - but, we'll post info when
we can *g*
Sounds like that's probably Liberty yeah?? :-)
actually, its not!
Sorry was a error recordH is equal a registroH i traducing bad...
Now use DmResizeRecord and work, but not can lock the handle!
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: bullshark [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
On Fri, 08 Aug 2003 14:17:36 -0400, Douglas Handy [EMAIL PROTECTED] wrote:
Other programs and records has nothing to do with it. That affects the storage
heap size, not the dynamic memory size. Every Palm OS has the total memory
allocated by the manufacturer with a fixed allotment between
IF you check the Palm SG PluggedIn FAQ, you'll see it has121KB of dynamic
heap (assuming device was just hard-reset).
Nicolas
HermesPalm [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
can anyone tell me how much dynamic memory has a Palm Zire with only 2 MB of
memory, OS
Try this one, if you optimize it, let me know :
UInt16 StrReplace(Char *ioStr, UInt16 inMaxLen, const Char *inParamStr,
const Char *fndParamStr)
{
Char *found;
Boolean quit = false;
UInt16 occurences = 0;
UInt16 newLength;
UInt16 l1 = StrLen(fndParamStr);
UInt16 l2 = 0;
UInt16 l3 =
You could start the color suport in your startup code. There's some examples
in the archives of this list (one very good from Aaron Ardiri, a simple loop
that sets the maximum color support, if I'm not wrong).
you mean this?
UInt32 depthsToTry[] = { 16, 8, 4, 2, 1 };
UInt32
I'm using Palm which version have 4.0, 4.1 and 3.5. In
that case, how should i do for the next step since the
palm version i used are still valid for the Debugger?
--- Ben Combee [EMAIL PROTECTED] wrote:
At 02:14 AM 8/7/2003, apple k wrote:
Hi,
I'm using CodeWarrior's Palm Debugger and try
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello! What is the resolution of the OS5 icons? I'm using 32x22 pixel
icons, but the icons in the launcher seem to be 64x44 or something
like that.
Is there a way to set hi-rez icons for an app with PiLRC?
Thanks,
Pablo
- --
The things we fear
Have you guys figured out how to get par to print out ascii value
of a pdb stored Int?
I've packed my records, as follows:
typedef struct
{
UInt32 *orderQty;
Char key[1];
} PackedOnOrder;
But my Int values aren't translated to ascii? They are dumped out
as '...' or something similar.
At 01:41 PM 8/7/2003, Pablo Martin Vera wrote:
Is there any tool in codewarrior that automaticaly add new files and clases
where I add a new form resource??
Nope. We had intended of getting that working in V9, but it slipped off
the schedule during development.
--
Ben Combee [EMAIL PROTECTED]
At 01:43 PM 8/6/2003, Mike Shubeck wrote:
Maybe your
target type is wrong.
For the Project Type I have Palm OS Application (Target Type renamed to
project type in 9?). Thats what it should be right?
And just to try to throw out some more clues, on the 68k Target page I have
Standard Mode
When I open the app database, DmNumRecords and DmNumResources return
the same value. Is this a coincidence or are resources glorified
records?
On Mon, 04 Aug 2003 14:29:28 -0500, Ben Combee
[EMAIL PROTECTED] wrote:
At 02:27 PM 8/4/2003, Eric Potter wrote:
I need to do an integrity check of an
Alan Ingleby escreveu:
Régis Daniel de Oliveira [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
How can i make a numeric field accept the minus (-) field?
Short answer : You can't. Use a non-numeric field, and filter the keydown
events.
Long answer: You can use a workaround for this.
When I make a call to SslLibCreate when the previous close of the same
application did not call SslLibDestroy, it crashes. Any idea on how this
crash could be avoided.
regards,
rajan
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Except you might want to budge the line out by one pixel to avoid the table
drawing function overwriting your lines.
Ralf Krauss [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I think there is no special funktion...
...use TblGetBounds to calculate the rectangle
of the table and
I'm using DmSetDatabaseInfo to change the name of a file. It seems that
sometimes it doesn't get rid of the old file. After you do your
DmSetDatabaseInfo you have two identical files with different names. I'm
having to delete the old one to be sure. Has anyone else noticed that?
regards,
Dave
Dear All,
I would like to ask how can i get data from a pdb file which
contains data in excel format.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I use the following codes to implement sock communication with server (done
in VC):
CNetLib nlib;
nlib.Open();
CNetLibClientStream clientSock(nlib, netSocketTypeStream,
netSocketProtoIPTCP, localhost,6060,
);
clientSock msg; //msg = hello
Char
I am pretty sure that a vtable entry for this function will be created.
This is due to the fact that once a function is declared virtual, it is
always virtual in all derived classes. I don't think there is an exception
for pure virtual function declarations, but I am not completely positive. I
-Original Message-
From: LionScribe
Sent: Thursday, August 14, 2003 12:13 PM
When creating a shared library, is it possible for an
internal library function to determine the current libraries
reference number?
Do you mean when you are writing a shared library? When a library
Jeff Ishaq [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
Sometimes I can't pass the refNum as a
parameter, like in Application-defined functions. LionScribe
I don't follow you. If your application has installed / loaded a shared
library, then it must know that library's
401 - 431 of 431 matches
Mail list logo