comp.lang.ada
 help / color / mirror / Atom feed
From: David Botton <David@Botton.com>
Subject: Re: Java momentum slowing ?
Date: 1999/05/09
Date: 1999-05-10T03:24:20+00:00	[thread overview]
Message-ID: <37365163.1AB89036@Botton.com> (raw)
In-Reply-To: 7h5ak3$2t8@drn.newsguy.com



bill@nospam wrote:
> 
> In article <373612A6.3752CC19@Botton.com>, David says...
> 
> >
> >Java does not have a standard. It has a vendor.
> >
> 
> This is funny. You are the same one who uses COM and DCOM and
> ActiveX, and all that windows specific stuff, dont't you? show us the
> ISO standard for any of those. Show us the ISO standard for VB or Delphi
> or Perl pr Pyhton or any of the zillion other technologies being used
> everyday by millions of programmers.

That is just the point since they all have a vendor and no standard
things change under the cover all the time and there is nothing for them
to answer to.

So there is no "Java Standard" as you wrote, not even a defacto standard
among vendors (take a look at J++).

David Botton


---------

Just as an example (one of many possible) when Microsoft specified the
method ITypeInfo::GetRefTypeOfImplType they specified an Unsigned
Integer as an index. Yet since things have changed in the COM world (of
course this is not supposed to happen) you need to pass in a negative
index to get the TKIND_INTERFACE out of a TKIND_DISPATCH that is a dual
interface (something MS added after the original COM/OLE specs were
drawn up to support faster access to OLE objects from early binding
languages and tools.) Which means I have to write code to go against the
MS specs and bindings:

   -----------------------------
   -- Get_Interface_Reference --
   -----------------------------

   procedure Get_Interface_Reference(Source : in Object;
                                     Index  : Integer;
                                     In_To  : in out Object)
   is
      function To_UINT is
         new Ada.Unchecked_Conversion (Integer, Win32.UINT);
      
      Reference : aliased Win32.OleAuto.HREFTYPE;
   begin
      Check_HR(
        
Source.ITypeInfo_Pointer.lpVtbl.GetRefTypeOfImplType(Source.ITypeInfo_Pointer,
         To_UINT(Index),
         Reference'Unchecked_Access ) );

      Get_Reference(Source, Reference, In_To);

   end Get_Interface_Reference;




  reply	other threads:[~1999-05-09  0:00 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-29  0:00 Java momentum slowing ? Jean-Marten Marchi
1999-04-29  0:00 ` Corey Ashford
1999-04-29  0:00   ` x
     [not found]   ` <7gesv8$1bol@drn.newsguy.com>
1999-05-02  0:00     ` Corey Ashford
1999-05-01  0:00       ` Mike
1999-05-02  0:00         ` Corey Ashford
1999-05-02  0:00           ` David Botton
1999-05-02  0:00         ` Tarjei Tj�stheim Jensen
1999-05-03  0:00           ` dvdeug
1999-05-04  0:00             ` Tarjei Tj�stheim Jensen
1999-05-04  0:00               ` David Starner
1999-05-05  0:00                 ` Tarjei Tj�stheim Jensen
1999-05-05  0:00                   ` David Starner
1999-05-05  0:00                   ` bob
1999-05-03  0:00         ` Jean-Marten Marchi
1999-05-02  0:00       ` David Botton
1999-05-02  0:00         ` Corey Ashford
1999-05-02  0:00         ` bob
1999-05-02  0:00           ` Mitch
1999-05-02  0:00             ` Tom
1999-05-04  0:00     ` Andrzej Lewandowski
1999-04-30  0:00 ` Tony Huynh
1999-04-30  0:00   ` Jean-Marten Marchi
     [not found]     ` <7gdlca$2j5l@drn.newsguy.com>
1999-05-02  0:00       ` Jean-Marten Marchi
1999-05-02  0:00         ` Bob
1999-05-03  0:00           ` Jean-Marten Marchi
1999-05-06  0:00             ` Richard D Riehle
1999-05-06  0:00               ` Matthew Whiting
1999-05-06  0:00                 ` Renaming Ada (Re: Java momentum slowing ?) David Botton
1999-05-06  0:00                   ` bob
1999-05-07  0:00                     ` P.S. Norby
1999-05-07  0:00                     ` Ada2001
1999-05-07  0:00                       ` dennison
1999-05-10  0:00                         ` Nick Roberts
1999-05-10  0:00                           ` Marin David Condic
1999-05-07  0:00                     ` Corey Ashford
1999-05-07  0:00                     ` dennison
1999-05-07  0:00                   ` carlislemc
1999-05-07  0:00                     ` Ronald Cole
1999-05-07  0:00                   ` Matthew Whiting
1999-05-10  0:00                   ` Jean-Marten Marchi
1999-05-07  0:00               ` Java momentum slowing ? Bob Munck
1999-05-07  0:00                 ` Martin C. Carlisle
1999-05-08  0:00                 ` steve
1999-05-09  0:00                   ` bill
1999-05-09  0:00                     ` Simon Wright
1999-05-14  0:00                       ` Pascal Obry
1999-05-09  0:00                   ` Pascal F. Martin
1999-05-09  0:00                     ` David Botton
1999-05-09  0:00                       ` Pascal F. Martin
1999-05-09  0:00                         ` bob
1999-05-09  0:00                           ` David Botton
1999-05-10  0:00                             ` Pascal Obry
1999-05-10  0:00                               ` Rob
1999-05-10  0:00                           ` Pascal F. Martin
1999-05-10  0:00                             ` Florian Weimer
1999-05-10  0:00                             ` Jean-Marten Marchi
1999-05-09  0:00                         ` David Botton
1999-05-09  0:00                           ` bill
1999-05-09  0:00                             ` David Botton [this message]
1999-05-09  0:00                               ` Steve
1999-05-10  0:00                                 ` David Botton
1999-05-11  0:00                                   ` David Botton
1999-05-11  0:00                                     ` bob
1999-05-12  0:00                                       ` Lance Kibblewhite
1999-05-12  0:00                                         ` David Botton
1999-05-12  0:00                                           ` Lance Kibblewhite
1999-05-12  0:00                                             ` Hyman Rosen
1999-05-12  0:00                                               ` David Botton
1999-05-12  0:00                                                 ` Keith Thompson
1999-05-14  0:00                                                   ` Jean-Marten Marchi
1999-05-14  0:00                                                     ` [OT] " Clayton Weaver
1999-05-12  0:00                                                 ` Dave
1999-05-13  0:00                                                   ` Pat Rogers
1999-05-13  0:00                                                   ` David Botton
1999-05-13  0:00                                                     ` Simon Wright
1999-05-10  0:00                     ` Pascal Obry
1999-05-10  0:00                       ` Mitch
1999-05-10  0:00                         ` Pascal Obry
1999-05-11  0:00                     ` Jean-Marten Marchi
1999-05-10  0:00                   ` Jean-Marten Marchi
1999-05-10  0:00                   ` Jean-Marten Marchi
1999-05-10  0:00               ` Jean-Marten Marchi
1999-05-22  0:00           ` olefevre
1999-05-22  0:00             ` Bob
replies disabled

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