- WinApi definition problems in BlackBox Component Builder 1.6-rc5

From: CFB Software <"CFB>
Date: Mon, 7 May 2007 13:10:43 +0930

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

Dear Oberon microsystems crew,

Thank you very much for making v1.6 available to us.

I believe there are still some outstanding errors in the BlackBox WinApi
definitions. I only mentioned these in passing in a previous message to this
mailing list, so I'm not surprised if they were overlooked:

>> Date: May 25, 2006, 10:37:00 AM
>> Subject: RE: [BlackBox] - Freestanding Blackbox applications?

The problem is that PolyBezier is defined as:

  PROCEDURE PolyBezier* (p0: HDC; VAR [nil] p1: POINT; p2: INTEGER): BOOL;

but PolyBezier needs an array of points.
     
The following works OK:
 
  PROCEDURE PolyBezier* (p0: HDC; VAR [nil] p1: ARRAY [untagged] OF POINT;
p2: INTEGER): BOOL;

There are several other related functions (PolyLine, PolyDraw etc.) that
should have an ARRAY OF POINT as a parameter instead of just a single POINT
- unless of course there is some underhand kludging going on here.

Chris Burrows
CFB Software
http://www.cfbsoftware.com/gpcp

> -----Original Message-----
> From: blackbox{([at]})nowhere.xy
> Behalf Of Oberon microsystems AG, Tech-Support
> Sent: Thursday, 3 May 2007 3:49 PM
> To: BlackBox Mailing List
> Subject: [BlackBox] - BlackBox Component Builder 1.6-rc5
>
> Dear BlackBox Developers,
>
> we are pleased to announce the first public release candidate
> for BlackBox 1.6.
>
> appreciate any feedback from the community in this area, also
> regarding compatibility for Windows VISTA.
>

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy


----boundary-LibPST-iamunique-865446487_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7f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cnMsXHBhcg0KPiBc
cGFyDQo+IHdlIGFyZSBwbGVhc2VkIHRvIGFubm91bmNlIHRoZSBmaXJzdCBwdWJsaWMgcmVsZWFz
ZSBjYW5kaWRhdGUgXHBhcg0KPiBmb3IgQmxhY2tCb3ggMS42LiBccGFyDQo+IFxwYXINCj4gYXBw
cmVjaWF0ZSBhbnkgZmVlZGJhY2sgZnJvbSB0aGUgY29tbXVuaXR5IGluIHRoaXMgYXJlYSwgYWxz
byBccGFyDQo+IHJlZ2FyZGluZyBjb21wYXRpYmlsaXR5IGZvciBXaW5kb3dzIFZJU1RBLlxwYXIN
Cj4gXHBhcg0KXHBhcg0KLS0tIEJsYWNrQm94XHBhcg0KLS0tIHNlbmQgc3ViamVjdCBIRUxQIG9y
IFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5jaH19AHQyLm9iZXJvbi4=


----boundary-LibPST-iamunique-865446487_-_---
Received on Mon May 07 2007 - 05:40:43 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:38 UTC