>VFP produces COM DLLs, not Win32 DLLs. Make sure you are calling it as such.
>
>
>>I have create a multithread DLL in vfp 7.0. I have try to call the function from Delphi but a get an entry point error.
>>
>>How can I make it work ? How can I call the function ?
What do you mean ? I have use the typelibrary to generate the code in Delphi an then :
Cotest1 = class
class function Create: Itest1;
class function CreateRemote(const MachineName: string): Itest1;
end;
implementation
uses ComObj;
class function Cotest1.Create: Itest1;
begin
Result := CreateComObject(CLASS_test1) as Itest1;
end;
The function in the dll is call Test1.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only