Click here to Skip to main content
12,293,884 members (57,979 online)
Click here to Skip to main content

Stats

17K views
1.4K downloads
15 bookmarked
Posted

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

, 13 Aug 2012 Ms-PL
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
#pragma once


// CKeyboardScanCode dialog

class CKeyboardScanCode : public CDialogEx
{
	DECLARE_DYNAMIC(CKeyboardScanCode)

public:
	CKeyboardScanCode(CWnd* pParent = NULL);   // standard constructor
	virtual ~CKeyboardScanCode();

// Dialog Data
	enum { IDD = IDD_KEYBOARDLAYOUT };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedCancel();
};

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)

Share

About the Author

Lars [Large] Werner
Engineer
Norway Norway
I'm looking for new opportunities in Norway, contact me on email, twitter or Facebook
Not able to travel (a lot) so either home office or in Telemark area, Norway.

----------------------------------
Visit http://lars.werner.no/ for my techno-blog!
----------------------------------

Projects
* Adito - Simple Windows installer for Adito/OpenVPN ALS!
* Unpacker - Auto extract of multiple archives (RAR/ZIP) with queue support and cleanup options!
* SizeMe - Ultimate tool for maximize your output on CD/DVDs!

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160525.2 | Last Updated 13 Aug 2012
Article Copyright 2012 by Lars [Large] Werner
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid