Calling a sub

Calling a sub

Postby Peterg » 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
Peterg
 
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK

Re: Calling a sub

Postby Enrico Maria Giordano » Fri Jan 06, 2006 4:23 pm

Yes, the DLL command or a C wrapper.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Peterg » Fri Jan 06, 2006 4: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
Peterg
 
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK

Postby Enrico Maria Giordano » Fri Jan 06, 2006 4:45 pm

AS VOID

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 27 guests