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
0 answers

Generated IDL from java-Interface with rmic generates an Error

I am working in a project, were we write a Java RMI-IIOP Server and da CORBA-C++ client. We generate the IDL from our Java-Interface with rmic -idl. But I think something is wrong in our Interface, because when we compile the generated idl, we got…
Simon
  • 197
  • 1
  • 2
  • 7
0
votes
1 answer

Can't find .pro file for Convert Map Projection?

I'm looking to batch process a convert map projection on a lot of files using IDL and ENVI, but I can't find the .pro file associated with convert map projection. Is it labelled differently? Or should I be using a different .pro file? I'm new to…
Scott
  • 127
  • 1
  • 1
  • 10
0
votes
0 answers

Compiling idl files with CMake

I have a directory with idls: ./idl/1.idl ./idl/2.idl ./idl/3.idl ... How can I compile this idls with CMake into .cpp and .h files?
vir2al
  • 817
  • 4
  • 11
  • 15
0
votes
1 answer

How to make CORBA between Java server and C++ client?

I came to know that IDL is used for communication between server and client in CORBA, which is independent of languages. As far as I know there is a plugin available for Eclipse (for creating the server of CORBA). For C++, OmniORB, Taox and etc.,…
Dineshkumar
  • 1,468
  • 4
  • 22
  • 49
0
votes
1 answer

ATL/COM : In IDL file can we create a class which can be used as return type

I was working on COM/ATL. I need to use a class object as return value so that it can be used in managed code. I am able to define structure in idl file and also able to use it as return parameter when creating methods. Below is the partial idl…
Amit
  • 33
  • 2
  • 11
0
votes
1 answer

How can I recognize that the object is instance of an interface when passed in parameter ? [Corba, Java]

My IDL looks like: interface TransactionResource { void prepare() raises (NotPreparedException); void commit() raises(TransactionException); void rollback() raises(TransactionException); }; interface ManageDemand : TransactionResource { …
Saad Lamarti
  • 300
  • 1
  • 5
  • 15
0
votes
1 answer

How can I invoke methods which are not specified on the IDL interface ? [Corba, JAVA]

My IDL looks like : interface TransactionResource { void prepare() raises (NotPreparedException); void commit() raises(TransactionException); void rollback() raises(TransactionException); }; When i implement the TransactionResourceImpl,…
Saad Lamarti
  • 300
  • 1
  • 5
  • 15
0
votes
2 answers

How can I return a java.lang.Object value to client on CORBA in my case?

I am developing a Corba application. My IDL interface look like this: interface Transaction { ???????? addResource(in TransactionResource resource); }; I would like when a client invoke addResource method for the Transaction reference object,…
Saad Lamarti
  • 300
  • 1
  • 5
  • 15
0
votes
1 answer

Why is IDL incomplete?

I'm using OpenDDS 3.4.1 on Linux and trying to manually compile an IDL because I already have a build system for the project and would just like to generated the needed files and integrate. Here a test IDL I'm using. #include…
Ender
  • 1,652
  • 2
  • 25
  • 50
0
votes
1 answer

generated Skel method missing Exception declaration in Tao_idl

I have one method in IDL(test.idl) file: bool login(in string name, in string cipher) raises (AuthenticationException); AuthenticationException is declared an exception in my IDL files. Then I use tao_idl to generate skeleton with below…
shijie xu
  • 1,975
  • 21
  • 52
0
votes
3 answers

IDL declaration (in C++) for a function that will take a C-style array from C#

I am working with an existing code base made up of some COM interfaces written in C++ with a C# front end. There is some new functionality that needs to be added, so I'm having to modify the COM portions. In one particular case, I need to pass an…
Corey Ross
  • 1,995
  • 1
  • 15
  • 16
0
votes
1 answer

Can not generate lib file for shared dll for TAO IDL

One IDL file exception.idl module project{ exception JobCreateException{ string errorMessage; }; } parts of MPC file is: project(idl_exception): taoidldefaults, anytypecode { idlflags += -GI…
shijie xu
  • 1,975
  • 21
  • 52
0
votes
1 answer

Eclipse Kepler CORBA plugin will not compile IDL files

I have installed the CORBA plugin into Eclipse. When I select an IDL file and use the "CORBA/Compile CORBA stubs" menu item, I get an Eclipse error log entry “Unhandled event loop exception” due to a “java.lang.NoClassDefFoundError:…
Felinis
  • 47
  • 3
0
votes
1 answer

NO symbol export in library generated from Corba IDL in VC

Two IDL files, testbase.idl module Test{ enum JobType{ TYPE1, TYPE2, TYPE3 }; struct UserContext{ string name; string ssoToken; }; }; testhello.idl: #include "testbase.idl" module Test { …
shijie xu
  • 1,975
  • 21
  • 52
0
votes
1 answer

__REQUIRED_RPCNDR_H_VERSION__

I create a header file from an IDL . The IDL file has been compiled in Visual C++ 2005 . The generated header file contains #define REQUIRED_RPCNDR_H_VERSION 475 . I tried to use this header file in Visual Studio 2003 , where rpcndr.h contains…
Rakesh Agarwal
  • 3,009
  • 9
  • 33
  • 40