Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot load...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00193489
Message ID:
00193930
Vues:
17
>>What is usually the trouble when a .dll cannot load when calling a function and there was no entry point error in the declaration statement? Using ver.dll...
>
>There are a number of possible causes; the most frequent one is that some other resource required by the .DLL is not present/cannot be found. Commonly, this might mean that some shared .DLL is not there, or not current, or that if it is there, that it has not been registered yet.
>
>Other things include declaring the wrong number of parameters in the DECLARE, or the right number of parameters, but the parameters are of the wrong type expected by the .DLL.

Thanx Ed,

I'm probably not calling it correctly. Can you see a problem with this? I'm still not clear on API datatypes. Do I need a pointer?

pcFileName = "amovie.ocx"
lndwHandle = 0
declare integer GetFileVersionInfoSize in ver.dll as getsize;
string @lptstrFilename, ;
integer @lpdwHandle

lnInfoSize = getsize(@pcFileName,@lndwHandle)

Is there a document on api types somewhere that is more detailed than help and is there an easy way to find out what shared .dll is required by any given library like ver.dll?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform