I had the same problem. I created a 'palm font edit' program (with Visual
C++) that was willing to write out the resource as a .r (text) file and then
included that in the build.
-----Original Message-----
From: James Lynes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 23, 1999 6:21
To: [EMAIL PROTECTED]
Subject: How to Include a font or other binary resource in CW-for-Windows?
PROBLEM:
I need a mono-spaced font for my PalmIII application.
I can make my font with an editor editor that produces ".pft" files. The
idea is to do the following to get my own font into my app:
fontHandle = DmGetResource('Font',0x1000);
fontPtr = MemHandleLock(fontHandle);
FntDefineFont(129,fontPtr);
(user defined fonts start at 129, 0x1000 would be a resource ID)
The problem is in Codewarrior for windows, I can't figure out how to include
my .pft file as a binary resource. It's not supported and Metrowerks is no
help.
How can I do this?
Jim Lynes, Barcode Data Systems
[EMAIL PROTECTED]