DLL VARINFO
mrbcx
Sun Aug 23 13:29:31 PDT 2009
--- In BCX at yahoogroups.com, Brother Gabriel-Marie wrote:
>
> But can someone straighten me out on how to do it with VARINFO?
BGM,
I can't see how that can possibly work. Specifically, the test app has no way to determine the exported symbols in the dll. It's likely possible to re-write everything using function pointers but that's an exercise I leave to you.
In the meantime, what's wrong with the direct approach?
-- samp.dll --
$DLL stdcall
SUB Mess1 EXPORT
PRINT "This message 1"
END SUB
SUB Mess2 EXPORT
PRINT "This message 2"
END SUB
-- Test.bas --
CALL Mess1 (LIB "samp.dll")
CALL Mess2 (LIB "samp.dll")
PAUSE
More information about the BCX
mailing list