harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: [build] Update on my build progress
Date Tue, 06 Nov 2007 12:04:48 GMT
Tim,

Can you please send me the AWT sample that fails?

thanks,
dims

On 11/6/07, Tim Ellison <t.p.ellison@gmail.com> wrote:
> 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
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

Mime
View raw message