[Analyze Sources] -> [Detect String Literals] -> [Modify Sources & Append Resources] -> [Analyze Again]
Application Type | Externalizaiton Type | DLL loading | String loading | Include Visual Studio resources |
MFC Window Application | Windows DLL | AfxSetResourceHandle(***) (set handle returned by LoadLibrary) |
wwnaviGetString($WIN-RC-KEY) (return TCHAR* by LoadString) |
Checked (pack generated string .rc and GUI .rc into one dll) |
Win32 Window Application | Windows DLL | hInstance = *** (set handle returned by LoadLibrary) |
wwnaviGetString($WIN-RC-KEY) (return TCHAR* by LoadString) |
Checked (pack generated string .rc and GUI .rc into one dll) |
MFC/Win32 String Using Application | Windows DLL | Depends on your project | gcnew String(wwnaviGetString($WIN-RC-KEY)) (return String generated from TCHAR* by LoadString) |
Depends on your project |
Other MFC/Win32 Application | Windows DLL | If you use a project with some handle in main, set the loaded dll to it, otherwise just load dll only. | wwnaviGetString($WIN-RC-KEY) (return TCHAR* by LoadString) |
If you have the default .rc file, set it to the generated .rc. |