FIX: MIDL Gives Warning MIDL2039 When Decimal Used as Parameter Type in IDL (232778)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q232778 SYMPTOMS
When you compile an .idl file with decimal as the type of parameter for a method, you get an MIDL2039 warning. But it is documented that the decimal is a valid type for a parameter (for example, search the MSDN Library Index for "oleautomation").
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Microsoft Visual C++ .NET.
| Modification Type: | Major | Last Reviewed: | 12/2/2003 |
|---|
| Keywords: | kbBug kbCompiler kbfix kbNoUpdate KB232778 |
|---|
|