Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build a DLL
Message
De
16/05/2001 15:07:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00508030
Message ID:
00508033
Vues:
28
>Hi,
>I have a .prg file which I'd like to be "protected".
>I thought to compile it as a DLL file, so I followed the instructions in the VFP help.
>I declared a custom public class and put my procedure into the class.
>I builded the DLL , but when I try to call the procedure after declaring it I get this error:
>"ENTRY POINT FOR function_name NOT FOUND"
>
>Can anyone help me with this?
>or send me a simple example of how to build and use a dll file from VFP?
>
>thanks
>fabian


Sounds like you're trying to instantiate it as a C DLL. You need to use CREATEOBEJCT. For example, if your automation server is MyDll.Class, then you would use

ox = CREATEOBJECT("MyDll.Class")

There is an article on COM+ on my website that starts out with a simple COM DLL. It may help you.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform