RE: COM declaration

From: [at]} <frei{>
Date: Mon, 30 Dec 2002 22:35:14 +0100

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

Doug,

The module COM contains certain types and procedures that are necessary
to implement COM components or clients with our Direct-To-COM compiler.
As module SYSTEM, module COM is a pseudo module, i.e., no symbol file
exists for module COM. If module COM is imported, this is only a
declaration for the compiler.

If you want to use COM without the Direct-To-COM compiler, you have to
write your own interface module in order to access Windows API
procedures such as CoCreateGuid. How to compose interface modules is
described in the Platform-Specific Issues section of the BlackBox
documentation. Instead of COM.GUID, you can simply use the following
type declaration: GUID = ARRAY 16 OF BYTE.

Best regards,
Marc,
Oberon microsystems, Inc.


-----Original Message-----
From: Douglas G. Danforth [mailto:danforth{([at]})nowhere.xy
Sent: Freitag, 27. Dezember 2002 19:08
To: blackbox{([at]})nowhere.xy
Subject: COM declaration


Hello,

In WinOle we find (among others) the procedure

PROCEDURE CoCreateGuid (VAR [nil] pguid: COM.GUID): COM.RESULT;

which makes reference to the module "COM", however that module does not
exist within BB1.4 (highlighting COM and doing Ctrl-D
produces "module COM not found". In general, how can I call such
procedures without the interface for the module COM?



-Doug
--------------------------------------------

To unsubscribe from this mailing list, send a message containing the
word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage,
send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the
list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed
to the mailing list. That way, the list server will recognize you as
subscriber and forward your posting immediately, without creating any
overhead.

b) If, for some reason, you cannot post from the address, by which you
are subscribed, your message will be moderated to avoid spam. Please
understand that moderation will often cause some delay, in particular
over weekends or holydays.

--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.


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

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIERvdWcsXHBhcg0KXHBhcg0KVGhlIG1vZHVsZSBD
T00gY29udGFpbnMgY2VydGFpbiB0eXBlcyBhbmQgcHJvY2VkdXJlcyB0aGF0IGFyZSBuZWNlc3Nh
cnlccGFyDQp0byBpbXBsZW1lbnQgQ09NIGNvbXBvbmVudHMgb3IgY2xpZW50cyB3aXRoIG91ciBE
aXJlY3QtVG8tQ09NIGNvbXBpbGVyLlxwYXINCkFzIG1vZHVsZSBTWVNURU0sIG1vZHVsZSBDT00g
aXMgYSBwc2V1ZG8gbW9kdWxlLCBpLmUuLCBubyBzeW1ib2wgZmlsZVxwYXINCmV4aXN0cyBmb3Ig
bW9kdWxlIENPTS4gSWYgbW9kdWxlIENPTSBpcyBpbXBvcnRlZCwgdGhpcyBpcyBvbmx5IGFccGFy
DQpkZWNsYXJhdGlvbiBmb3IgdGhlIGNvbXBpbGVyLlxwYXINClxwYXINCklmIHlvdSB3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289418_-_---
Received on Mon Dec 30 2002 - 22:35:14 UTC

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