DXGL r202 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r201
|
r202
|
r203
>
Date:
16:26, 5 July 2012
Author:
admin
Status:
new
Tags:
Comment:
Remove dllpaths.reg and integrate COM fix in installer.
Modified paths:
/Help/troubleshooting.htm
(modified) (
history
)
/Installer/dllpaths.reg
(deleted) (
history
)
/Installer/dxgl.nsi
(modified) (
history
)
Diff
[
purge
]
Index: Installer/dllpaths.reg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: Installer/dllpaths.reg
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
1
-application/octet-stream
\ No newline at end of property
Index: Help/troubleshooting.htm
—
—
@@ -10,8 +10,8 @@
11
11
<h3>Cause: No application profile</h3>
12
12
Solution: Open "Configure DXGL" and click the Add button. Browse to your program and double click it.
13
13
<h3>Cause: System ddraw.dll registered under absolute path</h3>
14
- Solution: Open the file dllpaths.reg in the DXGL installation folder. This will fix initialization for the
15
- current user.
14
+ Solution: Make sure the "Fix DDraw COM Registration" option is selected when installing DXGL. After upgrading to Windows
15
+ 8, you may need to re-run the installer to set the registry keys.
16
16
<h3>Cause: Program does not use DirectDraw</h3>
17
17
Solution: Make sure your program is configured to use DirectDraw or Direct3D up to version 7.
18
18
<h2>Problem: Program crashes</h2>
Index: Installer/dxgl.nsi
—
—
@@ -3,6 +3,7 @@
4
4
SetCompressor /SOLID lzma
5
5
6
6
!include 'LogicLib.nsh'
7
+!include 'x64.nsh'
7
8
8
9
; HM NIS Edit Wizard helper defines
9
10
!define PRODUCT_NAME "DXGL"
—
—
@@ -86,7 +87,6 @@
87
88
File "..\ReadMe.txt"
88
89
File "..\COPYING.txt"
89
90
File "..\Help\dxgl.chm"
90
- File "dllpaths.reg"
91
91
CreateShortCut "$SMPROGRAMS\DXGL\DXGL Help.lnk" "$INSTDIR\dxgl.chm"
92
92
93
93
StrCpy $8 0
—
—
@@ -168,6 +168,15 @@
169
169
170
170
Section "Fix DDraw COM registration" SEC_COMFIX
171
171
DetailPrint "Setting DDraw Runtime path in registry"
172
+ ${If} ${RunningX64}
173
+ SetRegView 32
174
+ WriteRegStr HKCU "Software\Classes\CLSID\{D7B70EE0-4340-11CF-B063-0020AFC2CD35}\InprocServer32" "" "ddraw.dll"
175
+ WriteRegStr HKCU "Software\Classes\CLSID\{D7B70EE0-4340-11CF-B063-0020AFC2CD35}\InprocServer32" "ThreadingModel" "Both"
176
+ WriteRegStr HKCU "Software\Classes\CLSID\{3C305196-50DB-11D3-9CFE-00C04FD930C5}\InprocServer32" "" "ddraw.dll"
177
+ WriteRegStr HKCU "Software\Classes\CLSID\{3C305196-50DB-11D3-9CFE-00C04FD930C5}\InprocServer32" "ThreadingModel" "Both"
178
+ WriteRegStr HKCU "Software\Classes\CLSID\{593817A0-7DB3-11CF-A2DE-00AA00B93356}\InprocServer32" "" "ddraw.dll"
179
+ WriteRegStr HKCU "Software\Classes\CLSID\{593817A0-7DB3-11CF-A2DE-00AA00B93356}\InprocServer32" "ThreadingModel" "Both"
180
+ ${EndIf}
172
181
SectionEnd
173
182
174
183
Section -AdditionalIcons
—
—
@@ -211,8 +220,6 @@
212
221
BelowEight:
213
222
SectionSetFlags ${SEC_COMFIX} 0
214
223
VersionFinish:
215
-
216
-
217
224
FunctionEnd
218
225
219
226
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