On Fri, 09 Jan 2009, Juan Gálvez wrote:

Hi Juan,

>> If you want to used PCODE DLLs with static Harbour binaries then you
>> have to compile Harbour exporting public symbols like for share
>> harbour library. It's enough to set HB_DYNLIB macro. F.e. by:
>>   set C_USR=-DHB_DYNLIB
>> then rebuild Harbour.
> It works fine :)
> I thought -D__EXPORT__ made this work. Should I also maintain it ? 
> Please, could you give a small explanation of these macros?

Few weeks ago __EXPORT__ macro was renamed to HB_DYNLIB which is
probably also not very good name but now is the official one.
When it's set public functions are marked as exported and in
final binaries linker create special table which can be used
by loaded DLLs to locate function addresses.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to