Author: bfreisen
Date: Mon Sep 26 17:50:07 2016
New Revision: 72815
URL:
http://svn.reactos.org/svn/reactos?rev=72815&view=rev
Log:
[ATL]
- implement CStringT::LoadString(UINT nID) via
LoadString(_AtlBaseModule.GetResourceInstance(), nID)
[FLTMC]
- add target_link_libraries(fltmc atlnew) so that the linker finds _AtlBaseModule
Modified:
trunk/reactos/base/applications/fltmc/CMakeLists.txt
trunk/reactos/sdk/lib/atl/cstringt.h
Modified: trunk/reactos/base/applications/fltmc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fltmc/CM…
==============================================================================
--- trunk/reactos/base/applications/fltmc/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/fltmc/CMakeLists.txt [iso-8859-1] Mon Sep 26 17:50:07
2016
@@ -5,5 +5,6 @@
add_executable(fltmc fltmc.cpp fltmc.rc)
set_module_type(fltmc win32cui UNICODE)
+target_link_libraries(fltmc atlnew)
add_importlibs(fltmc fltlib msvcrt kernel32 advapi32)
add_cd_file(TARGET fltmc DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/sdk/lib/atl/cstringt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/atl/cstringt.h?rev…
==============================================================================
--- trunk/reactos/sdk/lib/atl/cstringt.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/atl/cstringt.h [iso-8859-1] Mon Sep 26 17:50:07 2016
@@ -435,7 +435,7 @@
BOOL LoadString(_In_ UINT nID)
{
- return 0;
+ return LoadString(_AtlBaseModule.GetResourceInstance(), nID);
}
_Check_return_ BOOL LoadString(_In_ HINSTANCE hInstance,