mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
- only control panel applet should be started with rundll32.exe, other modules can be started w/o it
svn path=/trunk/; revision=25101
This commit is contained in:
parent
cc41125c21
commit
71d16876ff
|
@ -682,8 +682,16 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
|||
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" );
|
||||
|
|
Loading…
Reference in a new issue