Try adding this to the top of these files: --- #if defined( _MSC_VER ) && defined( HB_DYNLIB ) #undef HB_DYNLIB #endif ---
Przemek, to me this looks like an ugly hack, do you have a better idea? Brgds, Viktor On Fri, Aug 21, 2009 at 6:16 PM, Fernando Athayde<[email protected]> wrote: > but still with the same error > i made "clean" and try a new compilation, but without success > > ../../../../maindllh.c(70) : error C2375: 'DllMain' : redefinition; > different li > nkage > C:\Program Files\Windows Mobile 5.0 SDK > R2\PocketPC\Include\Armv4i\winba > se.h(313) : see declaration of 'DllMain' > mingw32-make[4]: *** [maindllh.obj] Error 2 > mingw32-make[3]: *** [descend] Error 2 > mingw32-make[2]: *** [maindllh] Error 2 > mingw32-make[1]: *** [vm] Error 2 > mingw32-make: *** [source] Error 2 > > Brgds, > Fernando > > ________________________________ > De: "[email protected]" <[email protected]> > Para: [email protected] > Enviadas: Sexta-feira, 21 de Agosto de 2009 11:41:59 > Assunto: [Harbour] SF.net SVN: harbour-project:[12237] trunk/harbour > > Revision: 12237 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12237&view=rev > Author: vszakats > Date: 2009-08-21 14:41:58 +0000 (Fri, 21 Aug 2009) > > Log Message: > ----------- > 2009-08-21 16:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) > * source/vm/maindllh.c > * source/vm/maindllp.c > ! Fixed DllMain() declaration for msvcarm targets. > Thanks Przemek for the hint. > > Modified Paths: > -------------- > trunk/harbour/ChangeLog > trunk/harbour/source/vm/maindllh.c > trunk/harbour/source/vm/maindllp.c > > > This was sent by the SourceForge.net collaborative development platform, the > world's largest Open Source development site. > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > > __________________________________________________ > Fale com seus amigos de graça com o novo Yahoo! Messenger > http://br.messenger.yahoo.com/ > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > > _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
