Running a WPF application on Windows XP

后端 未结 4 1251
鱼传尺愫
鱼传尺愫 2020-12-31 23:28

I recently built a new application using WPF, so that I can learn the new technology. Now that I am trying to deploy the application, it appears as if it is running fine on

4条回答
  •  清酒与你
    2020-12-31 23:49

    Sorry that I left this stagnant, but I figured out the issue I was running into. Turned out that there was corruption in the Windows XP box I was using as a test bed.

    I was working between stackoverflow and another forum for the package I was writing the Add-in for. When I learned of the answer, this is what I posted, in case I ran into issue in the future.

    I thought that I'd post this here, so that I would have reference, and also in case anyone else would need reference to it for the future... I'm working on another Dinerware Add-on using WPF, and although it was running fine on my development machine, every time I'd go to run it on a test machine (a machine ghosted like it was in the field at a customer's location), I kept getting weird processing errors.

    I did hours of searching online, only to come up empty handed until I ran across this article:

    http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/6e5de3d8-fc02-4504-b00f-7a2192d24a48/

    which gives a link to the download of the WIC (Windows Imaging Components), located here:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=8e011506-6307-445b-b950-215def45ffffd8&displaylang=en

    For some reason, what is/was happening is that the Windows Imaging components have become corrupt against what my application is looking for. TO fix the issue, you have to:

    1) navigate to %windir%\$NtUninstallWIC$\spuninst\ and run the spuninst.exe file in there. That will remove the Windows imaging components. 2) after you have completely removed the components, you will then re-install them using the second link from above.

    So far, I've not run into any further issues.

    What a crazy thing that was?!?!?!?!?!?!!

    Hopefully, if someone else runs into this issue, I may be able to help them out quick by >putting this out there.

    As I said on that forum... hopefully this helps someone else out that runs into this issue in the future.

提交回复
热议问题