Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > KB956802 (GDI32.dll 5.1.2600.5698) causes problems on Spanish XP

Reply
Thread Tools Display Modes

KB956802 (GDI32.dll 5.1.2600.5698) causes problems on Spanish XP

 
 
POZ.James
Guest
Posts: n/a

 
      09-01-2009
Hi there, wonder if anyone can help - the above gdi32.dll version seems to
cause one of our applications to crash on spanish pc's.

For info, the version prior to this (5.1.2600.5512) works fine, however
following installation of KB956802 update (which installs 5.1.2600.5698) our
application crashes with a nice "Report to MS" type error.

This only appears to happen on SPANISH versions of XP as the application
continues to work without any problems on english XP with the same KB update
(albeit the english version) installed.

This has been reported to us by a number of our spanish users, and can be
reproduced on a VM by simply installing this update.

I have tried rebuilding our application on a PC which has this version of
the dll and everything is fine until deployed on a spanish pc.

Any help greatfully received.

Thanks,
James.
 
Reply With Quote
 
 
 
 
MowGreen
Guest
Posts: n/a

 
      09-01-2009
From the Security Bulletin:
http://www.microsoft.com/technet/sec.../MS08-071.mspx

> Support
> • Customers in the U.S. and Canada can receive technical support from Microsoft Product Support
> Services (http://www.microsoft.com/protect/res...upport.aspx)at 1-866-PCSAFETY. There is no
> charge for support calls that are associated with security updates.
> • International customers can receive support from their local Microsoft subsidiaries. There is no
> charge for support that is associated with security updates. For more information about how to
> contact Microsoft for support issues, visit the International Support Web site
> http://go.microsoft.com/fwlink/?LinkId=21155


If this an LOB application, contact MS for no-charge support.
If this application was written by you,, your company, or someone your
company
hired to code it, then suggest you go over the Vulnerability Information
in the Security Bulletin to see what changes have been made to how GDI
handles integer calculations and file size parameters in WMF files.


MowGreen
===============
*-343-* FDNY
Never Forgotten
===============

banthecheck.com
"Security updates should *not* have *non-security content* prechecked"



POZ.James wrote:

> Hi there, wonder if anyone can help - the above gdi32.dll version seems to
> cause one of our applications to crash on spanish pc's.
>
> For info, the version prior to this (5.1.2600.5512) works fine, however
> following installation of KB956802 update (which installs 5.1.2600.5698) our
> application crashes with a nice "Report to MS" type error.
>
> This only appears to happen on SPANISH versions of XP as the application
> continues to work without any problems on english XP with the same KB update
> (albeit the english version) installed.
>
> This has been reported to us by a number of our spanish users, and can be
> reproduced on a VM by simply installing this update.
>
> I have tried rebuilding our application on a PC which has this version of
> the dll and everything is fine until deployed on a spanish pc.
>
> Any help greatfully received.
>
> Thanks,
> James.

 
Reply With Quote
 
POZ.James
Guest
Posts: n/a

 
      10-21-2009
In case anyone else has this problem, I found the source of the problem and a
solution.

Symptoms:-
Application crashes to "report to microsoft" message. Application eventlog
entry indicating gdi32.dll v5.1.2600.5698

Cause:-
The cause of this problem was that our application had a reference to
"Windows API (ANSI)" - (win.tlb) and was calling the GDI32 functions
directly. Every single GDI32 function that was being called caused the
application to crash.

Resolution:
The resolution is pretty simply and to be honest i was suprised the code
didn't already do this.
Basically any function from the API that needs to be used must be declared
in code too...

For example, if you want to use the gdi32 function GetDeviceCaps (Get Device
Capabilities) you can't just call it, you must declare it first.
e.g. (VB6 example)

Private Declare Function GetDeviceCaps Lib "gdi32.dll" (ByVal hdc As Long, _
ByVal nIndex As Long) As Long


Note: Previously this code was working by calling the function directly


"POZ.James" wrote:

> Hi there, wonder if anyone can help - the above gdi32.dll version seems to
> cause one of our applications to crash on spanish pc's.
>
> For info, the version prior to this (5.1.2600.5512) works fine, however
> following installation of KB956802 update (which installs 5.1.2600.5698) our
> application crashes with a nice "Report to MS" type error.
>
> This only appears to happen on SPANISH versions of XP as the application
> continues to work without any problems on english XP with the same KB update
> (albeit the english version) installed.
>
> This has been reported to us by a number of our spanish users, and can be
> reproduced on a VM by simply installing this update.
>
> I have tried rebuilding our application on a PC which has this version of
> the dll and everything is fine until deployed on a spanish pc.
>
> Any help greatfully received.
>
> Thanks,
> James.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59