Microsoft KB Archive/842089

= FIX: You receive an alignment exception when you use an object of type COleVariant =

Article ID: 842089

Article Last Modified on 5/27/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.1
 * Microsoft eMbedded Visual C++ 4.0

-





SYMPTOMS
In Microsoft Windows CE .NET 4.1, you receive an alignment exception when you copy an object of type COleVariant.



CAUSE
This problem occurs because the Microsoft Foundation Classes (MFC) libraries that are specific to the MIPS IV FP microprocessor build have an incorrect setting for structure alignment with regard to the MIPS memory access requirements.



Software update information
A supported software update is now available from Microsoft as Windows CE .NET 4.1 Core OS QFE 842089. 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

Prerequisites
This software update is supported only if all previously issued software updates for this product have also been installed.

Restart requirement
After you install this software update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart your computer after you apply this software update.

Software update replacement information
This software update does not replace any other software updates.

File information
The English version of this software update package has the file attributes or later file attributes that are listed in the following table:   Date         Time   Version    Size       File name -

Path: Signed 07-Jan-2005 23:07  4.1.5.106  8,461,048  Wincepb41-050106-kb842089-armv4.exe 07-Jan-2005 23:07  4.1.5.106  8,465,144  Wincepb41-050106-kb842089-armv4i.exe 07-Jan-2005 23:14  4.1.5.106  8,465,144  Wincepb41-050106-kb842089-armv4t.exe 07-Jan-2005 23:16  4.1.5.106  8,162,040  Wincepb41-050106-kb842089-mips16.exe 07-Jan-2005 23:07  4.1.5.106  8,506,104  Wincepb41-050106-kb842089-mipsii.exe 07-Jan-2005 23:07  4.1.5.106  8,518,392  Wincepb41-050106-kb842089-mipsii_fp.exe 07-Jan-2005 23:14  4.1.5.106  8,964,856  Wincepb41-050106-kb842089-mipsiv.exe 07-Jan-2005 23:07  4.1.5.106  8,973,048  Wincepb41-050106-kb842089-mipsiv_fp.exe 07-Jan-2005 23:07  4.1.5.106  8,121,080  Wincepb41-050106-kb842089-sh3.exe 07-Jan-2005 23:07  4.1.5.106  8,129,272  Wincepb41-050106-kb842089-sh4.exe 07-Jan-2005 23:09  4.1.5.106  7,396,088  Wincepb41-050106-kb842089-x86.exe The English version of this update has the file attributes (or later file attributes) 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 -

Path: Others\Mfc\Include 14-Jun-2003 15:54                   51,821  Afxdisp.h   18-Aug-2004  19:36                   12,401  Afxver_.h   26-Mar-2004  23:47                   11,930  Mips2thunkbldr.h   26-Mar-2004  23:47                    8,232  Mips4thunkbldr.h   26-Mar-2004  23:47                   12,273  Sh4thunkbldr.h

