On Tue, 09 Feb 2010, Szak�ts Viktor wrote: Hi Viktor,
> > 2. -hbdyn should automatically disable all static harbour > > libraries (-nohblib) but it should be possible to enable > > shared harbour library using -*shared option. [...] > I'll make -nohblib default when using -hbdyn, this also > allows to turn it back on using -nohblib-. Thank you very much. > > 7. It's necessary to add to HBMK2 link time option which add this > > code to final binaries: > > #include "hbapi.h" > > HB_EXPORT_ATTR PHB_FUNC dll_hb_vmProcAddress( const char * szFuncName ) > > { > > return hb_vmProcAddress( szFuncName ); > > } > > I'll update Harbour header files and add HB_EXPORT_ATTR and > > hb_vmProcAddress() declaration to them. > > We only have to choose name for this new option. > > My propositions: -hasdyn or -usedyn -expdyn > > Sorry but I'm the last person for such jobs but I believe that other > > users can help us. > What is the exact case when this option is required for users? > Maybe I'm off, but if this is required for all "pcode" .dlls, > we may just enable it automatically in -hbdyn mode when .prg source > files are specified. (of course there is the side case, when > Harbour .objs are also passed, but I'm not sure this is very > typical case.) This function is used by PCODE DLLs but it has to be added to the binaries which loads such PCODE DLLs, i.e. to .EXE file so this option is not used when dll is created (-hbdyn) but when .exe file is created (-hbexe). best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour