Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms



Consider the following scenario:

  • You run an application on a Windows Embedded Compact 7-based device.

  • The application calls the VarUI4FromI4 function to convert variant data types from the LONG data type to the unsigned long (ULONG) data type.

  • The application passes a negative value to the lIn parameter of the function.

In this scenario, the VarUI4FromI4 function returns the S_OK code instead of the DISP_E_OVERFLOW code.

Cause

This issue occurs because the implementation of the VarUI4FromI4 function does not check the input parameter for negative values.

More Information

Software update information



Download information

The Windows Embedded Compact 7 Monthly Update (March 2013) is now available from Microsoft. To download this Windows Embedded Compact 7 Monthly Update, go to the following Microsoft Download Center website:

Windows Embedded Compact 7 updates
The kind of processor that each file applies to is visible in the name of each file in the "File information" section.

Prerequisites

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

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:

  • On the Build menu, click Clean Solution, and then click Build Solution.

  • On the Build menu, click Rebuild Solution.

You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

The English version of this software update package 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 item in Control Panel.

Files that are included in this hotfix package

File name

File size

Date

Time

Path

Oleaut32.lib

1,360,484

13-Mar-2013

22:57

Public\Dcom\Oak\Lib\Armv5\Checked

Oleaut32.lib

1,600,778

13-Mar-2013

22:57

Public\Dcom\Oak\Lib\Armv5\Debug

Oleaut32.lib

1,474,946

13-Mar-2013

22:57

Public\Dcom\Oak\Lib\Armv5\Retail

Oleaut32.lib

1,351,844

13-Mar-2013

22:58

Public\Dcom\Oak\Lib\Armv6\Checked

Oleaut32.lib

1,590,782

13-Mar-2013

22:58

Public\Dcom\Oak\Lib\Armv6\Debug

Oleaut32.lib

1,466,314

13-Mar-2013

22:58

Public\Dcom\Oak\Lib\Armv6\Retail

Oleaut32.lib

1,341,032

13-Mar-2013

22:59

Public\Dcom\Oak\Lib\Armv7\Checked

Oleaut32.lib

1,580,660

13-Mar-2013

22:59

Public\Dcom\Oak\Lib\Armv7\Debug

Oleaut32.lib

1,455,690

13-Mar-2013

22:59

Public\Dcom\Oak\Lib\Armv7\Retail

Oleaut32.lib

1,229,242

13-Mar-2013

23:00

Public\Dcom\Oak\Lib\Mipsii\Checked

Oleaut32.lib

1,482,692

13-Mar-2013

23:00

Public\Dcom\Oak\Lib\Mipsii\Debug

Oleaut32.lib

1,335,646

13-Mar-2013

23:00

Public\Dcom\Oak\Lib\Mipsii\Retail

Oleaut32.lib

1,227,214

13-Mar-2013

23:01

Public\Dcom\Oak\Lib\Mipsii_fp\Checked

Oleaut32.lib

1,487,436

13-Mar-2013

23:01

Public\Dcom\Oak\Lib\Mipsii_fp\Debug

Oleaut32.lib

1,330,616

13-Mar-2013

23:01

Public\Dcom\Oak\Lib\Mipsii_fp\Retail

Oleaut32.lib

1,123,682

13-Mar-2013

23:02

Public\Dcom\Oak\Lib\Sh4\Checked

Oleaut32.lib

1,352,084

13-Mar-2013

23:02

Public\Dcom\Oak\Lib\Sh4\Debug

Oleaut32.lib

1,237,774

13-Mar-2013

23:02

Public\Dcom\Oak\Lib\Sh4\Retail

Oleaut32.lib

1,110,220

13-Mar-2013

23:03

Public\Dcom\Oak\Lib\X86\Checked

Oleaut32.lib

1,186,238

13-Mar-2013

23:03

Public\Dcom\Oak\Lib\X86\Debug

Oleaut32.lib

1,183,108

13-Mar-2013

23:03

Public\Dcom\Oak\Lib\X86\Retail



Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

For more information about the VarUI4FromI4 function, go to the following Microsoft Developer Network (MSDN) website:

General information about the VarUI4FromI4 functionFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×