diff --git a/build/Resources_CN.dll b/build/Resources_CN.dll
index d4919bf..97de0a0 100644
--- a/build/Resources_CN.dll
+++ b/build/Resources_CN.dll
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:763a6c83e88092d518e00b641db5f1ec1e1f03273966fa62c3023f5fab35d63c
+oid sha256:f4ebe7bb2d5b4f0c2e01945a42c267f0cf4ed997b613467bb6d6765c7e8bd509
size 125952
diff --git a/build/Resources_EN.dll b/build/Resources_EN.dll
index dda3381..cc10c2c 100644
--- a/build/Resources_EN.dll
+++ b/build/Resources_EN.dll
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9768c3856e6e7eb99d2a1aa84738dbf54f4742d22f9e3ab85b7e2c1bfcf1a349
-size 125952
+oid sha256:a7877cda228843a7292dcc2ef71b5137b271f8b9e179d9c23e28ed8d2f4312b3
+size 131072
diff --git a/build/Resources_IT.dll b/build/Resources_IT.dll
index 3e06507..80be7a0 100644
--- a/build/Resources_IT.dll
+++ b/build/Resources_IT.dll
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b94cb7ee037071908b8b6e8f585c2e20a598de3d21d47c6ed2772603c7509571
-size 131584
+oid sha256:0d432898e566dcd63845603d2035796f30d83c37f6151631449b296808a8448d
+size 132096
diff --git a/build/dxwnd.dll b/build/dxwnd.dll
index 53e526a..ebd4d57 100644
--- a/build/dxwnd.dll
+++ b/build/dxwnd.dll
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:053fb6f12d42bc12bc80eac6aae9f57621783b3b69bed282eab3bc43ecde0a01
-size 491520
+oid sha256:b912c24a11f692bacad5acc260300f9410524d6d99915935a5833a20b3162c3d
+size 492544
diff --git a/build/dxwnd.exe b/build/dxwnd.exe
index e38350c..fb2f46e 100644
--- a/build/dxwnd.exe
+++ b/build/dxwnd.exe
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8eea2972772c9c037a22822bcc7caa6a42b94e34c0d1e0e94da53eff32f8879f
+oid sha256:85a9f4ba115a7a9fbe4c8712b8778240b6269f74e1530154204c8f1fdfe1e461
size 548864
diff --git a/doc/dxwnd_manual.pdf b/build/dxwnd_manual.pdf
similarity index 69%
rename from doc/dxwnd_manual.pdf
rename to build/dxwnd_manual.pdf
index af7b0e1..4b87ac7 100644
Binary files a/doc/dxwnd_manual.pdf and b/build/dxwnd_manual.pdf differ
diff --git a/build/exports/Tetris Worlds.dxw b/build/exports/Tetris Worlds.dxw
new file mode 100644
index 0000000..8860bf0
--- /dev/null
+++ b/build/exports/Tetris Worlds.dxw
@@ -0,0 +1,27 @@
+[target]
+title0=Tetris Worlds
+path0=D:\Games\Tetris Worlds\TetrisWorlds.exe
+launchpath0=
+module0=
+opengllib0=
+ver0=1
+coord0=0
+flag0=134217760
+flagg0=134217728
+flagh0=16
+flagi0=138412032
+tflag0=0
+initx0=0
+inity0=0
+minx0=0
+miny0=0
+maxx0=0
+maxy0=0
+posx0=50
+posy0=50
+sizx0=800
+sizy0=600
+maxfps0=0
+initts0=4
+winver0=0
+maxres0=-1
diff --git a/build/exports/dxwnd.ini b/build/exports/dxwnd.ini
index c739d0d..e3fa042 100644
--- a/build/exports/dxwnd.ini
+++ b/build/exports/dxwnd.ini
@@ -1,5 +1,5 @@
[window]
-posx=1289
-posy=149
-sizx=465
-sizy=382
+posx=1547
+posy=779
+sizx=320
+sizy=200
diff --git a/build/readme-relnotes.txt b/build/readme-relnotes.txt
index 40020ac..47602b5 100644
--- a/build/readme-relnotes.txt
+++ b/build/readme-relnotes.txt
@@ -538,4 +538,11 @@ fix: hooked GetMonitorInfoA/W that is a possible way to get the screen resolutio
v2.02.82
fix: completed chinese translation and language selection through dxwnd.ini file.
-added very preliminary (and incomplete) italian translation for debugging.
\ No newline at end of file
+added very preliminary (and incomplete) italian translation for debugging.
+
+v2.02.83
+fix: small error in one coordinate scaling procedure
+fix: completed translation in italian (just for testing....)
+fix: added palette window activation in icon tray menu
+fix: supppressed BackBuffer release within D3D7:CreateDevice: this makes "Tetris Worlds" fully playable
+add: build-in check for compatibility modes set!
\ No newline at end of file
diff --git a/dll/Debug/BuildLog.htm b/dll/Debug/BuildLog.htm
deleted file mode 100644
index 7f7b4ac..0000000
Binary files a/dll/Debug/BuildLog.htm and /dev/null differ
diff --git a/dll/Debug/advapi.obj b/dll/Debug/advapi.obj
deleted file mode 100644
index 1857632..0000000
Binary files a/dll/Debug/advapi.obj and /dev/null differ
diff --git a/dll/Debug/ddproxy.obj b/dll/Debug/ddproxy.obj
deleted file mode 100644
index 5fd639d..0000000
Binary files a/dll/Debug/ddproxy.obj and /dev/null differ
diff --git a/dll/Debug/ddraw.obj b/dll/Debug/ddraw.obj
deleted file mode 100644
index c9e3fa5..0000000
Binary files a/dll/Debug/ddraw.obj and /dev/null differ
diff --git a/dll/Debug/dinput.obj b/dll/Debug/dinput.obj
deleted file mode 100644
index efd3a95..0000000
Binary files a/dll/Debug/dinput.obj and /dev/null differ
diff --git a/dll/Debug/dwhide.obj b/dll/Debug/dwhide.obj
deleted file mode 100644
index 3722cd9..0000000
Binary files a/dll/Debug/dwhide.obj and /dev/null differ
diff --git a/dll/Debug/dxdiaghook.obj b/dll/Debug/dxdiaghook.obj
deleted file mode 100644
index bb57cf2..0000000
Binary files a/dll/Debug/dxdiaghook.obj and /dev/null differ
diff --git a/dll/Debug/dxemublt.obj b/dll/Debug/dxemublt.obj
deleted file mode 100644
index 3029ee4..0000000
Binary files a/dll/Debug/dxemublt.obj and /dev/null differ
diff --git a/dll/Debug/dxhelper.obj b/dll/Debug/dxhelper.obj
deleted file mode 100644
index bd8635e..0000000
Binary files a/dll/Debug/dxhelper.obj and /dev/null differ
diff --git a/dll/Debug/dxhook.obj b/dll/Debug/dxhook.obj
deleted file mode 100644
index ec12f89..0000000
Binary files a/dll/Debug/dxhook.obj and /dev/null differ
diff --git a/dll/Debug/dxwcore.obj b/dll/Debug/dxwcore.obj
deleted file mode 100644
index 8abc0f6..0000000
Binary files a/dll/Debug/dxwcore.obj and /dev/null differ
diff --git a/dll/Debug/dxwnd.dll.embed.manifest b/dll/Debug/dxwnd.dll.embed.manifest
deleted file mode 100644
index 11bb704..0000000
--- a/dll/Debug/dxwnd.dll.embed.manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/dll/Debug/dxwnd.dll.embed.manifest.res b/dll/Debug/dxwnd.dll.embed.manifest.res
deleted file mode 100644
index c933726..0000000
Binary files a/dll/Debug/dxwnd.dll.embed.manifest.res and /dev/null differ
diff --git a/dll/Debug/dxwnd.dll.intermediate.manifest b/dll/Debug/dxwnd.dll.intermediate.manifest
deleted file mode 100644
index ecea6f7..0000000
--- a/dll/Debug/dxwnd.dll.intermediate.manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/dll/Debug/dxwnd.exp b/dll/Debug/dxwnd.exp
deleted file mode 100644
index 606dfb0..0000000
Binary files a/dll/Debug/dxwnd.exp and /dev/null differ
diff --git a/dll/Debug/dxwnd.lib b/dll/Debug/dxwnd.lib
deleted file mode 100644
index 5004800..0000000
Binary files a/dll/Debug/dxwnd.lib and /dev/null differ
diff --git a/dll/Debug/dxwnd.obj b/dll/Debug/dxwnd.obj
deleted file mode 100644
index d80f533..0000000
Binary files a/dll/Debug/dxwnd.obj and /dev/null differ
diff --git a/dll/Debug/dxwnd.pdb b/dll/Debug/dxwnd.pdb
deleted file mode 100644
index 2356add..0000000
Binary files a/dll/Debug/dxwnd.pdb and /dev/null differ
diff --git a/dll/Debug/dxwnd.res b/dll/Debug/dxwnd.res
deleted file mode 100644
index c23cbab..0000000
Binary files a/dll/Debug/dxwnd.res and /dev/null differ
diff --git a/dll/Debug/gdi32.obj b/dll/Debug/gdi32.obj
deleted file mode 100644
index 3453770..0000000
Binary files a/dll/Debug/gdi32.obj and /dev/null differ
diff --git a/dll/Debug/glide.obj b/dll/Debug/glide.obj
deleted file mode 100644
index fab5531..0000000
Binary files a/dll/Debug/glide.obj and /dev/null differ
diff --git a/dll/Debug/hd3d.obj b/dll/Debug/hd3d.obj
deleted file mode 100644
index 7ddf469..0000000
Binary files a/dll/Debug/hd3d.obj and /dev/null differ
diff --git a/dll/Debug/hd3d7.obj b/dll/Debug/hd3d7.obj
deleted file mode 100644
index fd1c75a..0000000
Binary files a/dll/Debug/hd3d7.obj and /dev/null differ
diff --git a/dll/Debug/hotpatch.obj b/dll/Debug/hotpatch.obj
deleted file mode 100644
index 138ebe9..0000000
Binary files a/dll/Debug/hotpatch.obj and /dev/null differ
diff --git a/dll/Debug/iatpatch.obj b/dll/Debug/iatpatch.obj
deleted file mode 100644
index 5c96f3c..0000000
Binary files a/dll/Debug/iatpatch.obj and /dev/null differ
diff --git a/dll/Debug/imelib.obj b/dll/Debug/imelib.obj
deleted file mode 100644
index dbc80b7..0000000
Binary files a/dll/Debug/imelib.obj and /dev/null differ
diff --git a/dll/Debug/kernel32.obj b/dll/Debug/kernel32.obj
deleted file mode 100644
index 0feda5d..0000000
Binary files a/dll/Debug/kernel32.obj and /dev/null differ
diff --git a/dll/Debug/msvfw.obj b/dll/Debug/msvfw.obj
deleted file mode 100644
index edfc7b0..0000000
Binary files a/dll/Debug/msvfw.obj and /dev/null differ
diff --git a/dll/Debug/mt.dep b/dll/Debug/mt.dep
deleted file mode 100644
index 397df39..0000000
--- a/dll/Debug/mt.dep
+++ /dev/null
@@ -1 +0,0 @@
-Manifest resource last updated at 0:24:39.39 on 30/06/2014
diff --git a/dll/Debug/ole32.obj b/dll/Debug/ole32.obj
deleted file mode 100644
index 8b24470..0000000
Binary files a/dll/Debug/ole32.obj and /dev/null differ
diff --git a/dll/Debug/opengl.obj b/dll/Debug/opengl.obj
deleted file mode 100644
index 51efa8c..0000000
Binary files a/dll/Debug/opengl.obj and /dev/null differ
diff --git a/dll/Debug/smack.obj b/dll/Debug/smack.obj
deleted file mode 100644
index 2b2a40c..0000000
Binary files a/dll/Debug/smack.obj and /dev/null differ
diff --git a/dll/Debug/user32.obj b/dll/Debug/user32.obj
deleted file mode 100644
index 9875a3d..0000000
Binary files a/dll/Debug/user32.obj and /dev/null differ
diff --git a/dll/Debug/vc90.idb b/dll/Debug/vc90.idb
deleted file mode 100644
index 4df69fb..0000000
Binary files a/dll/Debug/vc90.idb and /dev/null differ
diff --git a/dll/Debug/vc90.pdb b/dll/Debug/vc90.pdb
deleted file mode 100644
index 0b3ec79..0000000
Binary files a/dll/Debug/vc90.pdb and /dev/null differ
diff --git a/dll/Debug/winmm.obj b/dll/Debug/winmm.obj
deleted file mode 100644
index 9479aec..0000000
Binary files a/dll/Debug/winmm.obj and /dev/null differ
diff --git a/dll/Debug/wintrust.obj b/dll/Debug/wintrust.obj
deleted file mode 100644
index a080284..0000000
Binary files a/dll/Debug/wintrust.obj and /dev/null differ
diff --git a/dll/Debug/wndproc.obj b/dll/Debug/wndproc.obj
deleted file mode 100644
index 7924acc..0000000
Binary files a/dll/Debug/wndproc.obj and /dev/null differ
diff --git a/dll/ddraw.cpp b/dll/ddraw.cpp
index abca7d7..10a32a2 100644
--- a/dll/ddraw.cpp
+++ b/dll/ddraw.cpp
@@ -17,6 +17,7 @@
#include "syslibs.h"
extern BOOL IsChangeDisplaySettingsHotPatched;
+BOOL bDontReleaseBackBuffer = FALSE;
// DirectDraw API
HRESULT WINAPI extDirectDrawCreate(GUID FAR *, LPDIRECTDRAW FAR *, IUnknown FAR *);
@@ -752,6 +753,30 @@ Unlock4_Type pUnlockMethod(LPDIRECTDRAWSURFACE lpdds)
return (Unlock4_Type)pUnlock1;
}
+#if 0
+Lock_Type pLockMethod(LPDIRECTDRAWSURFACE lpdds)
+{
+ char sMsg[81];
+ void * extUnlock;
+ __try{ // v2.02.31: catch some possible exception (i.e. Abomination in EMULATION mode)
+ extUnlock=(void *)*(DWORD *)(*(DWORD *)lpdds + 128);
+ }
+ __except (EXCEPTION_EXECUTE_HANDLER){
+ OutTraceE("Exception at %d\n",__LINE__);
+ return (Unlock4_Type)pUnlock1;
+ };
+ if(extUnlock==(void *)extUnlock1) return pLock1;
+ if(extUnlock==(void *)extUnlock4) return pLock4;
+ if(extUnlock==(void *)extUnlockDir1) return pLock1;
+ if(extUnlock==(void *)extUnlockDir4) return pLock4;
+ sprintf_s(sMsg, 80, "pLockMethod: pUnlock(%x) can't match %x\n", lpdds, extUnlock);
+ OutTraceDW(sMsg);
+ if (IsAssertEnabled) MessageBox(0, sMsg, "pLockMethod", MB_OK | MB_ICONEXCLAMATION);
+ if (pLock4) return pLock4;
+ return pLock1;
+}
+#endif
+
CreateSurface2_Type pCreateSurfaceMethod(LPDIRECTDRAWSURFACE lpdds)
{
char sMsg[81];
@@ -3783,7 +3808,7 @@ HRESULT WINAPI extUnlock(int dxversion, Unlock4_Type pUnlock, LPDIRECTDRAWSURFAC
if ((dxversion == 4) && lprect) CleanRect(&lprect,__LINE__);
if(IsTraceDDRAW){
- OutTrace("Unlock: lpdds=%x%s ", lpdds, (IsPrim ? "(PRIM)":""));
+ OutTrace("Unlock(%d): lpdds=%x%s ", dxversion, lpdds, (IsPrim ? "(PRIM)":""));
if (dxversion == 4){
if (lprect){
OutTrace("rect=(%d,%d)-(%d,%d)\n", lprect->left, lprect->top, lprect->right, lprect->bottom);
@@ -4253,8 +4278,13 @@ HRESULT WINAPI extReleaseS(LPDIRECTDRAWSURFACE lpdds)
IsPrim=dxw.IsAPrimarySurface(lpdds);
IsBack=dxw.IsABackBufferSurface(lpdds);
-
- res = (*pReleaseS)(lpdds);
+
+ if(IsBack && bDontReleaseBackBuffer){
+ OutTraceDDRAW("Release(S): SKIP RELEASE on lpdds=%x\n", lpdds);
+ res = 0;
+ }
+ else
+ res = (*pReleaseS)(lpdds);
OutTraceDDRAW("Release(S): lpdds=%x%s refcount=%d\n", lpdds, IsPrim?"(PRIM)":(IsBack?"(BACK)":""), res);
if (res==0) { // common precondition
diff --git a/dll/dxhook.cpp b/dll/dxhook.cpp
index 9a34db4..91d3ae9 100644
--- a/dll/dxhook.cpp
+++ b/dll/dxhook.cpp
@@ -154,6 +154,47 @@ void OutTrace(const char *format, ...)
fflush(fp);
}
+static BOOL CheckCompatibilityFlags()
+{
+ typedef DWORD (WINAPI *GetFileVersionInfoSizeA_Type)(LPCSTR, LPDWORD);
+ typedef BOOL (WINAPI *GetFileVersionInfoA_Type)(LPCSTR, DWORD, DWORD, LPVOID);
+ typedef BOOL (WINAPI *VerQueryValueA_Type)(LPCVOID, LPCSTR, LPVOID, PUINT);
+ VerQueryValueA_Type pVerQueryValueA;
+ GetFileVersionInfoA_Type pGetFileVersionInfoA;
+ GetFileVersionInfoSizeA_Type pGetFileVersionInfoSizeA;
+
+ HMODULE VersionLib;
+ DWORD dwMajorVersion, dwMinorVersion;
+ DWORD dwHandle = 0;
+ int size;
+ UINT len = 0;
+ VS_FIXEDFILEINFO* vsfi = NULL;
+ OSVERSIONINFO vi;
+
+ if(!(VersionLib=LoadLibrary("Version.dll"))) return FALSE;
+ pGetFileVersionInfoA=(GetFileVersionInfoA_Type)GetProcAddress(VersionLib, "GetFileVersionInfoA");
+ if(!pGetFileVersionInfoA) return FALSE;
+ pGetFileVersionInfoSizeA=(GetFileVersionInfoSizeA_Type)GetProcAddress(VersionLib, "GetFileVersionInfoSizeA");
+ if(!pGetFileVersionInfoSizeA) return FALSE;
+ pVerQueryValueA=(VerQueryValueA_Type)GetProcAddress(VersionLib, "VerQueryValueA");
+ if(!pVerQueryValueA) return FALSE;
+
+ size = (*pGetFileVersionInfoSizeA)("kernel32.dll", &dwHandle);
+ BYTE* VersionInfo = new BYTE[size];
+ (*pGetFileVersionInfoA)("kernel32.dll", dwHandle, size, VersionInfo);
+ (*pVerQueryValueA)(VersionInfo, "\\", (void**)&vsfi, &len);
+ dwMajorVersion=HIWORD(vsfi->dwProductVersionMS);
+ dwMinorVersion=LOWORD(vsfi->dwProductVersionMS);
+ delete[] VersionInfo;
+ vi.dwOSVersionInfoSize=sizeof(vi);
+ GetVersionExA(&vi);
+ if((vi.dwMajorVersion!=dwMajorVersion) || (vi.dwMinorVersion!=dwMinorVersion)) {
+ MessageBox(NULL, "Compatibility settings detected!", "DxWnd", MB_OK);
+ return TRUE;
+ }
+ return FALSE;
+}
+
static void dx_ToggleLogging()
{
// toggle LOGGING
@@ -1458,6 +1499,8 @@ void HookInit(TARGETMAP *target, HWND hwnd)
OutTrace("HookInit: target window pos=(%d,%d) size=(%d,%d)\n", dxw.iPosX, dxw.iPosY, dxw.iSizX, dxw.iSizY);
}
+ CheckCompatibilityFlags(); // v2.02.83 Check for change of OS release
+
HookSysLibsInit(); // this just once...
base=GetModuleHandle(NULL);
diff --git a/dll/dxwcore.cpp b/dll/dxwcore.cpp
index 782e0ab..4e61dc8 100644
--- a/dll/dxwcore.cpp
+++ b/dll/dxwcore.cpp
@@ -756,7 +756,7 @@ RECT dxwCore::GetWindowRect(RECT win)
win.left = ((win.left - desk0.x) * (LONG)dwScreenWidth) / desktop.right;
win.top = ((win.top - desk0.y) * (LONG)dwScreenHeight) / desktop.bottom;
win.right = ((win.right - desk0.x) * (LONG)dwScreenWidth) / desktop.right;
- win.bottom = ((win.bottom - desk0.y) * (LONG)dwScreenWidth) / desktop.right;
+ win.bottom = ((win.bottom - desk0.y) * (LONG)dwScreenHeight) / desktop.bottom;
return win;
}
diff --git a/dll/dxwnd.cpp b/dll/dxwnd.cpp
index 84461ba..5a0491e 100644
--- a/dll/dxwnd.cpp
+++ b/dll/dxwnd.cpp
@@ -24,7 +24,7 @@ along with this program. If not, see .
#include "dxwnd.h"
#include "dxwcore.hpp"
-#define VERSION "2.02.82"
+#define VERSION "2.02.83"
#define DDTHREADLOCK 1
diff --git a/dll/dxwnd.vs2008.suo b/dll/dxwnd.vs2008.suo
index 190757a..ba8fb7a 100644
Binary files a/dll/dxwnd.vs2008.suo and b/dll/dxwnd.vs2008.suo differ
diff --git a/dll/hd3d7.cpp b/dll/hd3d7.cpp
index 28bd955..f50e670 100644
--- a/dll/hd3d7.cpp
+++ b/dll/hd3d7.cpp
@@ -759,16 +759,25 @@ HRESULT WINAPI extCreateDevice3(void *lpd3d, REFCLSID Guid, LPDIRECTDRAWSURFACE4
HRESULT WINAPI extCreateDevice7(void *lpd3d, REFCLSID Guid, LPDIRECTDRAWSURFACE7 lpdds, LPDIRECT3DDEVICE7 *lplpd3dd)
{
+ // v2.02.83: D3D CreateDevice (version 7? all versions?) internally calls the Release method upon th ebackbuffer
+ // surface, and this has to be avoided since it causes a crash.
+ // The bDontReleaseBackBuffer boolean tells extReleaseS NOT to perform an actual release operation.
+
HRESULT res;
+ extern BOOL bDontReleaseBackBuffer;
OutTraceD3D("CreateDevice(D3D7): d3d=%x GUID=%x(%s) lpdds=%x\n", lpd3d, Guid.Data1, ExplainGUID((GUID *)&Guid), lpdds);
+ bDontReleaseBackBuffer = TRUE;
res=(*pCreateDevice7)(lpd3d, Guid, lpdds, lplpd3dd);
+ bDontReleaseBackBuffer = FALSE;
if(res) {
OutTraceE("CreateDevice(D3D7) ERROR: err=%x(%s) at %d\n", res, ExplainDDError(res), __LINE__);
if((dxw.dwFlags1 & AUTOMATIC) && (dxw.dwFlags1 & EMULATESURFACE)) {
dxw.dwFlags1 &= ~EMULATESURFACE;
dxw.dwFlags1 |= LOCKEDSURFACE;
+ bDontReleaseBackBuffer = TRUE;
res=(*pCreateDevice7)(lpd3d, Guid, lpdds, lplpd3dd);
+ bDontReleaseBackBuffer = FALSE;
}
if (res) {
OutTraceE("CreateDevice(D3D7) ERROR: err=%x(%s) at %d\n", res, ExplainDDError(res), __LINE__);
diff --git a/dll/user32.cpp b/dll/user32.cpp
index 5314c46..0a23fc6 100644
--- a/dll/user32.cpp
+++ b/dll/user32.cpp
@@ -609,11 +609,10 @@ LONG WINAPI extSetWindowLong(HWND hwnd, int nIndex, LONG dwNewLong, SetWindowLon
}
if (((nIndex==GWL_WNDPROC)||(nIndex==DWL_DLGPROC)) && dxw.IsFullScreen()){ // v2.02.51 - see A10 Cuba....
- //if (nIndex==GWL_WNDPROC){
WNDPROC lres;
WNDPROC OldProc;
// GPL fix
- if(dxw.IsRealDesktop(hwnd)) {
+ if(dxw.IsRealDesktop(hwnd) && dxw.Windowize) {
hwnd=dxw.GethWnd();
OutTraceDW("SetWindowLong: DESKTOP hwnd, FIXING hwnd=%x\n",hwnd);
}
diff --git a/doc/dxwnd_manual.odt b/doc/dxwnd_manual.odt
index eccef6a..d2a419c 100644
Binary files a/doc/dxwnd_manual.odt and b/doc/dxwnd_manual.odt differ
diff --git a/host/dxwndhost.rc b/host/dxwndhost.rc
index 767a7b4..cf95ace 100644
Binary files a/host/dxwndhost.rc and b/host/dxwndhost.rc differ
diff --git a/host/dxwndhost.vs2008.suo b/host/dxwndhost.vs2008.suo
index 2a7b5f6..67ddfee 100644
Binary files a/host/dxwndhost.vs2008.suo and b/host/dxwndhost.vs2008.suo differ
diff --git a/locale/cn/Resources_Cn.ncb b/locale/cn/Resources_Cn.ncb
index 93f1bff..3e9eff4 100644
Binary files a/locale/cn/Resources_Cn.ncb and b/locale/cn/Resources_Cn.ncb differ
diff --git a/locale/cn/Resources_Cn.rc b/locale/cn/Resources_Cn.rc
index b3accc8..aa1e0d2 100644
Binary files a/locale/cn/Resources_Cn.rc and b/locale/cn/Resources_Cn.rc differ
diff --git a/locale/cn/Resources_Cn.suo b/locale/cn/Resources_Cn.suo
index 7f42a10..fc9c29a 100644
Binary files a/locale/cn/Resources_Cn.suo and b/locale/cn/Resources_Cn.suo differ
diff --git a/locale/en/Resources_EN.rc b/locale/en/Resources_EN.rc
index 767a7b4..cf95ace 100644
Binary files a/locale/en/Resources_EN.rc and b/locale/en/Resources_EN.rc differ
diff --git a/locale/en/Resources_En.ncb b/locale/en/Resources_En.ncb
index 048a0c9..812fa90 100644
Binary files a/locale/en/Resources_En.ncb and b/locale/en/Resources_En.ncb differ
diff --git a/locale/en/Resources_En.suo b/locale/en/Resources_En.suo
index f764e99..4545e7a 100644
Binary files a/locale/en/Resources_En.suo and b/locale/en/Resources_En.suo differ
diff --git a/locale/it/Resources_IT.rc b/locale/it/Resources_IT.rc
index 7e52c08..c06f896 100644
Binary files a/locale/it/Resources_IT.rc and b/locale/it/Resources_IT.rc differ
diff --git a/locale/it/Resources_It.ncb b/locale/it/Resources_It.ncb
index 1fcbde9..048357f 100644
Binary files a/locale/it/Resources_It.ncb and b/locale/it/Resources_It.ncb differ
diff --git a/locale/it/Resources_It.suo b/locale/it/Resources_It.suo
index c1a0d39..e3d07a2 100644
Binary files a/locale/it/Resources_It.suo and b/locale/it/Resources_It.suo differ
diff --git a/release/release_82.rar b/release/release_82.rar
deleted file mode 100644
index 32e4fb4..0000000
Binary files a/release/release_82.rar and /dev/null differ