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
4
votes
2 answers

Registering a COM object with only an IDL file

I have a third-party IDL file which, when compiled, generates a header and an _i.c file. All three of these files are part of a Visual Studio 2010 project. (So far the project is empty other than attempted COM initialization stuff.) I can get the…
Ash
  • 379
  • 1
  • 3
  • 14
4
votes
2 answers

Handeling NULL pointer out argument in C# COM

I am working with a COM plugin interface that has the following function definition: HRESULT foo ( [out, ref] VARIANT* a, [out, ref] VARIANT* b ); When using tlbimp (tlbimp2.exe from codeplex) the .NET library has the following interface…
maschall
  • 988
  • 1
  • 7
  • 13
4
votes
5 answers

How can I find matching elements and indices from two arrays?

For example, a = [1, 1, 2, 4, 4, 4, 5, 6, 7, 100] b = [1, 2, 2, 2, 2, 4, 5, 7, 8, 100] I can find the matching elements using: np.intersect1d(a,b) Output: array([ 1, 2, 4, 5, 7, 100]) Then, how can I get the indices of matched elements…
이원석
  • 87
  • 2
  • 5
4
votes
2 answers

Can this COM interface be implemented in C#?

A COM component is currently implemented in C++ and the next version must be implemented in C#. The component is called from C++ (not CLI) code. The major part of the not so small component is already ported to C#, but I have trouble to figure out…
pvoosten
  • 3,247
  • 27
  • 43
4
votes
0 answers

RPC(Remote Procedure Call) vs ORB(Object Request Broker) What is the difference and what is the relation with RMI

From what I know: RPC (Remote Procedure Call) which uses the IDL (Interface Description Language) as its contract provides methods that can be called by a client. So, the client calls these methods for example (add()) using client Stub, and the…
Charbel.AY
  • 783
  • 1
  • 11
  • 17
4
votes
0 answers

graphql java - How to find out the root cause of "Invalid schema provided"?

How to find out the root cause of "Invalid schema provided"? I have many *.graphqls. Some of them just have data type IDL without any query and mutation definition. org.springframework.beans.factory.BeanCreationException: Error creating bean with…
Kok How Teh
  • 3,298
  • 6
  • 47
  • 85
4
votes
1 answer

VS2008 C++ compiler keeps asking to build the project

Possible Duplicate: Visual studio keeps building everything I have a project that includes an idl file that generates a .c file that is included in another file of the same project. I build this project and all is fine, I then try to run the…
4
votes
3 answers

Should I use AIDL or not?

What are the advantages of using AIDL while we can use java interfaces to help client applications call the bound service? For example, For ITestService we should create an AIDL as follows: // ITestService.aidl package…
a.toraby
  • 3,232
  • 5
  • 41
  • 73
4
votes
5 answers

Changing a CORBA interface without recompiling

I'd like to add a method to my existing server's CORBA interface. Will that require recompiling all clients? I'm using TAO.
Dmitry Shechtman
  • 6,548
  • 5
  • 26
  • 25
4
votes
1 answer

How do you translate IDL into C#?

For example, the DOM specification has various IDL definitions, one of which is the Interface Node. How would you go about translating this—even a portion of this—into actual C#? I mean, where would you even start? As far as I understand, C#'s…
jedmao
  • 10,224
  • 11
  • 59
  • 65
4
votes
0 answers

Syntax error while converting IDL to C header

I am trying to get C header files for COM interfaces using OLE/COM object viewer. I have tries to save type library as header file in object viewer, however, after a cmd window flashes, nothing happens. I have tried to save it as IDL file and…
yasar
  • 13,158
  • 28
  • 95
  • 160
4
votes
0 answers

Why does qmake fail to rm files correctly during rebuild with a custom compiler?

I am trying to get the thrift framework test samples to build in a Qt qmake environment and I'm seeing a problem when I rebuild my project. My question is What am I doing wrong that causes the makefile to concatenate all all the .out files…
4
votes
1 answer

How do I invoke the MIDL compiler to generate a .TLB file (type library) from an .IDL file?

I am struggling with something seemingly super-simple: I'd like to use the MIDL compiler to generate a type library (.tlb file) from a .idl file. However, I just can't get MIDL to generate a .tlb file. This is my Foo.idl: import…
stakx - no longer contributing
  • 83,039
  • 20
  • 168
  • 268
4
votes
2 answers

MIDL compile error: enum with "cy"

I have a simple IDL file which contains only one enum. One of the identifiers is cy. [ uuid(2642345F-F2AB-3600-8926-26E823800902), version(1.0), ] library MyLib { typedef[ uuid(a0b0aa7b-345f-4b3a-b88f-d6cdd048e205) ] enum Codes { …
athena
  • 5,579
  • 8
  • 30
  • 31
4
votes
1 answer

How to find planet in resonance

I'm trying to find a method to detect from orbital parameters (period, eccentricity, semi-major axis...) planets that are in resonance. I know that if the ratio between two planets is commensurable, this means that they are in resonance, but suppose…