Re: Replacements for IsValidIID and IsValidInterface

From: David Liebtag (DavidLiebtag_at_vermontel.net)
Date: 01/10/05


Date: Mon, 10 Jan 2005 15:15:37 -0500

I am building an interface from a programming language called APL2 to COM.
APL2 is in interactive loosely typed language. Typically, my customers will
pass a valid interface to my interface and instruct the interface to call
well-known methods. However, since the language is interactive, the users
may make typos and inadvertently pass arbitrary integers to the interface.
To prevent a crash, I would like to verify the integers are valid interfaces
before trying to use them to call methods.

David Liebtag



Relevant Pages

  • Re: object system...
    ... conflict with the actual sun and stars (so, ... Interface too can have some properties defined in terms of third types ... not the language or its target. ... If you ignore overflow exceptions, then necessary, the semantics becomes ...
    (comp.object)
  • Re: Great SWT Program
    ... not sure what the user interface of 2057 will be like, ... GUIs initially seemed to me. ... The clipboard will probably see big changes; ... difficult to program than in some other language. ...
    (comp.lang.java.programmer)
  • Re: Forth and Unix -- history
    ... Forth, as a language, gives you all the building blocks. ... So does FORTRAN, so does C, so does PERL, so does Python. ... to interface to some free library written in whatever language. ...
    (comp.lang.forth)
  • Re: object system...
    ... There's a reason why getters and setters exist. ... interface presumably implemented by the object. ... which need not know much about the language which ... I don't see any need for special features to do delegation. ...
    (comp.object)
  • Re: object system...
    ... for that you need machine language. ... there are many other cases where "abstraction" can be leveraged to the ... never have an interface to access not doing something. ... based on class systems rather than type systems. ...
    (comp.object)

Loading