Dims,
I don't properly understand what you did here [1], though I'll readily
admit I'm no COM expert. When I applied those same changes I get a null
pointer write in the AWT drag and drop code tests.
Any insight (from anyone) about what you were doing here would be helpful.
Thanks,
Tim
[1] This part of the code you had to tweak:
Index:
working_classlib/modules/awt/src/main/native/win32wrapper/windows/WinDataTransfer.cpp
===================================================================
---
working_classlib/modules/awt/src/main/native/win32wrapper/windows/WinDataTransfer.cpp
(revision 587081)
+++
working_classlib/modules/awt/src/main/native/win32wrapper/windows/WinDataTransfer.cpp
(working copy)
@@ -21,8 +21,12 @@
#include <windows.h>
#include <atlbase.h>
+#include <objbase.h>
+
+extern CComModule _Module;
+
+#include <atlwin.h>
#include <atlcom.h>
-#include <atlcoll.h>
#include <oleidl.h>
#include <shlobj.h>
@@ -32,9 +36,6 @@
#pragma comment(lib, "gdi32.lib")
-class AtlModule : public CAtlModuleT<AtlModule> {
-} _AtlModule;
-
#include "WinDataTransfer.h"
// Data format names