FIX: Passing Arguments in Custom Interface Causes AV

ID: Q156688

The information in this article applies to:


You may encounter stack corruption or an access violation if you write a component that has a custom interface that passes arguments of type float or double.


The Microsoft Interface Definition Language (MIDL) compiler does not generate full functions for the proxy and stub for some methods if they have a float or double argument.


Microsoft has confirmed this to be a problem in MIDL. This problem has been corrected and the newer version of MIDL is included in Microsoft Transaction Server version 1.1. For information on obtaining version 1.1, please see the following article the Microsoft Knowledge Base:

   ARTICLE-ID: Q168031
   TITLE     : How to Obtain Microsoft Transaction Server Version 1.1

Additional query words: AV Err Error
Keywords          : kbbug1.00 kbfix1.10 TSrvGen 
Version           : 1.0
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbfix

Last Reviewed: October 30, 1997