Microsoft KB Archive/822166

= An ASSERT Error Occurs in Oledisp1.cpp When You Use Either VT_UI2 or VT_UI4 Variant Types =

Article ID: 822166

Article Last Modified on 5/27/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.1

-





SYMPTOMS
When you use either the VT_UI2 variant type or the VT_UI4 variant type in a method for a Microsoft Foundation Classes (MFC) ActiveX control, you may experience the following symptoms:
 * You may receive an ASSERT error in Oledisp1.cpp.
 * A memory leak occurs in CCmdTarget::CallMemberFunc.



Hotfix Information
A supported software update is now available from Microsoft as Windows CE 4.1 Core OS QFE 822166. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

File Information
The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name

27-Jun-2003 22:29  4.1.3.627       2,304,616  Wincepb41-030627-kb822166-armv4.exe 27-Jun-2003 22:29  4.1.3.627       2,304,616  Wincepb41-030627-kb822166-armv4i.exe 27-Jun-2003 22:29  4.1.3.627       2,312,808  Wincepb41-030627-kb822166-armv4t.exe 27-Jun-2003 22:29  4.1.3.627       2,366,056  Wincepb41-030627-kb822166-mips16.exe 27-Jun-2003 22:30  4.1.3.627       2,439,784  Wincepb41-030627-kb822166-mipsii.exe 27-Jun-2003 22:30  4.1.3.627       2,452,072  Wincepb41-030627-kb822166-mipsii_fp.exe 27-Jun-2003 22:32  4.1.3.627       2,468,456  Wincepb41-030627-kb822166-mipsiv.exe 27-Jun-2003 22:32  4.1.3.627       2,480,744  Wincepb41-030627-kb822166-mipsiv_fp.exe 27-Jun-2003 22:29  4.1.3.627       2,333,288  Wincepb41-030627-kb822166-sh3.exe 27-Jun-2003 22:29  4.1.3.627       2,337,384  Wincepb41-030627-kb822166-sh4.exe 27-Jun-2003 22:28  4.1.3.627       2,214,504  Wincepb41-030627-kb822166-x86.exe Note Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.

The English version of this package has the file attributes (or later) that are listed in the following table.   Date         Time   Version            Size    File name --

Path: Others\Mfc\Include 14-Jun-2003 15:54                     51,821  Afxdisp.h

Path: Others\Mfc\Lib\Armv4 20-Jun-2003 04:16  6.0.712.0         275,456  Olece400.dll     ARM 20-Jun-2003 04:16                    600,600  Olece400.lib 20-Jun-2003 04:16                  2,174,976  Olece400.pdb 20-Jun-2003 04:16                    144,323  Olece400.rel 20-Jun-2003 04:15  6.0.712.0         612,352  Olece400d.dll    ARM 20-Jun-2003 04:15                    685,926  Olece400d.lib 20-Jun-2003 04:15                  2,617,344  Olece400d.pdb 20-Jun-2003 04:15                    200,177  Olece400d.rel

Path: Others\Mfc\Lib\Armv4i 20-Jun-2003 04:19  6.0.712.0         283,648  Olece400.dll     THUMB 20-Jun-2003 04:19                    600,600  Olece400.lib 20-Jun-2003 04:19                  2,174,976  Olece400.pdb 20-Jun-2003 04:19                    144,323  Olece400.rel 20-Jun-2003 04:18  6.0.712.0         625,152  Olece400d.dll    THUMB 20-Jun-2003 04:18                    685,926  Olece400d.lib 20-Jun-2003 04:18                  2,617,344  Olece400d.pdb 20-Jun-2003 04:18                    200,177  Olece400d.rel

Path: Others\Mfc\Lib\Armv4t 20-Jun-2003 04:23  6.0.712.0         217,088  Olece400.dll     THUMB 20-Jun-2003 04:23                    600,600  Olece400.lib 20-Jun-2003 04:23                  2,183,168  Olece400.pdb 20-Jun-2003 04:23                    155,807  Olece400.rel 20-Jun-2003 04:21  6.0.712.0         485,888  Olece400d.dll    THUMB 20-Jun-2003 04:21                    685,926  Olece400d.lib 20-Jun-2003 04:21                  2,617,344  Olece400d.pdb 20-Jun-2003 04:21                    217,374  Olece400d.rel

Path: Others\Mfc\Lib\Mips16 20-Jun-2003 04:06  6.0.712.0         240,128  Olece400.dll     MIPS16 20-Jun-2003 04:06                    598,278  Olece400.lib 20-Jun-2003 04:06                  2,207,744  Olece400.pdb 20-Jun-2003 04:06                    401,176  Olece400.rel 20-Jun-2003 04:05  6.0.712.0         502,784  Olece400d.dll    MIPS16 20-Jun-2003 04:05                    685,748  Olece400d.lib 20-Jun-2003 04:05                  2,666,496  Olece400d.pdb 20-Jun-2003 04:05                    521,468  Olece400d.rel

Path: Others\Mfc\Lib\Mipsii 20-Jun-2003 04:00  6.0.712.0         344,064  Olece400.dll     R4000 20-Jun-2003 04:00                    598,278  Olece400.lib 20-Jun-2003 04:00                  2,199,552  Olece400.pdb 20-Jun-2003 04:00                    391,751  Olece400.rel 20-Jun-2003 03:59  6.0.712.0         704,000  Olece400d.dll    R4000 20-Jun-2003 03:59                    685,748  Olece400d.lib 20-Jun-2003 03:59                  2,666,496  Olece400d.pdb 20-Jun-2003 03:59                    622,968  Olece400d.rel

Path: Others\Mfc\Lib\Mipsii_fp 20-Jun-2003 04:03  6.0.712.0         343,552  Olece400.dll     R4000 20-Jun-2003 04:03                    599,620  Olece400.lib 20-Jun-2003 04:03                  2,199,552  Olece400.pdb 20-Jun-2003 04:03                    388,880  Olece400.rel 20-Jun-2003 04:02  6.0.712.0         707,584  Olece400d.dll    R4000 20-Jun-2003 04:02                    693,540  Olece400d.lib 20-Jun-2003 04:02                  2,674,688  Olece400d.pdb 20-Jun-2003 04:02                    623,287  Olece400d.rel

Path: Others\Mfc\Lib\Mipsiv 20-Jun-2003 04:10  6.0.712.0         373,760  Olece400.dll     MIPSFPU 20-Jun-2003 04:10                    598,278  Olece400.lib 20-Jun-2003 04:10                  2,199,552  Olece400.pdb 20-Jun-2003 04:10                    404,192  Olece400.rel 20-Jun-2003 04:08  6.0.712.0         753,152  Olece400d.dll    MIPSFPU 20-Jun-2003 04:08                    685,748  Olece400d.lib 20-Jun-2003 04:08                  2,666,496  Olece400d.pdb 20-Jun-2003 04:08                    628,507  Olece400d.rel

Path: Others\Mfc\Lib\Mipsiv_fp 20-Jun-2003 04:13  6.0.712.0         374,784  Olece400.dll     MIPSFPU 20-Jun-2003 04:13                    599,606  Olece400.lib 20-Jun-2003 04:13                  2,207,744  Olece400.pdb 20-Jun-2003 04:13                    399,262  Olece400.rel 20-Jun-2003 04:11  6.0.712.0         757,248  Olece400d.dll    MIPSFPU 20-Jun-2003 04:11                    691,652  Olece400d.lib 20-Jun-2003 04:11                  2,674,688  Olece400d.pdb 20-Jun-2003 04:11                    625,433  Olece400d.rel

Path: Others\Mfc\Lib\Sh3 20-Jun-2003 03:53  6.0.712.0         228,352  Olece400.dll     SH3 20-Jun-2003 03:53                    599,760  Olece400.lib 20-Jun-2003 03:53                  2,158,592  Olece400.pdb 20-Jun-2003 03:53                    226,393  Olece400.rel 20-Jun-2003 03:52  6.0.712.0         540,160  Olece400d.dll    SH3 20-Jun-2003 03:52                    685,382  Olece400d.lib 20-Jun-2003 03:52                  2,600,960  Olece400d.pdb 20-Jun-2003 03:52                    330,184  Olece400d.rel

Path: Others\Mfc\Lib\Sh4 20-Jun-2003 03:57  6.0.712.0         229,376  Olece400.dll     SH4 20-Jun-2003 03:57                    601,414  Olece400.lib 20-Jun-2003 03:57                  2,150,400  Olece400.pdb 20-Jun-2003 03:57                    223,812  Olece400.rel 20-Jun-2003 03:55  6.0.712.0         542,720  Olece400d.dll    SH4 20-Jun-2003 03:55                    693,476  Olece400d.lib 20-Jun-2003 03:55                  2,600,960  Olece400d.pdb 20-Jun-2003 03:55                    327,690  Olece400d.rel

Path: Others\Mfc\Lib\X86 20-Jun-2003 04:25  6.0.712.0         177,664  Olece400.dll     X86 20-Jun-2003 04:25                    597,590  Olece400.lib 20-Jun-2003 04:25                  2,084,864  Olece400.pdb 20-Jun-2003 04:25                    120,398  Olece400.rel 20-Jun-2003 04:24  6.0.712.0         468,480  Olece400d.dll    X86 20-Jun-2003 04:24                    685,382  Olece400d.lib 20-Jun-2003 04:24                  2,543,616  Olece400d.pdb 20-Jun-2003 04:24                    183,647  Olece400d.rel

Path: Others\Mfc\Src 14-Jun-2003 16:07                      4,831  Dispimpl.h   20-Jun-2003  03:49                     52,662  Oledisp1.cpp 16-Jun-2003 03:58                     14,036  Oledisp2.cpp



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
This update includes the following improvements:
 * Correctly handles VT_I1, VT_UI2, VT_UI4, VT_R4 and VT_R8 dispatch parameters for SH4, MIPSII FP and MIPSIV FP.
 * Improves thunk code according to the correct CPU calling conventions for SH3, SH4, MIPSII FP and MIPSIV FP.
 * Eliminates a memory leak in dispatch code marshaling.

Keywords: kbbug kbfix kbqfe KB822166

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.