Microsoft KB Archive/156688

From BetaArchive Wiki
Knowledge Base


FIX: Passing Arguments in Custom Interface Causes AV

Article ID: 156688

Article Last Modified on 3/21/2005



APPLIES TO

  • Microsoft Transaction Services 1.0



This article was previously published under Q156688

SYMPTOMS

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.

CAUSE

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.

STATUS

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 or version 2.0, please see the following articles in the Microsoft Knowledge Base:

168031 HOWTO: Obtain Microsoft Transaction Server Version 1.1


185174 Latest Version of Microsoft Transaction Server




NOTE: This problem has been fixed in MIDL version 3.01.75


Additional query words: AV Err Error

Keywords: kbbug kbfix kbmts110fix KB156688