Japanese IME Sample FAKEIME

[This is preliminary documentation and subject to change.]

SUMMARY

This sample code gives demonstrations on developing ANSI IME and Unicode IME for the Japanese versions of Windows® 2000 and Windows 98. The FakeIME can be built as a pure ANSI version (the A version) or as a mixed Unicode/ANSI version for Windows 98 (the M version).

Use the following key combinations when using FakeIME.

  • When the composition string is not there:
    Change mode of ROMAN: CTRL+F3
    Change mode to HIRAGANA: CTRL+F6
    Change mode to KATAKANA: CTRL+F7
    Change mode to HANKAKU: CTRL+F8
    Change mode to ALPHANUMERIC: CTRL+F9

  • When the composition string is there:
    Convert Key: SPACE
    Finalize Key: ENTER
    Convert to HIRAGANA: F6
    Convert to KATAKANA: F7

    BUILDING THE SAMPLE

    You can use any language edition of Windows 2000 to build these samples. If you are using Windows 98 or Windows NT® 4.0 as your build environment, please install Japanese Windows 98 or Windows NT 4.0. If you are using MSVC to build the sample instead of the using the DDK tools, please apply MSVC 5.0 SP3. Otherwise, the sample will have link errors.

    To build this sample, go into either the A or the M folder. The A version is a pure ANSI version. The M version is a mixed Unicode and ANSI version that can run on Windows 98 and Windows NT®/Windows 2000. It demonstrates how to develop Unicode IME for Windows 98.

    This sample works on both x86 and Alpha platforms, and the code is 64-bit compliant. The code builds properly with Microsoft Visual C® 6.0.

    Note: In the Windows 95 DDK, the DDK IME header file is named Imm.h. The IME header file in the Platform SDK bears the same name, but contains different content. The Imm.h in the DDK includes APIs and data structures, which are not used for application development and so are not included in the SDK version. In this release, the DDK filename has been changed to Immdev.h. If you have old IMEs that need to build under the new DDK, please change your source code to use the new header filename.

    RESOURCES

    The IME documentation in the DDK is to be used for IME development. For information on development of IME-aware applications, see the IME documentation in the Platform SDK.

    CODE TOUR

    File Manifest

    File		Description
    
    Fakeime.inf	Installing IME
    Immsec.c	Security handling on Windows NT
    Toascii.c	ImeToAsciiEx routing handling
    Process.c	Virtual key data for ImeProcessKey
    Dic.c		Dictionary processing
    Dic2.c		Roman/Kana, and Full/half size conversion
    Regword.c	Dictionary word registration processing
    Uicand.c	Candidate UI window handling
    Uicomp.c	Composition UI window handling
    Config.c	Configuration window
    Data.c		Global data initialization
    Uistate.c	Status UI window handling
    Uiguide.c	Guideline window 
    Ui.c		Default UI window handler
    Input.c		WM_IMEKEYUP/DOWN handler
    Imm.c		ImeXXX API entry routings
    Fakeime.c	DLL entry rounting
    
    
    

    Top of page

    © 1999 Microsoft Corporation