Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I create a .DLL ?
Message
De
15/03/1999 12:04:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00197641
Message ID:
00197658
Vues:
14
>Hi everybody !
>
>I have a problem creating a .DLL(I'm sure it's somethig easy but I don't understand)...In my project, I have Functions and classes in a .PRG file. I generate my project with the action GENERATE A DLL COM.In an other project, when I declare a function of my DLL, even if it's in a class definition or not, I have the error message : DLL entry point not found.
>
>When I use DUMPBIN.EXE on my .DLL, it doesn't show any of my functions as if I create the .DLL in C++...
>
>Is there something special to do to make a function accessible to other applications in a .DLL ?
>

VFP does not produce a C-style .DLL; instead, it creates an in-process COM server, accessed via OLE Automation. You would access the .DLL by creating and instantiating an in-process server by the equivalent of CREATOBJECT() or NEWOBJECT(); functions would be method invocations. See Chapter 16 (Adding OLE) of the VFP Programmer's Reference for details. This is accessible in the on-line documentation.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform