Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build a DLL
Message
From
16/05/2001 15:07:28
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00508030
Message ID:
00508033
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform