FileVersionToStr and GetFileVersion doesnt working.

delphi package - madRes, madTools, madStrings, ...

FileVersionToStr and GetFileVersion doesnt working.

Postby kgulol » Sat Jan 07, 2012 7:53 pm

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
kgulol
 
Posts: 9
Joined: Sat Jan 07, 2012 5:42 pm

Re: FileVersionToStr and GetFileVersion doesnt working.

Postby madshi » Sun Jan 08, 2012 9:25 am

It should work just fine. Are you using the latest madCollection version? Which BDS version are you using?
madshi
Site Admin
 
Posts: 9414
Joined: Sun Mar 21, 2004 5:25 pm

Re: FileVersionToStr and GetFileVersion doesnt working.

Postby kgulol » Sun Jan 08, 2012 1:09 pm

yes, working very well.It seems I used short char length that truncates string :)
kgulol
 
Posts: 9
Joined: Sat Jan 07, 2012 5:42 pm


Return to madBasic

Who is online

Users browsing this forum: No registered users and 2 guests