Thanks for your time. It's obvious I need to do some more research into COM and convince the VB programmers to rewrite their "lookup" forms as COM objects so that I can use them in VFP and that they should "call" the COM objects in their VB applications.
Rgds
Petras
>If the call is synchronous, then VFP will suspend execution until the called method returns. The author of the DLL should be able to tell you more about how it works.
>
>As far as I know 'true COM DLLs' are the only kind that VB can create.
>
>
>>Ok, I suppose what I was looking for was a way to suspend the VFP application while a VB application does a lookup and returns data to the VFP application. Now does this make sense or should I ask the VB programmers to start writing true COM DLLs?
>>
>>Rgds
>>Petras
>>
>>>>Thanks for the reply. What if the VB DLL is a "lookup" form which returns the key of the table row selected. In this case, I just want to "call" the VB DLL and not create an object and manipulate it. Does this make sense?
>>>
>>>Creating and manipulating is "calling" the dll. That's how COM works.
Petras Virzintas