Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Old custom C dll works in VFP5, but not in VFP 6.0
Message
 
 
À
16/07/2001 15:27:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00531177
Message ID:
00531181
Vues:
13
Try to copy this dll with the same name, but fll extension and use fll instead. Check my FAQ #80166 here (how to remove double quote from text) for the complete instructions of creating fll.

>Hello. This is my first time in the Forum.
>
>We are migrating from VFP 5 to VFP 6 and have a C dll we want to keep, but it doesn't play.
>
>In VFP 5, we set up access to this dll's functions simply with:
>
> SET LIBRARY TO mq_tools.dll
>
>In VFP6, we recompiled it, and it seems that the SET LIBRARY function won't work anymore for this purpose. Has there been a change, a restriction, in how FoxPro must talk to custom dlls?
>
>When I use a DECLARE statement to declare up one of the functions in this dll, and then call the function, I get message "Cannot find entry point in the DLL". I made sure that the upper/lower case of the name is exactly the same both in the dll and in the DECLARE statement, but that was not the issue.
>
>We wonder if we just haven't compiled it correctly, and that is why the functions are not visible to FoxPro. I am not a C person at all, and our new manager who has worked with C is baffled also.
>
>Hoping to find a FoxPro guru who has dealt with this very problem.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform