Lately we had a topic how to use a PB dll using lib files in MS c++
I need a quick solution to implement this in Borland c5.
Please help me to convert this:
PB DLL exported function: (Note the byval)
Function MyFunction Alias "MyFunction"( ByVal hWnd As Long, Text As ASCIIZ ) Export As Long
VB: (using strptr)
Declare Function MyFunction Lib "Mydll.dll"( ByVal hWnd As Long, ByVal Text As String ) As Long
Borland: ??
I prefer an easy to maintain include file.
Lib files if there's no other way.
NO special statements in the PB function please.
No name mangling.
Thanks,
------------------
[email protected]
I need a quick solution to implement this in Borland c5.
Please help me to convert this:
PB DLL exported function: (Note the byval)
Function MyFunction Alias "MyFunction"( ByVal hWnd As Long, Text As ASCIIZ ) Export As Long
VB: (using strptr)
Declare Function MyFunction Lib "Mydll.dll"( ByVal hWnd As Long, ByVal Text As String ) As Long
Borland: ??
I prefer an easy to maintain include file.
Lib files if there's no other way.
NO special statements in the PB function please.
No name mangling.
Thanks,
------------------
[email protected]
Comment