>
>I've been using it with OLE public classes (DLL's) with no problem. Can you post the line of code calling AGetFileVersion?
I tested it in the command prompt. I do not use a Dll, but an exe file.
IF AGETFILEVERSION(laArray,"Projects\Framewrk\Upgrade.EXE") > 0
lcFileVersion = laArray[4]
ENDIF
I tested it multiple times, changing the OLE settings of the class and compile the exe, and it always gives the same result: class = Ole public, no version information (returns 0), class not ole public, return 15 and version info is correct.
Christian Isberner
Software Consultant