Microsoft Interface Definition Language: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(12 intermediate revisions by 11 users not shown)
Line 1:
'''Microsoft Interface Definition Language''' ('''MIDL)''') is a text-based [[interface description language]] byfrom [[Microsoft]], based on the [[DCE/RPC]] IDL which it extends for use with the Microsoft [[Component Object Model]]. Its compiler is also called MIDL.<ref>{{Cite web |last=stevewhims |date=2021-10-21 |title=Microsoft Interface Definition Language - Win32 apps |url=https://learn.microsoft.com/en-us/windows/win32/midl/midl-start-page |access-date=2024-10-29 |website=learn.microsoft.com |language=en-us}}</ref>
 
== ExternalVersion linkshistory ==
MIDL 1.0 is a standard DCE/RPC IDL with enhancements made for defining COM coclasses and interfaces.
*[http://msdn2.microsoft.com/en-us/library/aa367091.aspx MSDN Reference]
 
MIDL 2.0 (also known as MIDLRT)<ref>{{Cite web |last=stevewhims |date=2022-07-12 |title=Introduction to Microsoft Interface Definition Language 3.0 - Windows UWP applications |url=https://learn.microsoft.com/en-us/uwp/midl-3/intro#midl-10-20-and-30 |access-date=2024-10-29 |website=learn.microsoft.com |language=en-us}}</ref> is an updated version of syntax that was developed in-house by Microsoft for use on the Windows platform that allowed for declaring Windows Runtime APIs. Various built in Windows Runtime APIs are written with MIDL 2.0 syntax and are available in the Windows SDK folder.
{{Windows-stub}}
{{compu-lang-stub}}
 
The most recent version of MIDL is MIDL 3.0 released on December 30, 2021. <ref>{{Cite web |last=stevewhims |date=2021-12-30 |title=Microsoft Interface Definition Language 3.0 reference - Windows UWP applications |url=https://learn.microsoft.com/en-us/uwp/midl-3/ |access-date=2024-10-29 |website=learn.microsoft.com |language=en-us}}</ref> Version 3.0 is a more streamlined version of MIDL 2.0, utilizing more modern and simplified syntax familiar to [[C (programming language)|C]], [[C++]], [[C Sharp (programming language)|C#]], or [[Java (programming language)|Java]]. MIDL 3.0 is also more concise than the previous versions, allowing for programs to be reduced by almost two thirds in length due to using built-in reasonable defaults for attributes and being more concise.
[[Category:Microsoft development tools]]
 
[[Category:Software components]]
==References==
{{reflist}}
# stevewhims (2021-10-21). [https://learn.microsoft.com/en-us/windows/win32/midl/midl-start-page "Microsoft Interface Definition Language - Win32 apps"]. ''learn.microsoft.com''. Retrieved 2024-10-29.
# stevewhims (2022-07-12). [https://learn.microsoft.com/en-us/uwp/midl-3/intro#midl-10-20-and-30 "Introduction to Microsoft Interface Definition Language 3.0 - Windows UWP applications"]. ''learn.microsoft.com''. Retrieved 2024-10-29.
# stevewhims (2021-12-30). [https://learn.microsoft.com/en-us/uwp/midl-3/ "Microsoft Interface Definition Language 3.0 reference - Windows UWP applications"]. ''learn.microsoft.com''. Retrieved 2024-10-29.
 
==See also==
* [[Object Description Language]]
 
==External links==
* [https://docs.microsoft.com/en-us/windows/win32/midl/midl-start-page Microsoft Docs reference]
 
[[Category:Microsoft development tools|Interface Definition Language]]
[[Category:Component-based software engineering]]
[[Category:Microsoft application programming interfaces]]
[[Category:Object-oriented programming]]
[[Category:Object models]]
 
 
[[ru: Microsoft Interface Definition Language]]
{{Windows-stub}}
{{compu-lang-stub}}