[BLACKBOX] Benchmark failed to compile

From: [at]} <Darek>
Date: Sat, 15 Jan 2011 10:53:48 +0100

----boundary-LibPST-iamunique-1322220426_-_-
Content-type: text/plain

Dear Helmut,
  I wanted to have some fun and I downloaded the Benchmark packaged
from your site (*.Pac format) and unpack on my machine.
  When I tried to compile it, I got:

  (Log window):

  compiling "BenchmarkRegistry"
    13 errors detected

  and the first error is reported in the following place:

  PROCEDURE ShowEntryTyp* (typ: INTEGER);
        BEGIN
                StdLog.Ln;
                CASE typ OF
| WinApi.REG_SZ: StdLog.String("(1): REG_SZ");
| WinApi.REG_BINARY: StdLog.String("(2): REG_BINARY");
| WinApi.REG_DWORD: StdLog.String("(3): REG_DWORD");
| WinApi.REG_QWORD: <-------------- here: "undeclared identifier"
                  StdLog.String("(4): REG_QWORD");
| WinApi.REG_MULTI_SZ: StdLog.String("(5): REG_MULTI_SZ");
| WinApi.REG_EXPAND_SZ: StdLog.String("(6): REG_EXPAND_SZ");
                ELSE
                        StdLog.String("typ: unknown");
                END;
                StdLog.Ln;
        END ShowEntryTyp;

It seems that the WinApi provided with the BBox does not have this
entry: WinApi.REG_QWORD.

Also calls to the WinApi.RegQueryValueExW procedure drives the
compiler crazy and I got (in BenchmarkRegistry, PROCEDURE
ReadAsString):

res := WinApi.RegQueryValueExW(h, name, NIL, NIL, data<-----"type is
not identical with that of formal VAR-, IN-, or OUT-parameter", len)

I am running BBox 1.6 rc-5, on Windows 7.

How shall I fix this problem?

Regards,
   Darek


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1322220426_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlx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GgsIG5hbWUsIE5JTCwgTklMLCBkYXRhPC0tLS0tInR5
cGUgaXNccGFyDQpub3QgaWRlbnRpY2FsIHdpdGggdGhhdCBvZiBmb3JtYWwgVkFSLSwgSU4tLCBv
ciBPVVQtcGFyYW1ldGVyIiwgbGVuKVxwYXINClxwYXINCkkgYW0gcnVubmluZyBCQm94IDEuNiBy
Yy01LCBvbiBXaW5kb3dzIDcuXHBhcg0KXHBhcg0KSG93IHNoYWxsIEkgZml4IHRoaXMgcHJvYmxl
bT9ccGFyDQpccGFyDQpSZWdhcmRzLFxwYXINCiAgIERhcmVrXHBhcg0KXHBhcg0KXHBhcg0KLS0t
LVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYg
QkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSH19AENLQk8=
----boundary-LibPST-iamunique-1322220426_-_---
Received on Sat Jan 15 2011 - 10:53:48 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:19 UTC