EvilDonut
2003-09-24 23:45:10 UTC
How do I create a DLL which other languages like VB can use? I managed to
create a DLL but it cant be used by anything other than pascal.
My code looks like:
-----
Library Fan;
<some stuff>
Procedure SendPortData (toSend:byte); export;
<some more stuff>
exports SendPortData;
BEGIN
END.
-----
This compiles fine into a dll, but regsvr32.exe won't recognise it, nor will
VB. Basically I want to call SendPortData from VB, how would I go about
this?
create a DLL but it cant be used by anything other than pascal.
My code looks like:
-----
Library Fan;
<some stuff>
Procedure SendPortData (toSend:byte); export;
<some more stuff>
exports SendPortData;
BEGIN
END.
-----
This compiles fine into a dll, but regsvr32.exe won't recognise it, nor will
VB. Basically I want to call SendPortData from VB, how would I go about
this?