Path: Others\Mfc\Lib\Armv4 13-Nov-2004 02:13  6.0.712.1778    447,488  Mfcce400.dll     ARM 13-Nov-2004 02:13                  866,224  Mfcce400.lib 13-Nov-2004 02:13                2,658,304  Mfcce400.pdb 13-Nov-2004 02:13                  260,323  Mfcce400.rel 24-Nov-2004 17:36  6.0.712.1778  1,102,336  Mfcce400d.dll    ARM 24-Nov-2004 17:36                1,343,182  Mfcce400d.lib 24-Nov-2004 17:36                3,051,520  Mfcce400d.pdb 24-Nov-2004 17:36                  380,586  Mfcce400d.rel 13-Nov-2004 02:13                  127,338  Mfcs42.lib 13-Nov-2004 02:13                  692,224  Mfcs42.pdb 24-Nov-2004 17:36                  125,396  Mfcs42d.lib 24-Nov-2004 17:36                  708,608  Mfcs42d.pdb 13-Nov-2004 02:14  6.0.712.1778    292,864  Olece400.dll     ARM 13-Nov-2004 02:14                  600,600  Olece400.lib 13-Nov-2004 02:14                2,281,472  Olece400.pdb 13-Nov-2004 02:14                  164,913  Olece400.rel 24-Nov-2004 17:37  6.0.712.1778    611,328  Olece400d.dll    ARM 24-Nov-2004 17:37                  685,926  Olece400d.lib 24-Nov-2004 17:37                2,617,344  Olece400d.pdb 24-Nov-2004 17:37                  200,235  Olece400d.rel 13-Nov-2004 02:14                4,332,772  Uafxwce.lib 13-Nov-2004 02:13                  708,608  Uafxwce.pdb 24-Nov-2004 17:37                4,764,120  Uafxwced.lib 24-Nov-2004 17:37                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\Armv4i 13-Nov-2004 02:15  6.0.712.1778    461,824  Mfcce400.dll     THUMB 13-Nov-2004 02:15                  866,224  Mfcce400.lib 13-Nov-2004 02:15                2,666,496  Mfcce400.pdb 13-Nov-2004 02:15                  260,323  Mfcce400.rel 13-Nov-2004 02:08  6.0.712.1778  1,121,792  Mfcce400d.dll    THUMB 13-Nov-2004 02:08                1,343,182  Mfcce400d.lib 13-Nov-2004 02:08                3,051,520  Mfcce400d.pdb 13-Nov-2004 02:08                  380,586  Mfcce400d.rel 13-Nov-2004 02:15                  127,462  Mfcs42.lib 13-Nov-2004 02:15                  692,224  Mfcs42.pdb 13-Nov-2004 02:08                  125,490  Mfcs42d.lib 13-Nov-2004 02:08                  708,608  Mfcs42d.pdb 13-Nov-2004 02:16  6.0.712.1778    302,592  Olece400.dll     THUMB 13-Nov-2004 02:16                  600,600  Olece400.lib 13-Nov-2004 02:16                2,281,472  Olece400.pdb 13-Nov-2004 02:16                  164,913  Olece400.rel 13-Nov-2004 02:09  6.0.712.1778    622,080  Olece400d.dll    THUMB 13-Nov-2004 02:09                  685,926  Olece400d.lib 13-Nov-2004 02:09                2,617,344  Olece400d.pdb 13-Nov-2004 02:09                  200,235  Olece400d.rel 13-Nov-2004 02:15                4,350,570  Uafxwce.lib 13-Nov-2004 02:15                  708,608  Uafxwce.pdb 13-Nov-2004 02:09                4,781,700  Uafxwced.lib 13-Nov-2004 02:09                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\Armv4t 13-Nov-2004 02:17  6.0.712.1778    349,696  Mfcce400.dll     THUMB 13-Nov-2004 02:17                  866,224  Mfcce400.lib 13-Nov-2004 02:17                2,682,880  Mfcce400.pdb 13-Nov-2004 02:17                  269,255  Mfcce400.rel 13-Nov-2004 02:10  6.0.712.1778    843,264  Mfcce400d.dll    THUMB 13-Nov-2004 02:10                1,343,182  Mfcce400d.lib 13-Nov-2004 02:10                3,051,520  Mfcce400d.pdb 13-Nov-2004 02:10                  392,940  Mfcce400d.rel 13-Nov-2004 02:17                  127,338  Mfcs42.lib 13-Nov-2004 02:17                  692,224  Mfcs42.pdb 13-Nov-2004 02:10                  124,886  Mfcs42d.lib 13-Nov-2004 02:10                  708,608  Mfcs42d.pdb 13-Nov-2004 02:18  6.0.712.1778    230,912  Olece400.dll     THUMB 13-Nov-2004 02:18                  600,600  Olece400.lib 13-Nov-2004 02:18                2,297,856  Olece400.pdb 13-Nov-2004 02:18                  176,397  Olece400.rel 13-Nov-2004 02:11  6.0.712.1778    486,912  Olece400d.dll    THUMB 13-Nov-2004 02:11                  685,926  Olece400d.lib 13-Nov-2004 02:11                2,617,344  Olece400d.pdb 13-Nov-2004 02:11                  217,461  Olece400d.rel 13-Nov-2004 02:18                4,292,994  Uafxwce.lib 13-Nov-2004 02:17                  708,608  Uafxwce.pdb 13-Nov-2004 02:10                4,525,138  Uafxwced.lib 13-Nov-2004 02:10                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\Mips16 13-Nov-2004 02:19  6.0.712.1778    381,952  Mfcce400.dll     MIPS16 13-Nov-2004 02:19                  861,228  Mfcce400.lib 13-Nov-2004 02:19                2,502,656  Mfcce400.pdb 13-Nov-2004 02:19                  664,786  Mfcce400.rel 13-Nov-2004 02:11  6.0.712.1778    913,920  Mfcce400d.dll    MIPS16 13-Nov-2004 02:11                1,343,182  Mfcce400d.lib 13-Nov-2004 02:11                3,108,864  Mfcce400d.pdb 13-Nov-2004 02:11                1,097,060  Mfcce400d.rel 13-Nov-2004 02:19                  123,542  Mfcs42.lib 13-Nov-2004 02:19                  692,224  Mfcs42.pdb 13-Nov-2004 02:12                  125,222  Mfcs42d.lib 13-Nov-2004 02:12                  708,608  Mfcs42d.pdb 13-Nov-2004 02:20  6.0.712.1778    242,176  Olece400.dll     MIPS16 13-Nov-2004 02:20                  598,278  Olece400.lib 13-Nov-2004 02:20                2,207,744  Olece400.pdb 13-Nov-2004 02:20                  401,176  Olece400.rel 13-Nov-2004 02:12  6.0.712.1778    506,368  Olece400d.dll    MIPS16 13-Nov-2004 02:12                  685,748  Olece400d.lib 13-Nov-2004 02:12                2,666,496  Olece400d.pdb 13-Nov-2004 02:12                  521,555  Olece400d.rel 13-Nov-2004 02:19                3,247,690  Uafxwce.lib 13-Nov-2004 02:19                  708,608  Uafxwce.pdb 13-Nov-2004 02:12                4,492,232  Uafxwced.lib 13-Nov-2004 02:12                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\Mipsii 13-Nov-2004 02:21  6.0.712.1778    541,696  Mfcce400.dll     R4000 13-Nov-2004 02:21                  861,228  Mfcce400.lib 13-Nov-2004 02:21                2,494,464  Mfcce400.pdb 13-Nov-2004 02:21                  634,046  Mfcce400.rel 13-Nov-2004 02:13  6.0.712.1778  1,299,456  Mfcce400d.dll    R4000 13-Nov-2004 02:13                1,343,182  Mfcce400d.lib 13-Nov-2004 02:13                3,108,864  Mfcce400d.pdb 13-Nov-2004 02:13                1,336,281  Mfcce400d.rel 13-Nov-2004 02:21                  123,918  Mfcs42.lib 13-Nov-2004 02:21                  692,224  Mfcs42.pdb 13-Nov-2004 02:13                  126,776  Mfcs42d.lib 13-Nov-2004 02:13                  708,608  Mfcs42d.pdb 13-Nov-2004 02:22  6.0.712.1778    346,624  Olece400.dll     R4000 13-Nov-2004 02:22                  598,278  Olece400.lib 13-Nov-2004 02:22                2,191,360  Olece400.pdb 13-Nov-2004 02:22                  391,751  Olece400.rel 13-Nov-2004 02:14  6.0.712.1778    705,536  Olece400d.dll    R4000 13-Nov-2004 02:14                  685,748  Olece400d.lib 13-Nov-2004 02:14                2,666,496  Olece400d.pdb 13-Nov-2004 02:14                  623,142  Olece400d.rel 13-Nov-2004 02:21                3,372,330  Uafxwce.lib 13-Nov-2004 02:21                  708,608  Uafxwce.pdb 13-Nov-2004 02:14                4,972,278  Uafxwced.lib 13-Nov-2004 02:14                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\Mipsii_fp 13-Nov-2004 02:23  6.0.712.1778    541,184  Mfcce400.dll     R4000 13-Nov-2004 02:23                  861,228  Mfcce400.lib 13-Nov-2004 02:23                2,494,464  Mfcce400.pdb 13-Nov-2004 02:23                  632,683  Mfcce400.rel 13-Nov-2004 02:15  6.0.712.1778  1,298,432  Mfcce400d.dll    R4000 13-Nov-2004 02:15                1,343,182  Mfcce400d.lib 13-Nov-2004 02:15                3,108,864  Mfcce400d.pdb 13-Nov-2004 02:15                1,335,063  Mfcce400d.rel 13-Nov-2004 02:23                  123,970  Mfcs42.lib 13-Nov-2004 02:23                  692,224  Mfcs42.pdb 13-Nov-2004 02:15                  126,808  Mfcs42d.lib 13-Nov-2004 02:15                  708,608  Mfcs42d.pdb 13-Nov-2004 02:24  6.0.712.1778    346,624  Olece400.dll     R4000 13-Nov-2004 02:24                  599,620  Olece400.lib 13-Nov-2004 02:24                2,191,360  Olece400.pdb 13-Nov-2004 02:24                  390,359  Olece400.rel 13-Nov-2004 02:16  6.0.712.1778    709,632  Olece400d.dll    R4000 13-Nov-2004 02:16                  693,540  Olece400d.lib 13-Nov-2004 02:16                2,666,496  Olece400d.pdb 13-Nov-2004 02:16                  624,650  Olece400d.rel 13-Nov-2004 02:23                3,373,080  Uafxwce.lib 13-Nov-2004 02:23                  708,608  Uafxwce.pdb 13-Nov-2004 02:15                4,973,380  Uafxwced.lib 13-Nov-2004 02:15                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\Mipsiv 13-Nov-2004 02:25  6.0.712.1778    601,600  Mfcce400.dll     MIPSFPU 13-Nov-2004 02:25                  861,510  Mfcce400.lib 13-Nov-2004 02:25                2,723,840  Mfcce400.pdb 13-Nov-2004 02:25                  720,901  Mfcce400.rel 13-Nov-2004 02:16  6.0.712.1778  1,368,064  Mfcce400d.dll    MIPSFPU 13-Nov-2004 02:16                1,343,182  Mfcce400d.lib 13-Nov-2004 02:16                3,108,864  Mfcce400d.pdb 13-Nov-2004 02:16                1,342,632  Mfcce400d.rel 13-Nov-2004 02:25                  128,426  Mfcs42.lib 13-Nov-2004 02:25                  692,224  Mfcs42.pdb 13-Nov-2004 02:17                  126,944  Mfcs42d.lib 13-Nov-2004 02:17                  708,608  Mfcs42d.pdb 13-Nov-2004 02:26  6.0.712.1778    379,392  Olece400.dll     MIPSFPU 13-Nov-2004 02:26                  598,278  Olece400.lib 13-Nov-2004 02:26                2,330,624  Olece400.pdb 13-Nov-2004 02:26                  444,299  Olece400.rel 13-Nov-2004 02:17  6.0.712.1778    734,208  Olece400d.dll    MIPSFPU 13-Nov-2004 02:17                  685,748  Olece400d.lib 13-Nov-2004 02:17                2,666,496  Olece400d.pdb 13-Nov-2004 02:17                  627,927  Olece400d.rel 13-Nov-2004 02:25                4,366,604  Uafxwce.lib 13-Nov-2004 02:25                  708,608  Uafxwce.pdb 13-Nov-2004 02:17                5,038,462  Uafxwced.lib 13-Nov-2004 02:17                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\Mipsiv_fp 13-Nov-2004 02:26  6.0.712.1778    600,576  Mfcce400.dll     MIPSFPU 13-Nov-2004 02:26                  861,510  Mfcce400.lib 13-Nov-2004 02:26                2,715,648  Mfcce400.pdb 13-Nov-2004 02:26                  719,422  Mfcce400.rel 13-Nov-2004 02:18  6.0.712.1778  1,367,040  Mfcce400d.dll    MIPSFPU 13-Nov-2004 02:18                1,343,182  Mfcce400d.lib 13-Nov-2004 02:18                3,108,864  Mfcce400d.pdb 13-Nov-2004 02:18                1,340,950  Mfcce400d.rel 13-Nov-2004 02:26                  128,476  Mfcs42.lib 13-Nov-2004 02:26                  692,224  Mfcs42.pdb 13-Nov-2004 02:18                  126,976  Mfcs42d.lib 13-Nov-2004 02:18                  708,608  Mfcs42d.pdb 13-Nov-2004 02:27  6.0.712.1778    379,904  Olece400.dll     MIPSFPU 13-Nov-2004 02:27                  599,606  Olece400.lib 13-Nov-2004 02:27                2,330,624  Olece400.pdb 13-Nov-2004 02:27                  441,515  Olece400.rel 13-Nov-2004 02:19  6.0.712.1778    737,280  Olece400d.dll    MIPSFPU 13-Nov-2004 02:19                  691,652  Olece400d.lib 13-Nov-2004 02:19                2,666,496  Olece400d.pdb 13-Nov-2004 02:19                  625,926  Olece400d.rel 13-Nov-2004 02:27                4,367,232  Uafxwce.lib 13-Nov-2004 02:27                  708,608  Uafxwce.pdb 13-Nov-2004 02:19                5,039,114  Uafxwced.lib 13-Nov-2004 02:19                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\Sh3 13-Nov-2004 02:28  6.0.712.1778    370,688  Mfcce400.dll     SH3 13-Nov-2004 02:28                  865,106  Mfcce400.lib 13-Nov-2004 02:28                2,420,736  Mfcce400.pdb 13-Nov-2004 02:28                  393,636  Mfcce400.rel 13-Nov-2004 02:20  6.0.712.1778    995,840  Mfcce400d.dll    SH3 13-Nov-2004 02:20                1,341,378  Mfcce400d.lib 13-Nov-2004 02:20                3,043,328  Mfcce400d.pdb 13-Nov-2004 02:20                  706,024  Mfcce400d.rel 13-Nov-2004 02:28                  123,036  Mfcs42.lib 13-Nov-2004 02:28                  692,224  Mfcs42.pdb 13-Nov-2004 02:20                  125,514  Mfcs42d.lib 13-Nov-2004 02:20                  708,608  Mfcs42d.pdb 13-Nov-2004 02:29  6.0.712.1778    229,376  Olece400.dll     SH3 13-Nov-2004 02:29                  599,760  Olece400.lib 13-Nov-2004 02:29                2,150,400  Olece400.pdb 13-Nov-2004 02:29                  226,393  Olece400.rel 13-Nov-2004 02:21  6.0.712.1778    552,960  Olece400d.dll    SH3 13-Nov-2004 02:21                  685,382  Olece400d.lib 13-Nov-2004 02:21                2,617,344  Olece400d.pdb 13-Nov-2004 02:21                  337,492  Olece400d.rel 13-Nov-2004 02:29                3,091,274  Uafxwce.lib 13-Nov-2004 02:29                  708,608  Uafxwce.pdb 13-Nov-2004 02:21                4,404,960  Uafxwced.lib 13-Nov-2004 02:20                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\Sh4 13-Nov-2004 02:30  6.0.712.1778    370,176  Mfcce400.dll     SH4 13-Nov-2004 02:30                  865,106  Mfcce400.lib 13-Nov-2004 02:30                2,420,736  Mfcce400.pdb 13-Nov-2004 02:30                  392,882  Mfcce400.rel 13-Nov-2004 02:22  6.0.712.1778    995,328  Mfcce400d.dll    SH4 13-Nov-2004 02:22                1,341,378  Mfcce400d.lib 13-Nov-2004 02:22                3,043,328  Mfcce400d.pdb 13-Nov-2004 02:22                  705,212  Mfcce400d.rel 13-Nov-2004 02:30                  123,042  Mfcs42.lib 13-Nov-2004 02:30                  692,224  Mfcs42.pdb 13-Nov-2004 02:22                  125,514  Mfcs42d.lib 13-Nov-2004 02:22                  708,608  Mfcs42d.pdb 13-Nov-2004 02:31  6.0.712.1778    230,400  Olece400.dll     SH4 13-Nov-2004 02:31                  601,414  Olece400.lib 13-Nov-2004 02:31                2,150,400  Olece400.pdb 13-Nov-2004 02:31                  223,870  Olece400.rel 13-Nov-2004 02:23  6.0.712.1778    556,544  Olece400d.dll    SH4 13-Nov-2004 02:23                  693,476  Olece400d.lib 13-Nov-2004 02:23                2,617,344  Olece400d.pdb 13-Nov-2004 02:23                  335,549  Olece400d.rel 13-Nov-2004 02:31                3,087,908  Uafxwce.lib 13-Nov-2004 02:31                  708,608  Uafxwce.pdb 13-Nov-2004 02:22                4,404,120  Uafxwced.lib 13-Nov-2004 02:22                  716,800  Uafxwced.pdb

