On Tue, 05 Aug 2008, Szakáts Viktor wrote: Hi Viktor,
> I've checked and they are added, so the problem > seems to be that the public zlib, pcre interface > is not marked as HB_EXPORT (or export by any > other means). It should not be a problem. The HB_EXPORT attribute is necessary only for external modules linked with .DLL Internally inside single DLL it's not necessary. So zlib internal functions have to be declared with DLLEXPORT attribute only if you want to linke some code which uses ZLIB with harbour*.dll and without any other zlib library. I've also noticed that hbdebug library is included in harbour*dll created by non GNU make files. IMHO it should not be. If someone wants to create code for debugger then he can link static debug library with static part of his code. Due to registered symbol __DBGENTRY it also informs HVM that debugger is linked in all windows dynamic binaries. I'll commit some modifications to current code with hbextern library anyhow but the problem with main vs WinMain cannot be easy resolved due to differences between compilers and linkers. I can exclude WinMain() from HVM library in MinGW builds and add hbmainwin library but I do not know if it will work for all MinGW versions. AFAIR some of them where not accepting WinMain() from library as long as it was not explicitly requested. This is the reason why we have at the end of hvm.c and mainwin.c explicit binding for MinGW compilers. If I move WinMain() to separate library then I will have to eliminate this binding. It will not be a problem for people who use hb* scripts because I will generate WinMain() on the fly from them but for other users it may create very serious problem which cannot be easy resolved by them. If possible then you can try to add also MSVC to compilers which set such explicit binding and maybe it will resolve the problem with WinMain() stored in harbour*.dll created by this compiler so it will be usable also for others. If not then without linker wrappers like hb* scripts but working without BASH I suggest to not touch it. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour