> There is no C/C++ source file. The source is a data file that MSKLC > compiles into the DLL. If the data file contains ZWNJ on shift-space, > it fails to compile. Microsoft developers confirmed that this is a > bug.
Well, I did a little bit investigation on this. I downloaded the MSKLC (MS Keyboard Layout Creator) tool, and took a look at it. This tool generates a C source code from the data you feed to it, and then compiles this C code in order to generate the keyboard layout DLL. The bug which expects Space to only insert a space character is at the MSKLC level. IOW, if the generated C source code is patched correctly, and then compiled with the same compiler switches that the MSKLC tool passes to the compiler, ZWNJ can be successfully assigned to Shift+Space combination. I did this, and installed the new DLL on my system, and it works beatifully. It's the same keyboard layout, only Shift+Space inserts a ZWNJ instead of a space. I thought I would submit it to sourceforge so that everyone can use the new tool. Roozbeh, let me know if it would be okay for me to send the files to you to get them into the sourceforge, or if I should do something else. ------------- Ehsan Akhgari Farda Technology (http://www.farda-tech.com/) List Owner: [EMAIL PROTECTED] [ Email: [EMAIL PROTECTED] ] [ WWW: http://www.beginthread.com/Ehsan ] _______________________________________________ PersianComputing mailing list [EMAIL PROTECTED] http://lists.sharif.edu/mailman/listinfo/persiancomputing