Information générale
Catégorie:
Fonctions Windows API
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement