FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Calling a sub
Posts: 62
Joined: Mon Nov 28, 2005 05:36 PM
Calling a sub
Posted: Fri Jan 06, 2006 11:59 AM

Hi all
I am using an external dll which contains a SUB that i need to call
Can this be called using DLL Function or is there another way. BTW the SUB does not return anything
Thanks
Peter

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Calling a sub
Posted: Fri Jan 06, 2006 04:23 PM

Yes, the DLL command or a C wrapper.

EMG

Posts: 62
Joined: Mon Nov 28, 2005 05:36 PM
Calling a sub
Posted: Fri Jan 06, 2006 04:32 PM

Is this called in the same way and what should i use as the AS option if there is nothing returned
e.g.
DLL Function mydllsub() AS ???? PACSAL LIB "mylib.dll"

Thanks
Peter

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM

Continue the discussion