comp.lang.ada
 help / color / mirror / Atom feed
* Re: COMScope Released for Win32
  1999-04-28  0:00 COMScope Released for Win32 David Botton
@ 1999-04-28  0:00 ` Robert Dewar
  1999-04-28  0:00   ` dbotton
  1999-04-28  0:00   ` Tom Moran
  0 siblings, 2 replies; 7+ messages in thread
From: Robert Dewar @ 1999-04-28  0:00 UTC (permalink / raw)


In article <37269760.823D47F1@Botton.com>,
  David Botton <David@Botton.com> wrote:
> When complete these tools will not only allow you to use
> and create your own custom COM objects, it will generate
> bindings to any of Microsoft's COM based services such as
> MSMQ, Database Access Objects, DirectX, an more. In
> addition Microsoft provides a type library for the Win32
> API allowing for a complete Ada binding to the Win32 API
> to be automatically generated.
>
> David Botton
>


Note that if indeed a binding can be generated
automatically, that solves the copyright problem. The
current Win32 bindings are copyright Microsoft, and cannot
be freely copied. However, a program that generates
bindings can be freely distributed (if the author so
decides :-)


-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: COMScope Released for Win32
  1999-04-28  0:00 ` Robert Dewar
@ 1999-04-28  0:00   ` dbotton
  1999-04-28  0:00     ` dennison
  1999-04-28  0:00   ` Tom Moran
  1 sibling, 1 reply; 7+ messages in thread
From: dbotton @ 1999-04-28  0:00 UTC (permalink / raw)


In article <7g6vmg$23$1@nnrp1.dejanews.com>,
  Robert Dewar <robert_dewar@my-dejanews.com> wrote:

> Note that if indeed a binding can be generated
> automatically, that solves the copyright problem. The
> current Win32 bindings are copyright Microsoft, and cannot
> be freely copied. However, a program that generates
> bindings can be freely distributed (if the author so
> decides :-)
>

The author plans on it :-)

I am not a lawyer, but I don't see why the generated bindings would not be
freely distributed also.

The win32 type library contains bindings to almost all of win32, but there are
some pieces missing. They include the C run time bindings (MSCRT), OpenGL,
windows versions of printf and scanf, and the base Co* functions for COM
(although it does contain bindings for the other parts of COM and OLE).

Most of the other missing parts are COM/OLE related services from Microsoft
and bindings can be generated directly from their dlls, OCXs, tlbs, etc. (For
example to generate a binding to DAO, you would run the binding generator on
DAO3032.dll or for MSMQ mqoa.dll).

Since there is documentation embedded in the type libraries, the bindings will
also be well documented, another plus over the current bindings.

David Botton

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: COMScope Released for Win32
  1999-04-28  0:00 ` Robert Dewar
  1999-04-28  0:00   ` dbotton
@ 1999-04-28  0:00   ` Tom Moran
  1999-04-28  0:00     ` David Botton
  1 sibling, 1 reply; 7+ messages in thread
From: Tom Moran @ 1999-04-28  0:00 UTC (permalink / raw)


> that solves the copyright problem
Excellent!  How does one get the "type library for the Win32 API" and
what restrictions are there on its use?




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: COMScope Released for Win32
  1999-04-28  0:00   ` dbotton
@ 1999-04-28  0:00     ` dennison
  0 siblings, 0 replies; 7+ messages in thread
From: dennison @ 1999-04-28  0:00 UTC (permalink / raw)


In article <7g76j7$5sb$1@nnrp1.dejanews.com>,
  dbotton@hotmail.com wrote:
> In article <7g6vmg$23$1@nnrp1.dejanews.com>,
>   Robert Dewar <robert_dewar@my-dejanews.com> wrote:
>
> > automatically, that solves the copyright problem. The
> > current Win32 bindings are copyright Microsoft, and cannot
> > be freely copied. However, a program that generates
> > bindings can be freely distributed (if the author so
> > decides :-)
> >
> I am not a lawyer, but I don't see why the generated bindings would not be
> freely distributed also.

I suspect a very careful reading of the licensing agreement that came with
the DLL's (presumably, the licensing agreement for your version of Windows)
and with the type library (Windows, or Visual C++?) would tell you that.

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




^ permalink raw reply	[flat|nested] 7+ messages in thread

* COMScope Released for Win32
@ 1999-04-28  0:00 David Botton
  1999-04-28  0:00 ` Robert Dewar
  0 siblings, 1 reply; 7+ messages in thread
From: David Botton @ 1999-04-28  0:00 UTC (permalink / raw)


The first tool in the AdaCOM tools set is now complete. AdaCOM is a set
of tools to create COM bindings to COM objects and to generate all the
supporting Ada code to create COM objects in Ada.

COMScope allows you to inspect the contents of COM objects and type
libraries on the Win32 platforms.

For more information go to the Ada Source Code Treasury AdaCOM
information page:

http://www.botton.com/ada/com

When complete these tools will not only allow you to use and create your
own custom COM objects, it will generate bindings to any of Microsoft's
COM based services such as MSMQ, Database Access Objects, DirectX, and
more. In addition Microsoft provides a type library for the Win32 API
allowing for a complete Ada binding to the Win32 API to be automatically
generated.

David Botton




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: COMScope Released for Win32
  1999-04-28  0:00   ` Tom Moran
@ 1999-04-28  0:00     ` David Botton
  1999-04-30  0:00       ` Robert Dewar
  0 siblings, 1 reply; 7+ messages in thread
From: David Botton @ 1999-04-28  0:00 UTC (permalink / raw)
  To: Tom Moran

It came with my copy of Windows 98 it is in the dir \windows\system dir
and is called win.tlb

I imagine there possibly might be restrictions on the .tlb file itself,
but just like creating a .lib or lib*.a file from a DLL for a compiler,
there should be no restrictions on a file produced from a tlb.

Microsoft specifically states they created type libs to allow tools to
bind to COM objects in a non-language specific fashion.

David Botton


Tom Moran wrote:
> 
> > that solves the copyright problem
> Excellent!  How does one get the "type library for the Win32 API" and
> what restrictions are there on its use?




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: COMScope Released for Win32
  1999-04-28  0:00     ` David Botton
@ 1999-04-30  0:00       ` Robert Dewar
  0 siblings, 0 replies; 7+ messages in thread
From: Robert Dewar @ 1999-04-30  0:00 UTC (permalink / raw)


In article <3727366A.AF688F45@Botton.com>,
  David Botton <David@Botton.com> wrote:
> I imagine there possibly might be restrictions on the .tlb file
> itself, but just like creating a .lib or lib*.a file from a DLL for a
> compiler, there should be no restrictions on a file produced from a
> tlb.

I would not count on this legal interpretation! It is pretty clear
that the file produced from the tlb file is a derived work, just as
the Ada binding to Win32 is a derived work, and I am sure Microsoft
would claim copyright on it, just as they do on the Ada binding.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-04-30  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-28  0:00 COMScope Released for Win32 David Botton
1999-04-28  0:00 ` Robert Dewar
1999-04-28  0:00   ` dbotton
1999-04-28  0:00     ` dennison
1999-04-28  0:00   ` Tom Moran
1999-04-28  0:00     ` David Botton
1999-04-30  0:00       ` Robert Dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox