Hi Antonino,
All Harbour core functions are included in harbour<version>.dll and are
automatically found if that dll is in the path. No contrib functions or
3rd party functions exist in that dll, so you have to REQUEST each and
every one that you need at the top of the main application and declare
the same functions DYNAMIC in each of your own dlls. That will link them
to the main exe so your dlls know where to find them. Did you create a
header file for that purpose like I suggested in my second message in
that old thread?
Also, for the main exe specify -hbexe and -shared, and for your dlls
specify -hbdynvm -shared and -nohblib
You may also have to specify hbc files for contribs you use (in the hbp
files for your dlls) in case the dll sources need the header files of
those contribs.
You mentioned a 79 KB size for the exe file, and that is normal if no
contribs are used, but since all contrib functions have to be linked
into the main exe, it will grow quickly. If 79 KB is your final file
size, then I suspect that no contribs have been linked.
BTW, never link any contribs or 3rd party libs to the dlls. If you do
that with two dlls and both are active at the same time there will be chaos.
Regards,
Klas