| Description: |
tkWinWm.c
..\win\tkWinWm.c(2993) : warning C4013: SetWindowLongPtr' undefined; assuming extern returning int
...
Creating library .\Release\tk84.lib and object .\Release\tk84.exp
tkWinWm.obj : error LNK2001: unresolved external symbol _SetWindowLongPtr
.\Release\tk84.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
Though most places had been fixed, one was missed out
in the recent set of fixes. Diffs w.r.t 8.4.19 are:
diff -u tkWinWm.c.orig tkWinWm.c
--- tkWinWm.c.origThu May 1 08:58:55 2008
+++ tkWinWm.cThu May 1 08:59:44 2008
@@ -2990,8 +2990,13 @@
* translation. Add the 0.5 to round the value.
*/
if (!(wmPtr->exStyleConfig & WS_EX_LAYERED)) {
+#ifdef _WIN64
SetWindowLongPtr(wmPtr->wrapper, GWL_EXSTYLE,
*stylePtr);
+#else
+SetWindowLong(wmPtr->wrapper, GWL_EXSTYLE,
+*stylePtr);
+#endif
}
setLayeredWindowAttributesProc((HWND) wmPtr->wrapper,
wmPtr->colorref, (BYTE) (wmPtr->alpha * 255 + 0.5),
|