Questions tagged [midl]

MIDL (Microsoft Interface Definition Language) is a text-based interface description language by Microsoft, based on the DCE/RPC IDL which it extends for use with the Microsoft Component Object Model. Its compiler is also called MIDL.

186 questions
0
votes
1 answer

Getting error MIDL5004 when creating a simple interface that inherits from another (simple) one

I have the following very simple interfaces: [uuid(0d585932-fbc4-4b0a-90b5-ccf34aefd4c6)] [version(COMPONENT_VERSION)] interface IPerson : IInspectable { [propget] HRESULT Name([out, retval] HSTRING* value); [propput] HRESULT Name([in]…
user1466502
  • 101
  • 2
  • 7
0
votes
2 answers

is there a way to have midl generate each interface in a separate .h?

I have a bunch of objects that inherit abstracts interfaces generated from an idl file. Each object that use of theses interfaces include the same file interfaces.h which contain all the c++ generated abstract classes that map to the idl…
Emmanuel Caradec
  • 2,302
  • 1
  • 19
  • 38
-1
votes
1 answer

Way to get IShellExtInit to work out-of-process

I'd like to pass an IShellItemArray to an out-of-process COM object residing within an exe. I'd prefer to use existing interfaces before creating my own, so I thought I'd try having the out-of-process object implement IShellExtInit. Seemed like a…
user15284017
-1
votes
1 answer

Generate an RPC code for a client to remotely call the existing server functions?

Before I ask the main question, I have two existing client/server win32 projects based on sockets in which the client sends a string request for the server and receives the result as a string using socket functions i.e. send(), recv() a part of the…
Ivan Silkin
  • 381
  • 1
  • 7
  • 15
-1
votes
1 answer

How to build COM project in Visual Studio

Has Visual Studio integrated MIDL compiler? Can anyone explain the process for me if I want to expose more interface for other script to use? My understanding is: after adding interface in .idl, the file will be compiled to .tlb by MIDL; VS compiler…
Wason
  • 1,341
  • 1
  • 13
  • 26
-2
votes
1 answer

Visual Studio 2015 midl not found after Visual Studio 2017 Install

I have WIndows 10 with visual Studio 2015 Update 3 working ok . Before installing Visual Studio 2017 15.9.5 i see the following: I run from CMD "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" And then midl After Visual…
galsi
  • 421
  • 1
  • 6
  • 19
1 2 3
12
13