Re: Naming conventions under VFS manager

2002-09-08 Thread Henk Jonas

but wouldn't it produce an empty filename? and maybe the FATFS 
implementation run into a neverending loop with empty filenames?

Henk

Ken Krugler wrote:

 
 Hi Jonatan,
 
 I am having problems creating a file with VFSFileCreate() if the file 
 name
 contains international characters.

 err = VFSFileCreate(vfsRefNum, /MYDIR/aaa.tmp);

 is working.

 err = VFSFileCreate(vfsRefNum, /MYDIR/ÂÂÂ.tmp);

 is not.

 Execution stops, the Palm freezes and no error code is returned.

 In the Reference manual it says in the comments about VFSFileCreate:

  It is the *responsibility of the file system library* to ensure that 
 all
 filenames are translated into a format that is compatible with the native
 format of the file system, such as the 8.3 convention for a FAT file 
 system
 without long filename support.

 I am working with the NR70 series and a Memory Stick card. [ Which 
 like all
 VFS enabled Palm is using the
 VFAT file system if I am correct, and thus have long file name support. ]

 Can you not create files if its name contains international characters?
 
 
 This should work, since the VFS code tries to convert from PalmLatin to 
 UTF-16LE when creating long file names, and it has code in place to 
 convert from PalmLatin to the DOS code page for the 8.3 short format.
 
 What was the version of Palm OS, and what device, where you encounter 
 the freeze?
 
 Thanks,
 
 -- Ken


-- 
-
[EMAIL PROTECTED]   www.metaviewsoft.de

A HREF=http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946;
IMG SRC=http://user.cs.tu-berlin.de/~jonash/werbung.jpg;/A
-


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



Fonts are based on what typeface?

2002-09-08 Thread Julian Bleecker

I'm working with a graphic designer who is doing the UI layout and design
for my current project.  She's producing a few canned bitmaps, but wants
to match the font that appears on the Palm.  Does anyone know what font this
is, or what is was based on?  It looks like Arial, but I'd like to know for
sure.

Thanks,

Julian



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



Re: Fonts are based on what typeface?

2002-09-08 Thread George Henne

I'm working with a graphic designer who is doing the UI layout and design
for my current project.  She's producing a few canned bitmaps, but wants
to match the font that appears on the Palm.  Does anyone know what font this
is, or what is was based on?  It looks like Arial, but I'd like to know for
sure.

It's a custom font that Palm owns the right to. (AFAIK)

George Henne 
NS BASIC Corporation
http://www.nsbasic.com 


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



Get Palm files on dektop

2002-09-08 Thread ale.rc

Hi,

How can I export data created by my application from Palm to desktop?
I first tried to just creat a file using FileOpen and FileWrite. The
file was created ok but when I sync using HotSync the file didn't
appear in my Backup directory.

I know that I can do similar stuff using DB but I think that using
FileOpen and FileWrite is more easy and simple isn't it? Anyway, I
can't find a way to get the .PDB file too.

Can anyone help me please?

Thanks,

Alexandre


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



Re: Get Palm files on dektop

2002-09-08 Thread Joe Malone

--- ale.rc [EMAIL PROTECTED] wrote:
 
 I first tried to just creat a file using FileOpen and FileWrite. The
 file was created ok but when I sync using HotSync the file didn't
 appear in my Backup directory.

FileWrite creates a file stream, not a file.

 ... but I think that using
 FileOpen and FileWrite is more easy and simple isn't it? 

No, it won't work for what you want to do.

 
 Can anyone help me please?

If you create a database and set the backup bit, it will be backed up
to your desktop during the next HotSync.

Probably, what you should do is to write a conduit.  Conduits are
software plug-ins for the HotSync® Manager application. They exchange
and synchronize data between a desktop computer and a Palm OS® platform
handheld computer.  See http://www.palmos.com/dev/tech/conduits/ for
info on conduits.


__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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



Re: Fonts are based on what typeface?

2002-09-08 Thread Will Lau

If your graphic design wants an installable font to simulate the Palm screenshots, 
I've got a set of fonts that came from an earlier Codewarrior install. They've been 
very handy in laying up UI designs in our graphics package (Macromedia Fireworks). If 
your graphic designer runs Windows, email me privately and I can send them to you.

I agree with George, AFAIK the Palm fonts are special. In any regard, your graphic 
designer should be talented enough to pick a close matching real font to use.

-W

At 03:35 AM 9/9/2002, you wrote:
I'm working with a graphic designer who is doing the UI layout and design
for my current project.  She's producing a few canned bitmaps, but wants
to match the font that appears on the Palm.  Does anyone know what font this
is, or what is was based on?  It looks like Arial, but I'd like to know for
sure.

It's a custom font that Palm owns the right to. (AFAIK)

George Henne 
NS BASIC Corporation
http://www.nsbasic.com 


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


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



Is there an easy way to count resources?

2002-09-08 Thread Chris Tutty

Hi,

I've got the 'error while creating/copying resource fork'
and 'error while saving resources' link errors that the
form indicates is sometimes caused by having more than
2800 resources.

While we're using a lot of resources I thought that we were 
well below that limit, but counting them by hand doesn't 
appeal to me.

Does anyone know of a tool that can count resources?  I 
tried using PRC2BIN but it doesn't seem to export form 
elements separately (no point, I guess) so they're not 
included in the 'count'.

Chris Tutty


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