Path: Others\Mfc\Lib\x86 13-Nov-2004 02:32  6.0.712.1778    283,136  Mfcce400.dll     x86 13-Nov-2004 02:32                  860,660  Mfcce400.lib 13-Nov-2004 02:32                2,306,048  Mfcce400.pdb 13-Nov-2004 02:32                  180,718  Mfcce400.rel 13-Nov-2004 02:23  6.0.712.1778    839,680  Mfcce400d.dll    x86 13-Nov-2004 02:23                1,341,378  Mfcce400d.lib 13-Nov-2004 02:23                2,805,760  Mfcce400d.pdb 13-Nov-2004 02:23                  319,193  Mfcce400d.rel 13-Nov-2004 02:32                  120,278  Mfcs42.lib 13-Nov-2004 02:32                  700,416  Mfcs42.pdb 13-Nov-2004 02:23                  122,686  Mfcs42d.lib 13-Nov-2004 02:23                  708,608  Mfcs42d.pdb 13-Nov-2004 02:33  6.0.712.1778    179,200  Olece400.dll     x86 13-Nov-2004 02:33                  597,590  Olece400.lib 13-Nov-2004 02:33                2,076,672  Olece400.pdb 13-Nov-2004 02:33                  120,427  Olece400.rel 13-Nov-2004 02:24  6.0.712.1778    468,992  Olece400d.dll    x86 13-Nov-2004 02:24                  685,382  Olece400d.lib 13-Nov-2004 02:24                2,535,424  Olece400d.pdb 13-Nov-2004 02:24                  183,734  Olece400d.rel 13-Nov-2004 02:33                2,743,028  Uafxwce.lib 13-Nov-2004 02:33                  708,608  Uafxwce.pdb 13-Nov-2004 02:24                3,766,690  Uafxwced.lib 13-Nov-2004 02:24                  716,800  Uafxwced.pdb

Path: Others\Mfc\Src 14-Jun-2003 16:07                    4,831  Dispimpl.h   06-May-2003  17:45                    7,265  Dllmodul.cpp 26-Mar-2004 23:47                   53,524  Oledisp1.cpp 16-Jun-2003 03:58                   14,036  Oledisp2.cpp 04-Jun-2004 21:24                   30,723  Wceole.cpp



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
You must rebuild and redistribute the platform SDK for the device after you apply this software update.

Keywords: kbbug kbfix kbqfe KB842089

-

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

© Microsoft Corporation. All rights reserved.