comp.lang.ada
 help / color / mirror / Atom feed
* ActiveX in Ada?
@ 2002-07-01 14:05 Andreas
  2002-07-01 15:23 ` David Marceau
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas @ 2002-07-01 14:05 UTC (permalink / raw)


Hello all!

Since it's possible to do DLL generation with Ada, the question now is: is
it possible to create ActiveX (OCX) controls in Ada??? The question
specifically goes for Aonix Object Ada, since it already can incorporate/use
existing ActiveX controls.
I would really like to leave the VB/VC++ realm for creating OCXs.

Thanks
Andreas







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

* Re: ActiveX in Ada?
  2002-07-01 14:05 ActiveX in Ada? Andreas
@ 2002-07-01 15:23 ` David Marceau
  2002-07-01 17:16   ` chris.danx
  0 siblings, 1 reply; 8+ messages in thread
From: David Marceau @ 2002-07-01 15:23 UTC (permalink / raw)


Andreas wrote:
> 
> Hello all!
> 
> Since it's possible to do DLL generation with Ada, the question now is: is
> it possible to create ActiveX (OCX) controls in Ada??? The question
> specifically goes for Aonix Object Ada, since it already can incorporate/use
> existing ActiveX controls.
> I would really like to leave the VB/VC++ realm for creating OCXs.
> 
> Thanks
> Andreas
http://www.adapower.com/gnatcom/index.html



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

* Re: ActiveX in Ada?
  2002-07-01 15:23 ` David Marceau
@ 2002-07-01 17:16   ` chris.danx
  2002-07-03  1:57     ` David Botton
  0 siblings, 1 reply; 8+ messages in thread
From: chris.danx @ 2002-07-01 17:16 UTC (permalink / raw)



"David Marceau" <davidmarceau@sympatico.ca> wrote in message
news:3D2073D5.DB5BF110@sympatico.ca...
> Andreas wrote:
> >
> > Hello all!
> >
> > Since it's possible to do DLL generation with Ada, the question now is:
is
> > it possible to create ActiveX (OCX) controls in Ada??? The question
> > specifically goes for Aonix Object Ada, since it already can
incorporate/use
> > existing ActiveX controls.

> http://www.adapower.com/gnatcom/index.html

Isn't that a GNAT only solution?







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

* Re: ActiveX in Ada?
  2002-07-01 17:16   ` chris.danx
@ 2002-07-03  1:57     ` David Botton
  2002-07-03  4:42       ` Greg Bek
  0 siblings, 1 reply; 8+ messages in thread
From: David Botton @ 2002-07-03  1:57 UTC (permalink / raw)


The questioner thought (wrongly) that perhaps Aonix Object Ada would be the
only solution since it supports ActiveX...... He just didn't realize the
current support for ActiveX on GNAT is superior.

Actually, GNATCOM - COM/DCOM/ActiveX/COM+/MTS/OLE2/OLE Automation support
for Ada - allows full use and creation of all the above buz words and much
more :-) If you use GWindows with GNATCOM you get the best support for
Graphical ActiveX use and development available....

In fact I created a GUI ActiveX control over year and half ago just using
GNATCOM. I decided to write GWindows in a large part to fill out areas of
ActiveX control programming (there is still are many great things to come in
that area as the GNavi - the Open Source Delphi/VB alternative - project is
starting to move forward)

Currently GNATCOM and GWindows are only on GNAT, but there is no technical
reason at this point to my knowledge that it could not be ported to any
other compiler.

David Botton


"chris.danx" <spamoff.danx@ntlworld.com> wrote in message
news:H80U8.25921$l6.4642000@newsfep2-win.server.ntli.net...
>
> "David Marceau" <davidmarceau@sympatico.ca> wrote in message
> news:3D2073D5.DB5BF110@sympatico.ca...
> > Andreas wrote:
> > >
> > > Hello all!
> > >
> > > Since it's possible to do DLL generation with Ada, the question now
is:
> is
> > > it possible to create ActiveX (OCX) controls in Ada??? The question
> > > specifically goes for Aonix Object Ada, since it already can
> incorporate/use
> > > existing ActiveX controls.
>
> > http://www.adapower.com/gnatcom/index.html
>
> Isn't that a GNAT only solution?
>
>
>





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

* Re: ActiveX in Ada?
  2002-07-03  1:57     ` David Botton
@ 2002-07-03  4:42       ` Greg Bek
  2002-07-03  5:33         ` tmoran
  0 siblings, 1 reply; 8+ messages in thread
From: Greg Bek @ 2002-07-03  4:42 UTC (permalink / raw)


Rational Apex on NT supports the GNATCOM bindings.

Greg Bek

