Click to open or copy the files for the PortTool sample.
PortTool is used to help identify the places in your 16-bit Windows-based source code that might need to change to make it Win32®-compatible. The tool provides a brief description of the problem and a possible solution.
This sample uses the following keywords:
_llseek; _lread; _splitpath; charnext; charprev; charupper; choosefonthookproc; createfont; createfontindirect; defined; deletedc; deleteobject; destroywindow; enablemenuitem; enddialog; getcmdline; getdc; getdevicecaps; getdlgitem; getfilename; getfocus; getlasterror; getmenu; getmodulehandle; getobject; getstockobject; gettextmetrics; getversion; getwindow; getwindowlong; getwindowtext; getwindowtextlength; id; initportdata; invalidaterect; isdbcsleadbyte; loadfilterspecstring; loadstring; localalloc; locallock; localrealloc; localunlock; lstrcat; lstrcpy; lstrlen; makeintresource; makeprocinstance; memset; messagebox; my_mbschr; my_mbsncmp; my_mbsncpy; my_mbsnicmp; my_mbstok; primarylangid; releasedc; resetevent; saveasfilename; selectobject; senddlgitemmessage; sendmessage; setevent; setwindowword; writefile