Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create and access dlls.
Message
From
09/07/1999 11:24:52
 
 
To
09/07/1999 11:15:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00239451
Message ID:
00239457
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform