General information
Category:
Windows API functions
>>>>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?
>
>Eric,
>
>The problem is that you're declaring it in the wrong DLL. The declaration should reference Version.dll, not Ver.dll.
>
>From what you've posted, it looks like you're trying to get the file version information. Foxtools has a function (GetFileVersion) that will do everything in one simple call. It's documented in the Foxtools help file, and in my Extended Foxtools Help avaiable in the download section (Coding, Syntax & Commands) here at the UT.
>
>hth,
Thanx George,
Life now is good.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only