Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create DLLs
Message
 
 
To
21/10/1998 21:10:57
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00149191
Message ID:
00149202
Views:
20
The DLL's VFP - and VB for that matter - creates are Automation Server DLL's. A dll is a package consisting of 1 or more public classes. So, lets say your dll is named foo and you have a class in the dll called fooclass. To use the DLL, you would issue code like this:

o = createobject("foo.fooclass")

You need the runtime components for the langauge in which the dll is created.

So, to use a VFP or VB DLL, the client application must be able to host COM Servers.



>How can I create a DLL to be used by other languages, ie delphi.
>
>I have a project with an class, and a program as main module. The module defines a subclass with the olepublic statment. and I can do dll1.dll from foxpro and I get my messagebox, but if I run:
>
>rundll32.exe c:\test\dll1.dll
>
>From the command line I don't get anything. I also need to know how to create a function for my DLL. I've been experimenting myself but I can't accomplish what I want.
>
>PS: Is this the easyist way to create a small FXP a standalone executable program? Thats what I'm trying to do.
Previous
Reply
Map
View

Click here to load this message in the networking platform