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
2
votes
1 answer

Hosting CLR in native - COM interfaces, unresolved external symbol _CStdStubBuffer_Release@4

I'm experimenting with hosting CLR (not trying to use mono for now, though I will probably try). Basically, I'm following this: http://www.lenholgate.com/blog/2010/07/clr-hosting---a-flexible-managed-plugin-system-part-1.html However, I've got some…
Bartosz
  • 3,318
  • 21
  • 31
2
votes
2 answers

Send wstring and ptime over MS RPC

Iam using Microsoft RPC and i need to transfer my custom structure that have fields of type std::wstring and boost::ptime. In idl there is no such data types. What is best solution to send that struct. In read about serialization with RPC. But ms…
userbb
  • 2,148
  • 5
  • 30
  • 53
2
votes
1 answer

_Problem with generating PASCAL bindings file from PSDK IDL file

I was trying to generate type library from one of PSDK shipped IDL files, but whilst midl session completes successfully (ERRORLEVEL 0) no .tlb file was generated. Currently i do not have any idea what wrong. Please advise. Here is a verbose output…
OnTheFly
  • 2,059
  • 5
  • 26
  • 61
2
votes
1 answer

How to set IDL, so users can tell a parameter is "optional" in VBA?

In an IDL, I define a method: [id(1), helpstring("BLAH")] HRESULT SomeMethod([in, optional, defaultvalue(NULL)] IDispatch* para); When I use this method in VBA, the screen tip only shows: SomeMethod([para As Object]) What I want is that, there's…
lycoan
  • 23
  • 4
2
votes
2 answers

How to get idl from rust on-chain program of solana?

I have just started to work as Solana developer. I have developed my own smart contract but I can't get idl even after building. How can I call the contract function?
David Nasaw
  • 149
  • 2
  • 9
2
votes
3 answers

how to implement an idl-to-java compiler

I need to implement an idl-to-java compiler. In fact, it's not idl-to-java. Interface definition language is extended. So I need to implement a compiler which can generates java source file. I know nothing about corba and I feel hard to start. Do…
Xiaotian Pei
  • 3,210
  • 21
  • 40
2
votes
1 answer

Providing header dependency in meson

I am using meson build system 0.49.0 on ubuntu 18.04. My project has some idl files and i want to include header files from another folder. How do I add provide include_directories in meson. idl_compiler = find_program('widl') idl_generator =…
debonair
  • 2,505
  • 4
  • 33
  • 73
2
votes
1 answer

Why doesn't defroi procedure work on MacOs?

I am working with IDL on MacOS and can't make the defroi procedure work. I can open up the window to define my ROI, but it is unable to mark anything in the image. I tried this exact code on a Windows and it works perfectly fine. What am I doing…
semla
  • 23
  • 4
2
votes
1 answer

Get IDL code from TypeLibrary programmatically

I am writing code to perform the following steps; Register a .net .dll and generate a .tlb using regasm.exe Register a .net .dll and generate a .tlb using regasm.exe Generate the IDL code from the typeLibrary and store it in a file. Edit the IDL…
Jambobond
  • 619
  • 3
  • 12
  • 23
2
votes
4 answers

Unregister type library on Vista

I've made a mistake in IDL file by increasing library version. After that I revert the version. Since the time I can't work with library, because VB6 still write : "There is new version of library * Do you want to upgrade to version 3.0" .... in…
weny
  • 41
  • 3
2
votes
0 answers

Did something change in Visual Studio 2015 IDL or MFC Macro compilation as they relate to the resulting COM Interfaces and registration?

We build an OCX that contains a Map control and many supporting classes (e.g. GeoProjection, Extents) which can act as standalone classes and many of which are also Properties of the Map. One of our legacy applications that uses the OCX is built in…
JDog
  • 21
  • 2
2
votes
0 answers

"The stub received bad data" exception in Windows RPC call

We are facing the following issue: The architecture is as follows: A c++ native client application is connected to a native c++ server application via pipe RPC based on a IDL file. I'm not particular savvy in this domain and havent coded the…
Scrontch
  • 3,275
  • 5
  • 30
  • 45
2
votes
1 answer

ATL: Can't remove a method from a COM interface - ALWAYS reappears like magic

Environment: VS2008, C++ ATL COM, 64Bit, Windows 7 I'm trying to remove a method from an older COM interface. I modify the *.idl, modify the associated *.h and *.cpp implementation files and also remove it from the main project's .h file. I can…
Dale
  • 21
  • 1
2
votes
3 answers

VB6 - How to pass Strings to a DLL written in C through a .tlb File

I'm working on a graphical interface written in VB6, where I have to call function contained in a certain DLL written in C. Because of a known limitation I had to implement a trick that allows me to load this DLL in a implicit way. This is possible…
Beppe
  • 381
  • 2
  • 7
  • 15
2
votes
2 answers

IDL to Type Library

Is there a way in Delphi 7 to generate a tlb from an idl? Or even from a class/ interface definition?
Asher
  • 1,016
  • 1
  • 6
  • 20