Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem calling .DLL file
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00247416
Message ID:
00247427
Views:
31
>I got a problem calling a .DLL from VFP6.
>
>this line of code correctly loads the dll into memory, this is proved when I type DISPLAY STATUS in the command window...
>
>declare string accessit in kendll string
>
>...then I call the dll with the line below.
>
>x=accessit("FINDADDRESS","KEN")
>
>FINDADDRESS is a subfunction in my dll (which is correctly displayed in the list of entry points when I right-click the dll and click 'view dependencies'.) All FINDADDRESS does is retrieve a piped string from an oracle database. The error message says: cannot find entry point in dll.
>
>Help! Any ideas most welcome.

Use the creatobject function instead of the declare command.
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.

"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).
Previous
Reply
Map
View

Click here to load this message in the networking platform