harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [build] Update on my build progress
Date Tue, 06 Nov 2007 11:50:14 GMT
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


Mime
View raw message