scuffed-code/icu4c/source/samples/ufortune
2001-11-12 18:08:51 +00:00
..
resources ICU-1474 ufortune sample, UNIX Makefile includes Spanish resources and fix to handle more than one locale. 2001-11-12 18:08:51 +00:00
Makefile ICU-1474 Add Resources sample "ufortune" 2001-11-10 01:27:58 +00:00
readme.txt ICU-1474 Add Resources sample "ufortune" 2001-11-10 01:27:58 +00:00
ufortune.c ICU-1474 ufortune sample, add new-line to fortune messages. 2001-11-12 18:05:51 +00:00
ufortune.dsp ICU-1474 Add Resources sample "ufortune" 2001-11-10 01:27:58 +00:00
ufortune.dsw ICU-1474 Add Resources sample "ufortune" 2001-11-10 01:27:58 +00:00

ufortune sample program demonstrating use of ICU resource files.

This sample demonstrates
         Defining resources for use by an application
         Compiling and packaging them into a dll
         Referencing the resource-containing dll from application code
         Loading resource data using ICU's API

To Build ufortune on Windows
    1.  Install and build ICU
    2.  In MSVC, open the workspace file icu\samples\ufortune\ufortune.dsw
    3.  Choose a Debug or Release build.
    4.  Build.
	
To Run on Windows
    1.  Start a command shell window
    2.  Add ICU's bin directory to the path, e.g.
            set PATH=c:\icu\bin;%PATH%
        (Use the path to where ever ICU is on your system.)
    3.  cd into the ufortune directory, e.g.
            cd c:\icu\source\samples\ufortune\debug
    4.  Run it
            ufortune

To build on Unixes
    ...
    
To run on Unixes
    gmake check