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

Include order in *.idl file with JacORB

I have one problem with idl2java ant task (I'm using org.jacorb.idl.JacIDL). This very problem doesn't exist with my cpp implementation of generating cpp code form idl files. I have 3 *.idl files, let's say: A.idl B.idl C.idl Each one is in…
Kage
  • 13
  • 5
0
votes
1 answer

how to create two ATL interface derived from another?

I have a Dll Project with IDL interfaces. I Want to have to interfaces in my dll that one of them can be derived from other. I created two interfaces with ATL Simple Object Wizard. [ object, uuid(7359AF6C-6E90-4372-991F-556602CB3977), …
nabegheh95
  • 195
  • 3
  • 19
0
votes
1 answer

Corba application using database

Hy, i have on the server using ORB a class that uses connection with a derby database, but it seems not to connect to database. I query using a client the server with ORB for a string. The result of the string should be another string returned from…
SocketM
  • 564
  • 1
  • 19
  • 34
0
votes
2 answers

How to start IDL

I manage to get this command in my MacBook Pro Terminal Window : IDL> I am now in Text Wrangler. I type in print, "Hello World " How do I get the words "Hello World" to appear in my MacBook Pro Terminal Window, from TextWrangler ? Do I have to save…
0
votes
2 answers

how to read only positive values from data file

i am new to IDL. I have a data file consists of 4 column, 96 rows (saved as new.dat). I am trying to read values only if 2nd column is positive but unable to do it.compiling well but getting no output.Help, please???…
0
votes
1 answer

[MIDL]How to use interfaces declared in c/c++ headers in idl files?

ID2D1RenderTarget is an interface defined in d2d1.h. I want to use it in my IDL interface like this: interface IXXX : IUnknown { HRESULT XXX([out, retval] ID2D1RenderTarget **_ppRT); } d2d1.idl is not included in the SDK and I can only get…
YOUKU
  • 13
  • 4
0
votes
1 answer

plotting degrees in IDL

I'm using IDL 8.2 I have a list of positions (RA and Dec) of stars and i want to plot them on a figure, eg. 37.9 ~ 37 54' 0" 37.7 ~ 37 42' 0" I read in the positions (degrees) in as strings and extract the degrees, minutes and seconds into separate…
theotheraussie
  • 495
  • 1
  • 4
  • 14
0
votes
2 answers

How to Solve non-specific non-linear equations?

I am attempting to fit a circle to some data. This requires numerically solving a set of three non-linear simultaneous equations (see the Full Least Squares Method of this document). To me it seems that the NEWTON function provided by IDL is fit…
diestl
  • 2,020
  • 4
  • 23
  • 37
0
votes
1 answer

Best method for dealing with Unix compressed files (.Z) in IDL?

I'm working on some code in IDL that retrieves data files through FTP that are Unix compressed (.Z) files. I know IDL can work with .gz compressed files with the /compress keyword however it doesn't seem capable of playing nicely with the .Z…
0
votes
1 answer

How can one give command line arguments to variables in a separate procedure using object references?

IDL beginner here! Let's say I have two procedures, PRO1 and PRO2. If I receive a command line argument in PRO2, how can I give the argument value to a variable in PRO1? I have previously tried to make an object reference ,'My', to PRO1, but I…
user49193
  • 3
  • 5
0
votes
2 answers

Output 2 array values to a text file using IDL

I'm using IDL 8.3. I have two arrays called X and Y. They each contain 1001 values. I want to output their values to a text file in this format: x1 y1 x2 y2 x3 y3 ..... x1001 y1001 I was able to print the all of the X values to a text file doing…
deedsy
  • 57
  • 2
  • 11
0
votes
1 answer

How to pass an array of strings through a COM (C++) API

We have a COM API for our application (which is written in VC++) which exposes a few functionalities so that the users can automate their tasks. Now, I'm required to add a new method in that, which should return a list/array/vector of strings. Since…
Piyush Soni
  • 1,356
  • 3
  • 17
  • 40
0
votes
1 answer

how to write an panchromatic image in IDL

I would like to create a file image from panchromatic image with the new image = the panchromatic *0.05678345 in IDL. However, the result has error: % Unable to allocate memory: to make array. Not enough space % Execution halted at:…
user30985
  • 573
  • 1
  • 6
  • 19
0
votes
1 answer

"version" attribute in Microsoft IDL

My question is: what is the correct usage of the version tag in an IDL file that defines COM interfaces and classes and enums? The MSN documentation of it is confusing: the first paragraph under "Remarks" seems to clearly say that the IID must be…
M.M
  • 138,810
  • 21
  • 208
  • 365
0
votes
1 answer

IDL Printf formatting

My intention is to write 2612 lines into a file containing 7 values, 6 of which have a label in increasing order from 1-6. The output has undesired additional spacing separating the values. I am using: for i=0,2611 do printf, 5, col13(i),'…
user49193
  • 3
  • 5