Aug 132012
 

I have been working on a OnScreenkeyboard for a while, and I wanted to use the available resources for a easy multilingual system.

In windows there are kbd**.dll-files that contain arrays of scan codes, virtual keys and characters linked to VK/SC. To avoid inventing the wheel again, I tried to use these.

My developer computer is a Win7-x64, and I have a VM running WinXP (32-bit) on it.
I created a 32-bit application, with default MFC-configuration.
I noticed that the pVkToWcharTable is NULL on the 64-bit machine and not NULL on the 32-bit machine after running the init KbdLayerDescriptor(). This occurred even if they loaded the same 32-bit-dll.

I tried several solutions, but all of them required to compile one 32-bit and one 64-bit version of the program. That wasn’t a satisfying solution for me, so I created a wrapper to handle such special events.

Read the article Load and init keyboard-dlls in a 64-bit enviroment (KbdLayerDescriptor), to read and download my example from the picture above.

If there are other clever souls out there who have a better way of doing it, please let me know!

 Posted by at 11:31:10
Apr 072006
 

Planet source code superior coding

Mouse progress controll got votet as outstanding source code entry on Planet Source Code! Quite cool and I’m honored that people appriciate my work 🙂

Mouse progress controll has been singled out by your peers and awarded the ‘Superior Code Award’ for the month! Mouse progress controll code will be displayed prominently on the front page of language it was submitted in, where it will be seen by hundreds of thousands of your fellow programmers! Then, after the month ends, mouse progress controll will be permanently honored by a placement in the PlanetSource Code’s All-Time Top Code Hall of Fame!

The article can be found here

 Posted by at 07:59:07
Mar 302006
 

I’m working on finishing a new version of SizeMe but since the new version calculate so much then I wanted a new fancy progress control to show it.

I’ve searched and searched for a progressbar that followed the mouse on the net, but I did not find one. So I had to make it myself 🙂

Since I like to share nice controls with others I’ve decided to publish an article on this subject. The article can be read here

Stay tuned for the new SizeMe version, soon on a teather near you!

 Posted by at 09:27:55
%d bloggers like this: