Article ID: 324490 - View products that this article applies to.
This article was previously published under Q324490
If a program uses the OleLoadPicture application programming interface (API) when it loads a corrupted Graphics Interchange Format (GIF) image, you may receive an "illegal operation" error message. The exact symptoms in the program may vary depending on how the program was written. However, in most cases, the program closes. When you run the program under a debugger, you see that the failure occurs in Asycfilt.dll.
When you run the program in a debugger, the call stack appears as follows:
For information about how to get the latest debugger package and symbol files for Microsoft products, visit the following Microsoft Web site:
asycfilt!CGIFFilter::InitCodeTable+0x59 asycfilt!CGIFFilter::DecompressImage+0x48 asycfilt!CGIFFilter::GetMore+0x2a9 asycfilt!CImageFilter::DoWork+0x2d OLEAUT32!_PictLoadSyncImage+0x1cc OLEAUT32!_PictLoadNewImage+0x1da OLEAUT32!_PictLoadPicture+0x32 OLEAUT32!OleLoadPictureEx+0x92 OLEAUT32!OleLoadPicture+0x24 OLEPRO32!_OleLoadPicture+0x1f Load_Picture_Sample!CImageView::Load_Picture_from_File+0x195
Microsoft Debugging ToolsThis problem also affects programs that were written in Microsoft Visual Basic and use the instrinsic Picture Box control or the LoadPicture function.
Service Pack InformationTo resolve this problem, obtain the latest service pack for Microsoft Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/260910/EN-US/ )How to Obtain the Latest Windows 2000 Service Pack
Hotfix InformationA supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows 2000 service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
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 Version Size File name -------------------------------------------------- 15-Jul-2002 2.40.4520.0 143,632 Ayscfilt.dll 15-Jul-2002 2.40.4520.0 626,960 Oleaut32.dll 15-Jul-2002 5.00.4520.0 164,112 Olepro32.dll
Microsoft has confirmed that this is a problem in Microsoft Windows 2000. This problem was first corrected in Microsoft Windows 2000 Service Pack 4.
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:
265173For additional information about how to install multiple hotfixes with only one restart, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/265173/EN-US/ )The Datacenter Program and Windows 2000 Datacenter Server Product
(http://support.microsoft.com/kb/296861/EN-US/ )Use QChain.exe to Install Multiple Hotfixes with One Reboot
Article ID: 324490 - Last Review: February 12, 2007 - Revision: 3.5
Contact us for more help
Connect with Answer Desk for expert help.