[Migrated content. Thread originally posted on 24 September 2003]
I am trying to learn how to do this in Cobol. Is it even possible to call an ActiveX Dlls written in VB? I've tried the way it was explained in one those Tech Tips on AcuCorp Forum , How to call Dll's under Windows, but I am getting "Program missing or inaccesible" error message.The example of Vb dll code in Class Modues (cMyObject):
_______________________
Option Explicit
Public Function Add(ByVal A As Integer, ByVal B As Integer) As Integer
Add = A B
End Function
Public Function Subtract(ByVal A As Integer, ByVal B As Integer) As Integer
Subtract = A - B
End Function
_________________



