Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create and access dlls.
Message
De
09/07/1999 11:24:52
 
 
À
09/07/1999 11:15:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00239451
Message ID:
00239457
Vues:
16
>I'm trying to create a dll in VFP6 and much like the help files suggest, I set to class 'ole public' property on and select the build com DLL option. That part works just fine, but I don't know how to access it. I Declare it according to the declare dll syntax and I get the "Cannot find entry point [methodname] in [dllname]".
>

VFP .DLLs are in-process COM components, not accessed with the DECLARE...DLL syntax. They are accessed by instantiating them and using the via Object reference; IOW, you do a CREATEOBJ() or it's equivalent to make the .DLL's COM interface (properties and public methods) accessible.

>If the name of the class where [classname],
>the method I wanted was [methodname]
>and the dll was [dllname]
>
>How do I declare and access the [methodname] method?
>
>
>Thank you,
>
>Ian
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