Mark0's Forum
Software => TrID File Identifier => Topic started by: revdrmarsh on June 30, 2008, 06:54:03 PM
-
I am using yet another scripting language with TridLib - Winbatch. I have most everything working well. The one thing I can't get to work is the TRID_GET_RES_POINTS(4) in TrID_GetInfo. Both TRID_GET_RES_FILETYPE(2) and TRID_GET_RES_FILEEXT(3) both return nice string values in the buffer. I get no string value in the buffer when I run TRID_GET_RES_POINTS(4). Is this a standard string? What should I expect it to look like?
Thanks
-
Hi!
Numeric results are returned directly as the function return value.
-
I was just going to reply that in looking at the samples, I noticed points were returned in the return code. So, next question is this: When I run an XLS file through the command line version, I get 3 return lines with percentages of 45.3%, 43.1% and 11.5% When I run the dll, I get return codes of 31500, 30000 and 8000. What conversion would I use to convert these integers to a floating point number to get the percentages?
Thanks
-
That's just each points percentage in the total points sums of all results.
Ie: 8000 = 11.5% of (31500+30000+8000)
-
I was sitting here screwing around with the calculator and realized the simplicity of the system.
Thanks again!
Love the DLL!!