What is the accepted practice for this pls?
I assume the declaration goes in the LibMain of the 1st DLL?
FUNCTION LibMain(BYVAL hInstance AS LONG, _
BYVAL fwdReason AS LONG, _
BYVAL lpvReserved AS LONG) EXPORT AS LONG
SELECT CASE fwdReason
CASE %DLL_PROCESS_ATTACH
DECLARE FUNCTION Stepper LIB "Stepper.Dll" (BYVAL StopHere AS DWORD, _
BYVAL Current AS SINGLE, _
BYVAL LastBar AS DWORD, _
BYVAL ToTBars AS SINGLE, _
SendStr AS ASCIIZ PTR ) AS SINGLE
END SELECT
END FUNCTION
------------------
Kind Regards
Mike
I assume the declaration goes in the LibMain of the 1st DLL?
FUNCTION LibMain(BYVAL hInstance AS LONG, _
BYVAL fwdReason AS LONG, _
BYVAL lpvReserved AS LONG) EXPORT AS LONG
SELECT CASE fwdReason
CASE %DLL_PROCESS_ATTACH
DECLARE FUNCTION Stepper LIB "Stepper.Dll" (BYVAL StopHere AS DWORD, _
BYVAL Current AS SINGLE, _
BYVAL LastBar AS DWORD, _
BYVAL ToTBars AS SINGLE, _
SendStr AS ASCIIZ PTR ) AS SINGLE
END SELECT
END FUNCTION
------------------
Kind Regards
Mike
Comment