Greg Smith wrote:
This doesn't belong in Platform.h which is part of Scintilla, not
SciTE. Platform.h is trying to define an abstraction of the platforms,
not define individual platform features.
Fair enough. It was just a quick hack to try it out.
Unfortunately, the three files affected:
DirectorExtension.cxx, SciTEWinDlg.cxx, SingleThreadExtension.cxx
do not have a common include (that I can see), so you have to include
#ifdef _MSC_VER
#if _MSC_VER < 1300
#define SetWindowLongPtr SetWindowLong
#define GetWindowLongPtr GetWindowLong
#define GWLP_USERDATA GWL_USERDATA
#define DWLP_USER DWL_USER
#define GWLP_WNDPROC GWL_WNDPROC
#endif
#endif
in all of them, or invent a new common include to cover such things as this.
Best wishes,
Greg Smith
I still get the following errors after inserting those statements into the
three referenced files.
SingleThreadExtension.cxx -- 'LONG_PTR' : undeclared identifier
UniqueInstance.cxx -- 'DWORD_PTR' : undeclared identifier
Any idea how to resolve this? Any help would be greatly appreciated.
-Dan
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest