Hi Leandro, Sorry but I know nothing about pcode .dlls, hence there is no support for it in hbmk2 (yet?). I can't recall anyone doing any tests with this (besides me a while back, but without any results)
To do anything in this regard, first I should see how pcode .dlls are supposed to work, linked, etc. I also need to see if this is something Windows specific or portable. The latter would certainly make it more interesting to deal with. In the meantime I'd suggest to consider to use .hrb files instead. Unless there is the need to include .c code in these pcode .dlls, they are superior in all aspects, moreover they already work. Brgds, Viktor On 2010 Feb 8, at 13:34, 2D Info - Leandro Damasio wrote: > Hello > I have an aplication based on pCode Dll funcionallity. It was written in > xHarbour + BCC55 and now I need to know how to build it hbmk2+MINGW. In > xHarbour we could choose between 3 dll entry-points by chosing between > maindll.obj, maindllh.obj or maindllp.obj and once linking the dll with > maindllp.obj one just had to libload the DLL to make all its symbols be > brought to the "host" vm, just like using clipper+blinker DLLs. I see that > hbmk2 have and option -hbdyn to build dlls, but how do I tell hbmk2 that I > need a pCode DLL and not a self-contained or harbour dll? > Ahd how about the load procedings? Should it work the same way as in xHarbour > (just libload the DLL and its functions will be available) or is there any > other formality to fulfill? > We had to threatfully make a few changes on the xHarbour vm to make libload() > work properly but they were so few and small that I believe they can have > been already solved in Harbour once its vm seems to have a stronger design. > Regards, > Leandro Damasio > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
