Database names only in ASCII?

2003-10-08 Thread L.M. Fridael
Hi,


The documentation for DmCreateDatabase says that Database names must use
only 7-bit ASCII characters (0x20 through 0x7E). Yet when I inspect the
databases on my device using Filez, I see that several of them have accented
characters (outside the ASCII range) in their name.

I know that Palm  OS uses the Windows-1252 character set(at least those sold
in Europe and North America do). Is it really an error for an application to
use characters outside the ASCII range for database names?


Regards
-Laurens



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


Re: Making my own IDE...

2003-09-28 Thread L.M. Fridael

Tom Frauenhofer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Another alternative - use the Eclipse IDE platform (downloadable from
 http://www.eclipse.org) and the C/C++ Development Toolkit plugin, tied
into
 prc-tools.  It's free and you can easily extend it to add editors for
other
 things (for example, you can try one of the free PilRC tool builders if
you
 don't want to edit the PilRC source directly, or you could buy Falch.net's
 PilRC Designer for $29 and tie it into the .prc files yourself...).  You
 should even be able to tie in GDB debugging.

Has anyone tried graphical debugging with prc-eclipse [1] and the GDB from
PRC Tools 2.3? If so, how did it work? I don't want to upset my existing
Falch.net/Cygwin installation by installing PRC Tools 2.3. I don't have
testing machine to try it out either.

I'm using Falch.net right for Palm development, but I would switch to
Eclipse in an instant if only it had working graphical GDB debugging(my main
reason for sticking with Falch.net). The GDB text interface is just too
cumbersome.


Regards
-Laurens

[1] http://www.redfelineninja.dsl.pipex.com/software.html#eclipse




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


Make an application pop up temporarily

2003-09-22 Thread L.M. Fridael
Hi,


Can anyone explain in short, or point me to documentation, on how to make an
application pop up temporarily, like the clock on the M125 and M130?


Thanks
-Laurens



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


Re: Any free jpeg decoder library for palm?

2003-09-07 Thread L.M. Fridael

Francis [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 is there any free jpeg decoder library for palm?
 or if any jpeg to bmp converter for palm?
 thx a lot

http://www.nyctergatis.com/jpeglib/

Regards
-Laurens



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


Re: How to wrap lines for list items?

2003-08-29 Thread L.M. Fridael
AFAIK, it's not possible to draw list items of variable height(which is what
your question boils down to).

You could implement your list as a gadget. This gives you the most
flexibility in how items are displayed. Creating a gadget is more work,
though, because you have to implement the drawing and event handling
yourself.


Regards
-Laurens



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


Draw custom form title?

2003-08-28 Thread L.M. Fridael
Hi,


How can I draw a custom form title? I want to draw part of the title with
characters from the standard font and another part with glyphs from the
symbol 11 font. Is this possible?


Thanks
-Laurens



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


Re: Dynamically changing the alert message

2003-08-27 Thread L.M. Fridael

Marianne [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Can I dynamically change the message of the  alert.
 I just wanted to use one alert resource for more then 2 alerts, so there i
 just have to change the message..
 Is it possible..

Yes, it's possible. See the API reference for FrmCustomAlert.


Regards
-Laurens



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


Re: HTML Formatting

2003-08-26 Thread L.M. Fridael

Alucard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 This anyone know how to format a html into simple text in sony.
 example:
 babc/bidefg/i

 the output will be : *abc*/defg

I'm not sure what you mean here exactly, but Palm OS does not have a rich
text label or field. If you want to display formatted text you have to draw
it manually, for instance in a gadget.


Regards
-Laurens



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


Re: calling NETLIBSEND repeatedly

2003-08-22 Thread L.M. Fridael

Arijit Das [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I am calling NETLIBSEND repeatedly to send a string to the server.

 On the server side I only see the first string sent, other
 calls are not recieved at the server side.

 Any pointers as to how to call NETLIBSEND repeatedly.

The fact that the calls are not received at the server side may be dependent
on the protocol you are using. With HTTP/1.0, for instance, the server
replies once it receives a blank line and then closes the connection.

NetLibSend should have no problems sending multiple pieces of data. (I
assume you know that NetLibSend has to be called in a loop, to ensure the
buffer is sent in its entirety.) Provide more details if you're still stuck.


Regards
-Laurens



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


Re: about zire71 photo

2003-08-21 Thread L.M. Fridael

www.msale.net [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 I want to preview the photo on Zire71 when user select a photo.Please tell
 me how I do ?

AFAIK, Palm SG hasn't released the API headers for displaying
photos(assuming there is an API for this). Only the camera API (for taking
pictures) has been made public.


Regard
-Laurens



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


Re: Multi Segment Manual

2003-08-20 Thread L.M. Fridael

Régis Daniel de Oliveira [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Does anybody knows where can i find documentation about segmenting
 aplications for Palm Os?
 I'm using falch.net, and need to segment my app.

http://www.falch.net/Articles?art=151

Make sure you read the other articles on multisegmenting as well(just follow
the links). I've segmented my application as described in these articles and
it's working great.


Regards
-Laurens



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


Re: Multi Segment Manual

2003-08-20 Thread L.M. Fridael

Régis Daniel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Is debugging working good for you?

It seems to be working fine. I encounter no problems with using breakpoints
in different segments. I segmented my app a few days ago, so I don't have
extensive experience with debugging multisegmented apps. The article on the
Falch.net site [1] states that the latest version ships with a patched GDB.


Regards
-Laurens

[1] http://www.falch.net/Articles/?art=342



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


Re: Any doc. about programming on Zire 71

2003-08-14 Thread L.M. Fridael

Eccles Kwong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Do anyone know, is there any document about the API for the built-in
camera
 of Zire 71 ?


You can get the Camera API docs at pluggedin.palm.com. (Registration
required.)

Regards
-Laurens



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


Re: Palm Zire Compability

2003-08-14 Thread L.M. Fridael

Régis Daniel de Oliveira [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 If i try ti install an aplication developed and tested on palm m130 on
palm
 zire, will i have any problem, like resolution issues (Palm M130
resolution
 is160X160 pixels. Will my forms appear smaller on palm Zire 71)?

Standard form controls will be scaled to high density automatically on OS5.
That means that, for instance, a button that is 30 pixels wide on an M130
will be 60 pixels wide on a Zire71. Use the Zire71 or another OS5 simulator
to verify this.


Regards
-Laurens



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


C++ virtual functions

2003-08-06 Thread L.M. Fridael
Hi,


Are there any hidden costs to using virtual functions in C++ classes using
the PRC tools? (I know about the GCC compiler and linker switches to disable
exceptions and RTTI.)

I know that polymorphism requires an in-memory table to ensure that the
correct functions get called at run-time (late binding) and that this eats
into the available heap size.  However, I want to use pure virtual functions
in my classes solely to specify a contract that subclasses must abide to. I
will not use base class pointers, only pointers to non-abstract classes.

Example:
---
class BaseClass {
protected:
int a;
public:
virtual void add(int a) = 0;  // Pure virtual function
};

class DerivedClass: public BaseClass {
public:
DerivedClass(int a) {
this-a = a;
}
void add(int a); // Implementation omitted
};

BaseClass* a = new DerivedClass(1);
a-add(1); // Polymorphism, late binding
DerivedClass* b = new DerivedClass(1);
b-add(1); // No polymorphism(?), early binding(?)
---

I have a gut feeling that the GCC compiler is smart enough to resolve the
function call for b at compile-time, hence no need for a function table at
run-time, but I'm not sure. (It's been years since I last used C/C++ for a
large project.)

Also, how much memory does polymorphism actually require? Should you really
avoid it at all costs on Palm OS? My target is OS 3.5+ running on 4Mb+
devices.


Thanks
-Laurens



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