Click here to Skip to main content
15,892,298 members
Articles / Desktop Programming / MFC

Loading keyboard layout (KbdLayerDescriptor) in 32/64-bit environment

Rate me:
Please Sign up or sign in to vote.
4.75/5 (12 votes)
13 Aug 2012Ms-PL3 min read 44.7K   2.2K   17  
When loading a keyboard dll as a 32-bit application on a 64-bit system, the keyboard-dll-files does not work as expected, this class fixes that problem
��//{{NO_DEPENDENCIES}}

// Microsoft Visual C++ generated include file.

// Used by KeyboardLayout.rc

//

#define IDD_KEYBOARDLAYOUT_DIALOG       102

#define IDR_MAINFRAME                   128

#define IDD_KEYBOARDLAYOUT              130

#define IDB_SCANCODES                   131

#define IDC_X64                         1000

#define IDC_LIST                        1001

#define IDC_LOADKBL                     1002

#define IDC_DLL                         1003

#define IDC_LOADKBL2                    1004

#define IDC_SHOWSCANCODE                1004



// Next default values for new objects

// 

#ifdef APSTUDIO_INVOKED

#ifndef APSTUDIO_READONLY_SYMBOLS

#define _APS_NEXT_RESOURCE_VALUE        132

#define _APS_NEXT_COMMAND_VALUE         32771

#define _APS_NEXT_CONTROL_VALUE         1004

#define _APS_NEXT_SYMED_VALUE           101

#endif

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Engineer A/S Norske Shell (Dutch Shell)
Norway Norway
----------------------------------
Visit http://lars.werner.no/ for my blog!
----------------------------------
Retired programmer, Norway never had the jobs I wanted Smile | :)

Comments and Discussions