Fri, 17 Sep 1999 10:10:23 -0700
I'll try to put together some sample code and
documentation on how to do all three integration
options with VB.
I already described one. The third way is just an
extension of the first.
After creating the Ada DLL using whatever method your
compiler uses, you then hand create VB bindings to the
DLL entries you will be using.
Create the Ada DLL, but then create a Type Library
using the Module class. This will let you create a
binary spec for the Ada DLL that can then be loaded in
to VB or any other language supporting Type Library
binding (BTW Ada now supports this by running BindCOM
- http://www.adapower.com/com -- on the Type Library.
BindCOM is not just for creating COM/ActiveX
Type libraries also let you define constants,
enumerations, record types, C style unions, and more,
for use with your DLL.
VB loads the Type Library and takes care of all the
types and bindings for you.
--- "Richard L. Conn" <[log in to unmask]> wrote:
> That's very good, David,
> I like your extended examples with COM and DLL.
> We should build our combined works together into an
> integrated picture.
> I think it's a good story to tell, along with the
> web interface story.
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com