Questions tagged [idl]

IDL, short for Interface Description Language, is a language used to describe a software component's public interface in a programming-language-independent manner. (Not to be confused with the [idl-programming-language] tag, which is for a language used for scientific and medical image analysis)

As described on Wikipedia:

An interface description language or interface definition language (IDL), is a specification language used to describe a software component's application programming interface (API). IDLs describe an interface in a language-independent way, enabling communication between software components that do not share one language. For example, between those written in C++ and those written in Java.

IDLs are commonly used in remote procedure call software. In these cases the machines at either end of the link may be using different operating systems and computer languages. IDLs offer a bridge between the two different systems.

Software systems based on IDLs include Sun's ONC RPC, The Open Group's Distributed Computing Environment, IBM's System Object Model, the Object Management Group's CORBA (which implements OMG IDL, an IDL based on DCE/RPC), Mozilla's XPCOM, Facebook's Thrift and WSDL for Web services.

Web specifications use a special form of IDL called WebIDL: https://heycam.github.io/webidl/

558 questions
0
votes
1 answer

does CORBA support ASCII data exchange?

I know that CORBA exchanges data using IDL, which supports binary format. Could someone please explain if it is possible to exchange data in ASCII ? THinking you in advance for reply
make
  • 755
  • 7
  • 21
  • 37
0
votes
1 answer

Implementation of equals() and hascode while converting C++ *.idl structure type to generated java file

I am using structure data type from C++ *.idl file and converting it to generated java class. It's generating java classed but it is not implementing equal to and hash method .. so i am not able to use them to compare. Ex : i want to use them in a…
0
votes
1 answer

Marshalling an unsigned char * from a COM interface

I have a COM interface defined in the file IPlan.idl that defines a property for an unsigned char* buffer. [ object, uuid(...), dual, helpstring("..."), pointer_default(unique) ] interface IPlan : IDispatch { ... [id(28),…
Bluetarsky
  • 53
  • 8
0
votes
1 answer

how do I overload a function in IDL based on array parameter item type?

suppose I had this function defined in IDL like this: [propget, id(6), helpstring("property MyArray")] HRESULT MyArray([out, retval] SAFEARRAY(myEnum)* pVal); and I wanted to create an overload for that function defined in IDL like this: [propget,…
mtijn
  • 3,610
  • 2
  • 33
  • 55
0
votes
1 answer

Using an enum from a type library in VBScript

I'm implementing a COM interface for an existing application written in C++. The COM interface is used for automating the application from VBScript. One of the methods I want to call via th COM interface has a parameter that, in C++, has an enum…
Dabbler
  • 9,733
  • 5
  • 41
  • 64
0
votes
1 answer

wrong name error when runing HelloServer in CORBA/JAVA tutorial

Possible Duplicate: NoClassDefFoundError: wrong name I've gone through all of the steps from the corba/java tutorial (here is the link : http://docs.oracle.com/javase/7/docs/technotes/guides/idl/GShome.htmll) but when I run the server with this…
user201892
  • 277
  • 2
  • 4
  • 11
0
votes
1 answer

Create C++ ATL COM nested namespaces like System namespace in .NET

I have several ATL COM services and would like each of them to have their own namespace, but be under a single base namespace, just like the System namespace in .NET. For example if a C# project were to include these COM objects, all would be under…
ykay
  • 1,877
  • 19
  • 24
0
votes
1 answer

Generate proxy classes from wsdl in IDL

I would like to generate proxy classes/code from a WSDL for IDL. So that I may communicate with a SOAP service. Anyone know any tutorials or have any clue on how it can be done?
capdragon
  • 14,565
  • 24
  • 107
  • 153
0
votes
2 answers

How to declate a wide char constant in an IDL

We are migrating our C++ COM application to be unicode, and as part of this migration we want to migrate the constant strings in our IDL to unicode as well. The problem is that at the moment, we still compile it both in ANSI and in UNICODE, which…
Alex Shnayder
  • 1,362
  • 1
  • 13
  • 24
0
votes
1 answer

How do you express a int[] property in interface description language?

How would you implement this property in IDL: public int[] Params { get { return _Params; } set { _Params = value; } } I tried the idl code below [propget,…
Dlongnecker
  • 3,008
  • 3
  • 25
  • 40
0
votes
1 answer

IDL to java (Suns idlj) how to compile generated files?

I have an .*idl interface: interface Class1; interface Class2 { typedef sequence vector; Class2 create(); }; interface Class1 { typedef sequence vector; Class1 create(); }; I compile it like this: idlj -fclient…
Brian Brown
  • 3,873
  • 16
  • 48
  • 79
0
votes
2 answers

Compile IDL file error

I'm using VS 2008 Pro. I have 1 idl file which contains: module views { // Introduced in DOM Level 2: interface [ ObjCCustomImplementation, OmitConstructor ] AbstractView { readonly attribute Document document; …
0
votes
1 answer

How to deal with cyclic dependency in *.IDL files?

I have two *.IDL files, where I have to deal with cyclic dependency: #ifndef __USER_IDL__ #define __USER_IDL__ #include "Group.idl" interface User { typedef Groups; Groups getGroups(); void setGroups(in Groups…
mazix
  • 2,540
  • 8
  • 39
  • 56
0
votes
1 answer

How to represent SQL Server type numeric(38,0) as IDL type (COM type library)?

How to represent SQL Server type numeric(38,0) as IDL type (COM type library)? Thanks a lot for the help! P.S. For example, SQL Server type int is long type in IDL.
Dmitry
  • 14,306
  • 23
  • 105
  • 189
0
votes
1 answer

Spatially Subsetting Images in batch mode using IDL and ENVI

I would like to spatially subset LANDSAT photos in ENVI using an IDL program. I have over 150 images that I would like to subset, so I'd like to run the program in batch mode (with no interaction). I know how to do it manually, but what command…
Carly Hyatt
  • 1
  • 1
  • 2