FileVersionToStr and GetFileVersion doesnt working.

delphi package - madRes, madTools, madStrings, ...
Post Reply
kgulol
Posts: 9
Joined: Sat Jan 07, 2012 5:42 pm

FileVersionToStr and GetFileVersion doesnt working.

Post by kgulol »

version_ := FileVersionToStr
(madtools.GetFileVersion('BDS.exe'); returns "15.0.3941."

my question is obviously simple:how can I get File Version Correctly ? something like "15.0.3941.35438"

thanks
madshi
Site Admin
Posts: 10749
Joined: Sun Mar 21, 2004 5:25 pm

Re: FileVersionToStr and GetFileVersion doesnt working.

Post by madshi »

It should work just fine. Are you using the latest madCollection version? Which BDS version are you using?
kgulol
Posts: 9
Joined: Sat Jan 07, 2012 5:42 pm

Re: FileVersionToStr and GetFileVersion doesnt working.

Post by kgulol »

yes, working very well.It seems I used short char length that truncates string :)
Post Reply