Beyond no PROTO, there is no _getwch import in the MASM32 msvcrt.lib import library. The attachment contains all of the components I used to create an import library from the MSVCRT.DLL in the SYSTEM32 directory on my Windows XP SP3 system. Unless you have MinGW with pexports.exe installed you will not be able to use makedef.bat, so you’ll be stuck with the module-definition file I included. Note that I modified the file by removing a number of imports, that had what looked like C++ mangled names, between $I10_OUTPUT and _Ciacos, because the original MASM32 import library did not include these. The import library I created is 130KB versus 449KB for the original MASM32 import library. I’m not sure why this is, but the one I created appears to work fine. I tried to compare the two import libraries by using POLIB to extract a module-definition file from the import library, and while this works fine for the one I created it will not work for the MASM32 import library.