Page 1 of 1

Calling a sub

Posted: Fri Jan 06, 2006 11:59 am
by Peterg
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

Re: Calling a sub

Posted: Fri Jan 06, 2006 4:23 pm
by Enrico Maria Giordano
Yes, the DLL command or a C wrapper.

EMG

Posted: Fri Jan 06, 2006 4:32 pm
by Peterg
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

Posted: Fri Jan 06, 2006 4:45 pm
by Enrico Maria Giordano
AS VOID

EMG