- - BlackBox Component Builder 1.6-rc5

From: [at]} <igor>
Date: Tue, 8 May 2007 10:58:50 +0300

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

Hello Robert,
CRDSUE> I guess that USER32 things are defined & implemented in a DLL with a
CRDSUE> name like USER32, and the WinApi things are defined & implemented in a
CRDSUE> DLL with a name like WinApi (or is it KERNEL32?).

Windows API is implemented in set of DLL such as kernel32.dll, user32.dll etc.
The interface (for C programmers) is defined in set of "header files" such as
winbase.h, winuser.h etc. There are not 1 to 1 correspondence between these sets.

BlackBox has 2 set of modules describing the same API DLLs each in own manner.
In particular the WinApi module contains the interface to the same DLLs as modules
KERNEL32, GDI32, USER32.
"Obsolete" modules are more convenient (IMO) but less comprehensive then "new"
modules, which likely was autogenerated from .h files.

CRDSUE> 1 - Why are there duplicate implementations of thousands of apparently
CRDSUE> identical functions?
There are no duplicate implementations, but duplicate interface.

CRDSUE> 2 - Is it a reasonable generalisation that if a WinApi function is VERY
CRDSUE> similar in name to another (eg USER32) that it will behave the same, or
CRDSUE> is it necessary to scrutinise the small print of the Microsoft
CRDSUE> documentation in every case?
It will behave the same, because it is the same.
CRDSUE> 3 - Why are Oms telling us to switch to WinApi - what is wrong with the
CRDSUE> others?
Having two interfaces seems wasteful and the Win subsystem defines much more
functions then all obsolete modules.

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


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

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
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GlzIHdyb25nIHdpdGggdGhlXHBhcg0KQ1JEU1VFPiBvdGhlcnM/XHBhcg0KSGF2
aW5nIHR3byBpbnRlcmZhY2VzIHNlZW1zIHdhc3RlZnVsIGFuZCB0aGUgV2luIHN1YnN5c3RlbSBk
ZWZpbmVzIG11Y2ggbW9yZVxwYXINCmZ1bmN0aW9ucyB0aGVuIGFsbCBvYnNvbGV0ZSBtb2R1bGVz
LlxwYXINClxwYXINCi0tLSBCbGFja0JveFxwYXINCi0tLSBzZW5kIHN1YmplY3QgSEVMUCBvciBV
TlNVQlNDUklCRSB0byBibGFja2JveEBvYmVyb24uY2h9fQAAAAACAQAATwAA


----boundary-LibPST-iamunique-421775244_-_---
Received on Tue May 08 2007 - 09:58:50 UTC

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