"David Botton" <David@Botton.com> wrote in message
news:ui4mjfqqmve961@corp.supernews.com...
> The questioner thought (wrongly) that perhaps Aonix Object Ada would be
the
> only solution since it supports ActiveX...... He just didn't realize the
> current support for ActiveX on GNAT is superior.
>
> Actually, GNATCOM - COM/DCOM/ActiveX/COM+/MTS/OLE2/OLE Automation support
> for Ada - allows full use and creation of all the above buz words and much
> more :-) If you use GWindows with GNATCOM you get the best support for
> Graphical ActiveX use and development available....
>
> In fact I created a GUI ActiveX control over year and half ago just using
> GNATCOM. I decided to write GWindows in a large part to fill out areas of
> ActiveX control programming (there is still are many great things to come
in
> that area as the GNavi - the Open Source Delphi/VB alternative - project
is
> starting to move forward)
>
> Currently GNATCOM and GWindows are only on GNAT, but there is no technical
> reason at this point to my knowledge that it could not be ported to any
> other compiler.
>
> David Botton
>
>
> "chris.danx" <spamoff.danx@ntlworld.com> wrote in message
> news:H80U8.25921$l6.4642000@newsfep2-win.server.ntli.net...
> >
> > "David Marceau" <davidmarceau@sympatico.ca> wrote in message
> > news:3D2073D5.DB5BF110@sympatico.ca...
> > > Andreas wrote:
> > > >
> > > > Hello all!
> > > >
> > > > Since it's possible to do DLL generation with Ada, the question now
> is:
> > is
> > > > it possible to create ActiveX (OCX) controls in Ada??? The question
> > > > specifically goes for Aonix Object Ada, since it already can
> > incorporate/use
> > > > existing ActiveX controls.
> >
> > > http://www.adapower.com/gnatcom/index.html
> >
> > Isn't that a GNAT only solution?
> >
> >
> >
>
>





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

* Re: ActiveX in Ada?
  2002-07-03  4:42       ` Greg Bek
@ 2002-07-03  5:33         ` tmoran
  2002-07-03 10:52           ` Jeffrey Creem
  0 siblings, 1 reply; 8+ messages in thread
From: tmoran @ 2002-07-03  5:33 UTC (permalink / raw)


I'd like to know where one finds the typelibs that bindcom wants.
Bindcom on the great majority of .dll etc files I've tried seems
to result in "Error loading type library/DLL".



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

* Re: ActiveX in Ada?
  2002-07-03  5:33         ` tmoran
@ 2002-07-03 10:52           ` Jeffrey Creem
  2002-07-03 12:11             ` David Botton
  0 siblings, 1 reply; 8+ messages in thread
From: Jeffrey Creem @ 2002-07-03 10:52 UTC (permalink / raw)


When running on a dll, the dll needs to be a COM or activeX dll. Not all
dlls are.

If you are out "looking" for components, try to find ones that say COM,
ActiveX or
sometimes VisualBasic (since it appears that it is more likely that when
someone provides
some service to VisualBasic they create it as a COM object).

As for the type library files (which can also be used)....They are rarer in
my experience.


<tmoran@acm.org> wrote in message
news:21wU8.1011$Fm1.92927342@newssvr14.news.prodigy.com...
> I'd like to know where one finds the typelibs that bindcom wants.
> Bindcom on the great majority of .dll etc files I've tried seems
> to result in "Error loading type library/DLL".





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

* Re: ActiveX in Ada?
  2002-07-03 10:52           ` Jeffrey Creem
@ 2002-07-03 12:11             ` David Botton
  0 siblings, 0 replies; 8+ messages in thread
From: David Botton @ 2002-07-03 12:11 UTC (permalink / raw)


The DLLs can actually be regular DLLs provided the author included a
typelib, but in practice, I've never seen that. A bit of a surprise as it
allows VB to also instantly bind to the DLL.

Another common extension for Activex is OCX instead of DLL

If you grab the latest snap shot of the development version of GWindows,
there is a new tool (GBManager) in it that allows you to view all the
registered libraries / COM objects on your system and bind to any one of
them with a few clicks. You will find that even on a clean install of 2K or
XP that there are hundreds on your system.

David Botton

"Jeffrey Creem" <jeff@thecreems.com> wrote in message
news:JHAU8.397920$cQ3.27181@sccrnsc01...
> When running on a dll, the dll needs to be a COM or activeX dll. Not all
> dlls are.
>
> If you are out "looking" for components, try to find ones that say COM,
> ActiveX or
> sometimes VisualBasic (since it appears that it is more likely that when
> someone provides
> some service to VisualBasic they create it as a COM object).
>
> As for the type library files (which can also be used)....They are rarer
in
> my experience.
>
>
> <tmoran@acm.org> wrote in message
> news:21wU8.1011$Fm1.92927342@newssvr14.news.prodigy.com...
> > I'd like to know where one finds the typelibs that bindcom wants.
> > Bindcom on the great majority of .dll etc files I've tried seems
> > to result in "Error loading type library/DLL".
>
>





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

end of thread, other threads:[~2002-07-03 12:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-01 14:05 ActiveX in Ada? Andreas
2002-07-01 15:23 ` David Marceau
2002-07-01 17:16   ` chris.danx
2002-07-03  1:57     ` David Botton
2002-07-03  4:42       ` Greg Bek
2002-07-03  5:33         ` tmoran
2002-07-03 10:52           ` Jeffrey Creem
2002-07-03 12:11             ` David Botton

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