Re: Fonts and desktop shortcuts
From: Selin Metin (nospam_at_nospam.com.tr)
Date: 04/28/04
- Next message: Michel Verhagen [eMVP]: "Re: PB 4.2 Where to get error codes for GetAdaptersInfo()"
- Previous message: Dean Ramsier: "Re: Accelent USB drivers; modify and compile for iPaq 4155"
- In reply to: vIndEx: "Fonts and desktop shortcuts"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Apr 2004 15:57:43 +0300
Hi,
1. To add fonts to your platform:
Copy your custom font file (myfont.ttf) to
_WINCEROOT\public\_my_platform\WINCE420\_my_processor_type\oak\files
directory and add the following line to the files section of your
project.bib file:
myfont.ttf $(_PROJECTROOT)\oak\files\myfont.ttf NK SHU
2. To create a shortcut to your application on the desktop:
The .dat file ist the only way to make a file appear in outside the \Windows
directory. First create a .lnk file for your app in the
_WINCEROOT\public\_my_platform\WINCE420\_my_processor_type\oak\files
directory. Create a new text document, open with notepad.exe, add the
following line and save as MyApp.lnk.
40#\Windows\MyApp.exe parameter1 parameter2
40# : number of ASCII characters after pound sign
parameter1, parameter2 : command line parameters to the target
Then add the following line to your project.dat file:
Directory("\Windows\Desktop"):-File("MyApp.lnk","\Windows\MyApp.lnk")
Last of all, add the .lnk file to the ROM image, that is to the FILES
section of your project.bib file:
MyApp.lnk $(_FLATRELEASEDIR)\MyApp.LNK NK S
That's all!
Regards,
Selin
"vIndEx" <fdelvalle@iespana.es> wrote in message
news:#PwjMpRLEHA.1156@TK2MSFTNGP09.phx.gbl...
> Hi! How can I add fonts to my platform? I would like to create a shortcut
to
> my application in the desktop too.
>
> Thanks
>
>
- Next message: Michel Verhagen [eMVP]: "Re: PB 4.2 Where to get error codes for GetAdaptersInfo()"
- Previous message: Dean Ramsier: "Re: Accelent USB drivers; modify and compile for iPaq 4155"
- In reply to: vIndEx: "Fonts and desktop shortcuts"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|