DXGL r334 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r333
|
r334
|
r335
>
Date:
22:50, 24 February 2013
Author:
admin
Status:
new
Tags:
Comment:
Fix AppCompat DWM8And16BitMitigation killer.
Modified paths:
/cfgmgr/cfgmgr.cpp
(modified) (
history
)
Diff
[
purge
]
Index: cfgmgr/cfgmgr.cpp
—
—
@@ -335,9 +335,10 @@
336
336
if(error == ERROR_ACCESS_DENIED)
337
337
{
338
338
tstring command;
339
- if(is64) command.assign(_T("DELETE \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /reg:64 /f /v "));
340
- else command.assign(_T("DELETE \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /f /v "));
339
+ if(is64) command.assign(_T("DELETE \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /reg:64 /f /v \""));
340
+ else command.assign(_T("DELETE \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /f /v \""));
341
341
command.append(filename);
342
+ command.append(_T("\""));
342
343
SHELLEXECUTEINFO info;
343
344
ZeroMemory(&info,sizeof(SHELLEXECUTEINFO));
344
345
info.cbSize = sizeof(SHELLEXECUTEINFO);
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version