Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLLs
Message
De
25/08/1998 12:08:50
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: DLLs
Divers
Thread ID:
00128483
Message ID:
00129741
Vues:
36
George,

Thanks for the response. How do I register the DLL using REGSVR32?


>>Jim,
>>
>>Thanks for the response. I got the DLL to compile, but when I try and call the procedure in the class from a seperate project the procedure is not found. The code is below, please help.
>>
>>
>>*********************** DLL CODE *****************************************
>>DEFINE CLASS vfiled_class AS CUSTOM OLEPUBLIC
>> PROCEDURE insfld
>> RETURN "JIM"
>> ENDPROC
>>ENDDEFINE
>>
>>*********************** Program *****************************************
>>Declare string insfld IN "F:\ameritec\ameritec.400\oldfiles\dlltest.dll"
>>? insfld
>
>Hi Jim,
>
>Two things about building DLLs with VFP. First, they have to be registered using REGSVR32 in the Windows registry. Second, within VFP, use CREATEOBJECT() to access the functions.
>
>hth,
Thanks

Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform