//Skip lines with these keywords, they must be 1st MultiByteToWideChar,$DELELINE // These are the characters to translate char,_TCHAR CharLowerA, CharLowerW fgetc,_fgettc fgetchar,_fgettchar fgets,_fgetts fputc,_fputtc fputchar,_fputtchar fputs,fputts fprintf,_ftprintf fscanf,_ftscanf getc,_gettc getchar,_gettchar gets,_getts isalnum,_istalnum isalpha,_istalpha __isascii,_istascii iscntrl,_istcntrl isdigit,_istdigit isgraph,_istgraph islower,_istlower ispunct,_istpunct isspace,_istspace isupper,_istupper isprint,_istprint isxdigit,_istxdigit _itoa,_itot _ltoa,_ltot putc,_puttc putchar,_puttchar puts,_putts scanf,_tscanf sprintf,_stprintf sscanf,_stscanf _chmod,_tchmod _creat,_tcreat strcat,_tcscat strchr,_tcschr strlen,_tcslen strcmp,_tcscmp strnicmp,_tcsnicmp strcoll,_tcscoll strcpy,_tcscpy strcspn,_tcscspn _strdec,_tcsdec _strdup,_tcsdup strftime,_tcsftime _strcmp,_tcsicmp stricmp,_tcsicmp _stricoll,_tcsicoll _strinc,_tcsinc _strlwr,_tcslwr _strncnt,_tcsnccnt strncat,_tcsncat strncmp,_tcsncmp strncpy,_tcsncpy _strnicmp,_tcsnicmp _strnset,_tcsnset _strnextc,_tcsnextc _strninc,_tcsninc _strnset,_tcsnset strpbrk,_tcspbrk _strspnp,_tcsspnp strrchr,_tcsrchr _strrev,_tcsrev _strset,_tcsset strspn,_tcsspn strstr,_tcsstr strtod,_tcstod strtok,_tcstok strtol,_tcstol strtoul,_tcstoul strupr,_tcsupr _strupr,__tcsupr strxfrm,_tcsxfrm ctime,_tctime _execl,_texecl _execle,_texecle _execlp,_texeclp _execlpe,_texeclpe _execv,_texecv _execve,_texecve _execvp,_texecvp _execvpe,_texecvpe _fdopen,_tfdopen _findfirst,_tfindfirst _findnext,_tfindnext fopen,_tfopen freopen,_tfreopen _fsopen,_tfsopen _fullpath,_tfullpath _getcwd,_tgetcwd getenv,_tgetenv main, _tmain _makepath,_tmakepath _mkdir,_tmkdir _mktemp,_tmktemp perror,_tperror _open,_topen tolower,_totlower toupper,_totupper _popen,_tpopen printf,_tprintf remove,_tremove rename,_trename _rmdir,_trmdir _searchenv,_tsearchenv scanf,_tscanf setlocale,_tsetlocale _sopen,_tsopen _spawnl,_tspawnl _spawnle,_tspawnle _spawnlp,_tspawnlp _spawnlpe,_tspawnlpe _spawnv,_tspawnv _spawnve,_tspawnve _spawnvp,_tspawnp _spawnvpe,_tspawnvpe _splitpath,_tsplitpath _stat,_tstat _strdate,_tstrdate _strtime,_tstrtime system,_tsystem _tempnam,_ttempnam tmpnam,_ttmpnam atoi,_ttoi atol,_ttol 'atof, _ttof _utime,_tutime //WinMain,_tWinMain //not in PellesC _ultoa,_ultot ungetc,_ungettc uchar, "" vfprintf,_vftprintf _vsnprintf,_vsntprintf vsprintf,_vstprintf vprintf,_vtprintf //Constant & Global Mappings EOF,_TEOF _environ,_tenviron _finddata_t,_tfinddata_t //I think the rest may only be valid for eVC++ and PellesC ***UNICODE ONLY //Leave this line as is or all will be set LPSTR, LPWSTR SetDlgItemText,SetDlgItemTextW GetDlgItemText,GetDlgItemTextW SendDlgItemMessage,SendDlgItemMessageW _isctype, iswctype //RedrawWindow not in WCE use UpdateWindow instead "RedrawWindow(Window,0,0,0)","UpdateWindow(Window)" OUT_TT_PRECIS,OUT_DEFAULT_PRECIS //ICC_USEREX_CLASSES not supported ICC_USEREX_CLASSES,$DELELINE //ICC_INTERNET_CLASSES not supported OR ICC_INTERNET_CLASSES,$DELE ICC_WIN95_CLASSES, ICC_TAB_CLASSES DEFAULT_GUI_FONT, SYSTEM_FONT //LoadIcon(NULL,IDI_WINLOGO) "LoadIcon(NULL,IDI_WINLOGO)", NULL LoadCursor,LoadCursorW //CS_OWNDC not supported in eVC | CS_OWNDC,$DELE SW_NORMAL,SW_SHOWNORMAL //WS_EX_CONTROLPARENT,WS_EX_CLIENTEDGE WS_EX_CONTROLPARENT,0 WS_OVERLAPPEDWINDOW,WS_OVERLAPPED WS_EX_LEFT,0 WS_EX_TRANSPARENT,0 WNDCLASSEX,WNDCLASS BCX_WndClass.cbSize,$DELELINE BCX_WndClass.hIconSm,$DELELINE GetClassInfoEx,GetClassInfoW RegisterClassEx,RegisterClassW //IDC_ARROW,$DELELINE //WNDCLASS,WNDCLASSW GetTextExtentPoint32,GetTextExtentPointW "unsigned _TCHAR","_TCHAR" WM_NCHITTEST,NM_NCHITTEST //header files that are not supported in eVC3.0 #include ,$DELELINE #include ,$DELELINE #include ,$DELELINE #include ,$DELELINE #include ,$DELELINE #include ,$DELELINE #include ,$DELELINE #include conio.h,$DELELINE #include ,$DELELINE #pragma,$DELELINE // removed #if !defined( __LCC__ ),#if defined( __LCC__ ) GetProp,CePropGet SetProp,CePropSet RemoveProp,CeRemoveProp //MB_SYSTEMMODAL,0 //Rebar Control RBBIM_HEADERSIZE|,$DELE cxHeader,$DELELINE //MB_TASKMODAL,0 //COINIT_APARTMENTTHREADED,0 CoInitialize(NULL),"CoInitializeEx(NULL,0)" WideToAnsi,$DELE AnsiToWide,$DELE #define __cplusplus,$DELELINE //BCX_COM_AS2WS,$DELE #define _WIN32_DCOM,$DELELINE bcx_last_com_HRESULT = BCX_COM_AS2WS,bcx_last_com_HRESULT = (HRESULT) "WideCharToMultiByte(code_page,0,wide_string,-1,bcx_temp_ans_string_pointer","WideCharToMultiByte(code_page,0,wide_string,-1,(char*)bcx_temp_ans_string_pointer" bcx_temp_ans_string_pointer,(USHORT*)bcx_temp_ans_string_pointer strlwr,_tcslwr GCL_HBRBACKGROUND,0 (GetSystemMetrics(SM_CXFRAME)*2),50 "<--UNICODE AWARE-->","//<--UNICODE AWARE-->" CharLowerA((_TCHAR *)(unsigned _TCHAR),CharLowerW((LPWSTR)