Skip to content

How to include your own libs or third party libs into mod_harbour

FiveTech Software edited this page Apr 22, 2020 · 1 revision
  1. Add the libs names into modharbour.hbp with -l in front of the lib name and don't specify the lib extension. In example, if your lib name is mylibname.lib then add -lmylibname

  2. Add your lib function names in apache.prg using extern. In example, if you exports myfuncname() then add this in apache.prg at the top: extern myfuncname

  3. Execute go32.bat or go64.bat to build mod_harbour 32 or 64 bits

That simple! :-)