[ros-diffs] [janderwald] 25101: - only control panel applet should be started with rundll32.exe, other modules can be started w/o it
janderwald at svn.reactos.org
janderwald at svn.reactos.org
Sat Dec 9 15:43:03 CET 2006
Author: janderwald
Date: Sat Dec 9 17:43:02 2006
New Revision: 25101
URL: http://svn.reactos.org/svn/reactos?rev=25101&view=rev
Log:
- only control panel applet should be started with rundll32.exe, other modules can be started w/o it
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/vcprojmaker.cpp?rev=25101&r1=25100&r2=25101&view=diff
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp Sat Dec 9 17:43:02 2006
@@ -682,8 +682,16 @@
fprintf ( OUT, "\t\t\tName=\"%s|Win32\"\r\n", cfg.name.c_str() );
fprintf ( OUT, "\t\t\t>\r\n" );
fprintf ( OUT, "\t\t\t<DebugSettings\r\n" );
- fprintf ( OUT, "\t\t\t\tCommand=\"rundll32.exe\"\r\n" );
- fprintf ( OUT, "\t\t\t\tCommandArguments=\" shell32,Control_RunDLL "$(TargetPath)",@\"\r\n" );
+ if ( module_type == ".cpl" )
+ {
+ fprintf ( OUT, "\t\t\t\tCommand=\"rundll32.exe\"\r\n" );
+ fprintf ( OUT, "\t\t\t\tCommandArguments=\" shell32,Control_RunDLL "$(TargetPath)",@\"\r\n" );
+ }
+ else
+ {
+ fprintf ( OUT, "\t\t\t\tCommand=\"$(TargetPath)\"\r\n" );
+ fprintf ( OUT, "\t\t\t\tCommandArguments=\"\"\r\n" );
+ }
fprintf ( OUT, "\t\t\t\tAttach=\"false\"\r\n" );
fprintf ( OUT, "\t\t\t\tDebuggerType=\"3\"\r\n" );
fprintf ( OUT, "\t\t\t\tRemote=\"1\"\r\n" );
More information about the Ros-diffs
mailing list