Davanum Srinivas wrote:
> I think i forgot to add code to init the _Module; Can you please try
> adding this code to WinDataTransfer.cpp
> 
> #ifdef WIN32
> #include <windows.h>
> BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpres) {
>     if (dwReason == DLL_PROCESS_ATTACH) {
>         _Module.Init(NULL, hInstance);
>     } else if (dwReason == DLL_PROCESS_DETACH) {
>         _Module.Term();
>     }
>     return TRUE;
> }
> #endif
> 
> Please let me know if this works!

I tried numerous variations and can't get it to work.  Just to be clear,
I'm still using MS Visual Studio .NET 2003, but was hoping to get the
AWT code into a shape that would with with both that and Express.

...but I don't think I'm going anywhere with it :-(

Regards,
Tim

Reply via email to