>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement