Author: cwittich Date: Sat Jul 8 23:13:39 2006 New Revision: 22939
URL: http://svn.reactos.org/svn/reactos?rev=22939&view=rev Log: -don't use an entrypoint when entrypoint is set to "0"
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/msvc/v... ============================================================================== --- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp (original) +++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp Sat Jul 8 23:13:39 2006 @@ -443,7 +443,10 @@ } else if ( dll ) { - fprintf ( OUT, "\t\t\t\tEntryPointSymbol="%s%s"\r\n", module.GetEntryPoint(false) == "" ? "" : "_", module.GetEntryPoint(false) == "" ? "_DllMainCRTStartup@12" : module.GetEntryPoint(false).c_str ()); + if (module.GetEntryPoint(false) == "0") + fprintf ( OUT, "\t\t\t\tEntryPointSymbol=""\r\n" ); + else + fprintf ( OUT, "\t\t\t\tEntryPointSymbol="%s%s"\r\n", module.GetEntryPoint(false) == "" ? "" : "_", module.GetEntryPoint(false) == "" ? "_DllMainCRTStartup@12" : module.GetEntryPoint(false).c_str ()); fprintf ( OUT, "\t\t\t\tBaseAddress="%s"\r\n", baseaddr == "" ? "0x40000" : baseaddr.c_str ()); } fprintf ( OUT, "\t\t\t\tTargetMachine="%d"/>\r\n", 1 );