Int64 not processed

Have a CodeSite question that doesn't fit into any of the forums below? Post it here.

Int64 not processed

Postby hschmid67 » Tue Feb 20, 2018 2:38 am

Hello Ray,

I just discovered this strange behaviour:

Code: Select all
  lINumber: Integer;
  lI64Number: Int64;
  lVNumber: Variant;
  lINumber := 12345;
  lI64Number := lINumber;
  lVNumber := lI64Number;
  CodeSite.SendVariant('INumber', lINumber);
  CodeSite.SendVariant('I64Number', lI64Number);
  CodeSite.SendVariant('VNumber', lVNumber);

I only get one line in Codesite with the INumber. Both Int64-values are not processed and there is no output.

Code: Select all
INumber = 12345

with this setting

Code: Select all
  lINumber := 12345;
  lI64Number := 12345;
  lVNumber := 12345;

and the same Codesite-Lines I get two lines of output

Code: Select all
INumber = 12345
VNumber = $3039

The Int64-Value is never logged.
Did I miss something or is this a bug?

Posts: 5
Mon Oct 03, 2016 11:21 am

Re: Int64 not processed

Postby Raize Support » Thu Feb 22, 2018 3:26 am

Hi Harald,

Thanks for the report. Yes, this is a bug in the CodeSiteLogging unit and the SendVariant method. The problem is that the SendVariant method does not handle the varInt64 variant type. We will address this for the next release.

Raize Software Support
Raize Software
Raize Support
Posts: 622
Fri Mar 25, 2011 9:04 pm

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest