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

COM: Return copy of string, or actual value?

I have a [dual] interface implementing IDispatch, something like this: [dual, ...] interface IMyInterface : IDispatch { [id(1), propget] HRESULT StringValue([out, string, retval] OLECHAR const ** str); }; My backing object for IMyInterface has…
0xbe5077ed
  • 4,565
  • 6
  • 35
  • 77
0
votes
1 answer

Purpose of CINTERFACE flag in midl generated files?

Using Microsoft's IDL compiler, if I do this: midl a.idl /iid iid.cpp I can't compile iid.cpp on MinGW because of the following warning: c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/rpcproxy.h:14:2: warning: #warning "rpcproxy type…
0xbe5077ed
  • 4,565
  • 6
  • 35
  • 77
0
votes
2 answers

compiling corba .idl file error

Eclipse IDL compilation So im in the directory of the .idl file and I want to compile the gridDemo file, So I type idlj gridDemo.idl and I get the error that idlj is not a recognized as an internal or external command What am I doing wrong ? Yes Im…
Bawn
  • 509
  • 3
  • 13
  • 36
0
votes
3 answers

Chaining methods of ATL/COM objects

In c++ we can easily set up method chaining in a class by designing methods returning *this. Would this be possible in an ATL/COM setting ? Let's say I have a simple ATL class MyOBj. I would like to know if chaining is possible in this context, and…
Olórin
  • 3,367
  • 2
  • 22
  • 42
0
votes
0 answers

jdk 1.7.25 doesn't work for my project over windows server 2003

I have a jdk version updated from jdk 1.7.21 to jdk 1.7.25, build on Solaris 10 and production runs over windows server 2003. I have not updated any java code this time, since build was a success, I would update java code if compile hits an error,…
Curtis Wu
  • 13
  • 4
0
votes
1 answer

maven: run idlj command before compiling code

I am working on a CORBA project using maven build. Before maven starts compilation, the idl needs to be processed to generate some java source files. I have tried the idlj-maven-plugin but it doesn't allow me to override "-fallTIE" argument. So what…
Kiran Mohan
  • 2,696
  • 6
  • 36
  • 62
0
votes
2 answers

CORBA/OMG C++11 Language Mapping

I'm currently working on a [OMG13] (s. below) compliant C++11 partial facade for adapting a legacy (C++)ORB; "partial" in the sense of just server-side, no DII, no OBV etc - thus the very basic stuff only. [OMG13] has in 6.25.6 Inheritance-Based…
Solkar
  • 1,228
  • 12
  • 22
0
votes
2 answers

there is an IDL class file which contains object of another IDL class file and i want to use that the inner class object and assign it a string value

Here TP_DSCVoyChange class has KEY_DSC as an attribute we want to populate this KEY_DSC value from Java using a String value using TP_DSCVoyChange constructor. Eg. voyagelist.addElement(new…
user2439680
  • 11
  • 1
  • 3
0
votes
1 answer

Garbage collection on Corba and how can a client delete an object?

I am studying CORBA and how IDL maps interfaces to different languages. I read that you can not write constructors and destructors in an IDL interface because objects are not created locally. My question is: How can a client delete an object if he…
Avraam Mavridis
  • 8,698
  • 19
  • 79
  • 133
0
votes
0 answers

ActiveX/IDL – how to export member functions from "ATL Simple Object" in OCX control?

I have an ActiveX control in MSVC++10 which compiles into a .ocx. I have added another "ATL Simple Object" to this control, from which I want to export some functions. If this library is called OcxTest, I have to perform the following steps to…
Felix Dombek
  • 13,664
  • 17
  • 79
  • 131
0
votes
2 answers

Use regex in IDL to escape special character in directory name

I am trying to run a model on a cluster but IDL is throwing an error when using openw because the file locations name has [] in it (this is my conclusion after some testing). What I'd like to do is feed IDL a slightly different string that includes…
Dominik
  • 782
  • 7
  • 27
0
votes
1 answer

Changes in Orbix Idl compiler flags from 3.3 to 6.3

I am quite new to the IDL compiler and am trying to port a decade old code from 3.3 to 6.3 (C++) and I see that the old compiler flags like -A -B -N are no longer valid in the new compiler. Can some one point me to a link which lists or maps the…
user1663533
  • 95
  • 2
  • 10
0
votes
2 answers

Failed to cast result of Marshal.GetActiveObject for COM interop wrapper

I'm struggling to work out how to access a COM interface provided by a C++ application and use it from a C# .NET application. I try to access my COM object (which is provided by a running process) from my C# app like this: object obj =…
paddy
  • 60,864
  • 6
  • 61
  • 103
0
votes
1 answer

error with array and object in IDL corba

I got a problem with array and object in IDL corba This is my code: interface ISinhVien { SinhVien[] DocFile(in String filename); void GhiFile(in SinhVien[] sv,in String filename); }; And error when I compile it: CORBA_SinhVien>idlj…
0
votes
1 answer

Start Naming service with Eclipse for CORBA IDL in java

I am learning CORBA IDL and I am developing a Java Based Distributed System using Eclipse and ORB Studio. My questions is, Is there a way to start a naming service with Eclipse other than having to start it as so from command line?: tnameserv…
MSRahman
  • 79
  • 2
  • 13