Hi everyone, Thanks for the explanations. I not include "-shared" in my scrpits.
Regards, Rossine. Przemyslaw Czerpak-2 wrote: > > On Wed, 08 Apr 2009, Szak�ts Viktor wrote: > > Hi, > >> Until then, you can add static libs to resolve the missing symbols: >> hbmk2 my.prg -lhbwin -lxhb -shared -lhbvm -lhbrtl -lhbcommon -lhbmacro > > It's very bad idea. In windows .dll is self contain binary so in such > way you will create final executable with to independent copies of HVM > and some other functions. The binaries will be created but final > results unpredictable. F.e. some functions will operate on HVM stack > inside harbour.dll and some others on HVM stack linked with final > binaries. What will happen you can try to guess if you carefully study > map file and all function bindings in final binaries but for sure it > will not be correct behavior. > _NEVER_ make anything like that. When harbour.dll is used no other > libraries which are part for harbour.dll should be used to link > the program. > > best regards, > Przemek > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > -- View this message in context: http://www.nabble.com/Errors-using-%22hbmk2--shared%22-tp22940265p22943389.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour