- AW: - Component-Pascal Collection & BlackBox 1.6

From: [at]} <Koen>
Date: Sun, 06 May 2007 17:41:52 +0200

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

Hello Helmut,

You are right, compiling the deprecated sources in 1.6 is a bad idea. I just wanted to show Robert
how he could get a readable copy of KERNEL32.

Brgds,
Koen.

On Fri, 4 May 2007 14:33:36 +0200, you wrote:

>Dear Koen,
>
>thats not a good idear. You move the problems to a later time.
>
>The best way is to change the source and use the knowledge of OM.
>
>How?
>
>That's the way:
>
>1. Write KERNEL32 into Log window and select that word
>2. Search for KERNEL32 thru the source of BB 1.5
> via Menus Info -> Search In source
>2. Open the file which you found form BB 1.5
>3. Open the same file from BB 1.6
>4. compare both files and you see what you have to change.
>
>That's the way I get CpcMenus running just a minute ago.
>
>Here are the changes for CpcMenus:
>
>PROCEDURE Exist (IN path, name: ARRAY OF CHAR): BOOLEAN;
>VAR fullname: ARRAY 260 OF CHAR; ref: WinApi.HANDLE; found: BOLEAN; res: INTEGER;
>BEGIN
> fullname := path + '/' + name;
> ref := WinApi.CreateFileW(fullname, WinApi.GENERIC_READ + WinApi.FILE_SHARE_READ,
> {}, NIL, WinApi.OPEN_EXISTING, {}, 0);
> found := ref # WinApi.INVALID_HANDLE_VALUE;
> res := WinApi.CloseHandle(ref);
> RETURN found;
>END Exist;
>
>Regards
>
>Helmut
>
>
>
>-----Ursprüngliche Nachricht-----
>Von: blackbox{([at]})nowhere.xy
>Gesendet: Freitag, 4. Mai 2007 10:21
>An: BlackBox Mailing List
>Betreff: [BlackBox] - Component-Pascal Collection & BlackBox 1.6
>
>Hello Robert,
>
>These deprecated modules are available as symbol files in the 1.5 release, so one could save theme
>as text in 1.5 and transfer them to 1.6.
>
>Brgds,
>Koen.
>
>
>On Fri, 4 May 2007 09:00:08 +0100, you wrote:
>
>
>>
>>
>>Oms, all
>>

>>Many years ago I wrote some code using USER32 (and probably
>>some other deprecated Modules). I now forget the detailed design
>>thinking.
>>

>>To translate this to be 1.6 compatible I think it would be helpful
>>to be able to read the USER32 source so that I can directly call
>>the corresponding WinApi functions in the same way.
>>
>>Am I correct, and can these sources be made available for this purpose?
>>
>>
>>
>>Regards
>>
>>Robert
>>
>>SELEX Sensors and Airborne Systems Limited
>>Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
>>A company registered in England & Wales. Company no. 02426132
>>********************************************************************
>>This email and any attachments are confidential to the intended
>>recipient and may also be privileged. If you are not the intended
>>recipient please delete it from your system and notify the sender.
>>You should not copy it or use it for any purpose nor disclose or
>>distribute its contents to any other person.
>>********************************************************************
>>
>>--- BlackBox
>>--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
>>
>
>--- BlackBox
>--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
>
>--- BlackBox
>--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
>

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


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

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBIZWxsbyBIZWxtdXQsXHBhcg0K
XHBhcg0KWW91IGFyZSByaWdodCwgY29tcGlsaW5nIHRoZSBkZXByZWNhdGVkIHNvdXJjZXMgaW4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W50cyB0byBhbnkgb3RoZXIgcGVyc29uLlxwYXINCj4+
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKipccGFyDQo+PlxwYXINCj4+LS0tIEJsYWNrQm94XHBhcg0KPj4tLS0gc2VuZCBz
dWJqZWN0IEhFTFAgb3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KPj5c
cGFyDQo+XHBhcg0KPi0tLSBCbGFja0JveFxwYXINCj4tLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3Ig
VU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KPlxwYXINCj4tLS0gQmxhY2tC
b3hccGFyDQo+LS0tIHNlbmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94
QG9iZXJvbi5jaFxwYXINCj5ccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBz
dWJqZWN0IEhFTFAgb3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KfX0A
YmUgcA=


----boundary-LibPST-iamunique-483531520_-_---
Received on Sun May 06 2007 - 17:41:52 UTC

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