>I have a VB function (comes from Dll) which requeres an object as a parameter. Is there a way to use it in VFP? I can create that object but how to declare DLL?
>Thanks Mark
Since VB can only create ActiveX DLLs, you don't need to declare the DLL. You need to use Createobject() and then pass your object to the function.
myobj = someobject
oVB = createobject("myVBProject.myVBClass")
oVB.SomeFunction(myobj)
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao