> Hi, how can I create a DLL in VisualBasic 6 and use it in VisualFox 6. It must take parameters
>
> Thanks
>
> Pablo Taminelli
File >> New Project >> ActiveX DLL >> OK
** In class1(class1.cls)
Public Function Multiply(X As Integer, Y As Integer)
Multiply = X * Y
End Function
File >> Make Project1.dll
register the dll using REGSVR32
** in VFP
oDLL = CREATEOBJECT('Project1.Class1')
? oDLL.Multiply(5,7) && 35
Samir R. Ibrahim
Good things Take time, Great things happend all at once.My WebLogMy Website:
www.cdcity.org