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

"Function does not take 0 arguments" error for IDL-defined propget function (that is given an argument)

I'm working on a C++ DLL that uses an IDL file to talk to another program's API. I'm trying to call a function that's defined in the following way in the other program's .idl: [propget, id(1014), helpstring("The user defined attribute on the feature…
0
votes
0 answers

Include or forward declare a header struct in IDL for C++

I have a header file (special.h) that includes the following struct: typedef struct SPECIAL_STRUCT{ UINT x; UINT y; } SPECIAL_STRUCT; And I'd like to include this struct as the input parameter of a function in an IDL file that defines test…
lancery
  • 658
  • 1
  • 6
  • 18
0
votes
2 answers

What causes name collision in an IDL file?

We have an idl file with multiple interfaces defined, two of which have someting like this: [ object, uuid(79E24BAA-DC12-4caf-91DD-2A4D47FED30A), helpstring("ISomeInterface Interface"), pointer_default(unique) ] interface…
John C
  • 611
  • 1
  • 9
  • 26
0
votes
2 answers

How can I store marshaled data?

I have an rpc com interface which passes data from a service to a client. On the client side, I need to store this data temporarily and put it into a queue so that it can be processed later on the ui thread (this needs to be done on the ui thread…
swinefeaster
  • 2,525
  • 3
  • 30
  • 48
0
votes
1 answer

How many IDL files are needed when there are multiple components in a distributed system?

This is the scenario. There are three components, A, B and C. Component A can access methods of component B. Component B can access methods of component A and component C. Component C can access methods of component B. To implement this scenario how…
Gayan Jayasingha
  • 752
  • 2
  • 17
  • 33
0
votes
1 answer

Why might newly added COM methods not be called from document?

I'm writing a BHO that exposes a number of methods through COM. Most of them work fine, but the 2 most recently added ones are showing strange behavior. When called from JavaScript on a page, the newly added methods "return" Undefined, as opposed to…
BrMcMullin
  • 1,261
  • 2
  • 12
  • 28
0
votes
1 answer

How can I read HDF5 Time64 columns in IDL?

In Python (using pytables), it is easy to create HDF5 tables with rows containing timestamps (column datatype Time64, see http://pytables.github.io/usersguide/datatypes.html). Is it possible to read in tables containing columns with type Time64 in…
bdoering
  • 169
  • 7
0
votes
1 answer

is there any way to generate webkit idl from c++ source

I want to expose a c++ source library through JavaScript interfaces in webkit. Is there any way to generate the webkit-IDL for this c++ source ? at least a skeleton code ? OR - Is writing the IDLs manually the only way to do this ? no code generator…
maheshg
  • 339
  • 2
  • 7
  • 17
0
votes
1 answer

Reading a 32bit dll file in IDL 64bit

I have a 32bit dll file that I want IDL 64bit version to read, But i get an error trying to do that, How can I do that? Is it possible?
user2333346
  • 1,083
  • 4
  • 21
  • 40
0
votes
3 answers

MySQL Remove characters from column headers

All my column headers in a MySQL database are prefixed with a number, 1_X, 2_X, etc... which makes bringing the data into IDL impossible using just a basic select statement to bring in the entire table. I'm not sure but I see two possible ways: 1)…
0
votes
2 answers

IDL read RA and Dec format

i would like to read some RA and Dec values from a file to find only the unique ones. This will then be printed to a new file with only unique information associated with each RA and Dec. The file contains starId, RA, Dec, Mag, Temp, .... 0001,…
theotheraussie
  • 495
  • 1
  • 4
  • 14
0
votes
1 answer

idlj.exe : file not found exception

I'm running the following command through CMD: "C:\Program Files\Java\jdk1.7.0_51\bin\idlj.exe" -fall hello.idl The hello.idl file is located in the same folder as the idlj.exe file and contains the following module HelloApp { interface…
John Steed
  • 599
  • 1
  • 12
  • 31
0
votes
1 answer

How to disable bash messages when using PyIDL?

I have a code that imports PyIDL and runs a specific method. But everytime shows compiling messages, which is kind of annoying when I want other informations printed together. import pidly idl = pidly.IDL() idl("p_read, '"+pathIMG+"', h,…
phasselmann
  • 465
  • 2
  • 6
  • 17
0
votes
1 answer

CORBA IDL precompiler for C++

My teacher has told us to do an application in which we use CORBA for communicating a C++ server with a Java client. I can do it with the following OS's, in order of preference: -Windows 7 -Windows 8 -Ubuntu 13.10 Saucy Salamander Any…
user3407000
  • 188
  • 2
  • 10
0
votes
1 answer

Convert char from fgets to Wchar*

I'm trying to send a "string" from a C++ client to a Java server. On the server-side the username is a String. In my IDL it's a WStringValue, so I have to send the username as a WStringValue from my client. The following code works fine on both…
Simon
  • 197
  • 1
  • 2
  • 7