如何让TAnimate的常见AVI在Vista和Win7上工作? [英] How do I get TAnimate's Common AVIs to work on Vista and Win7?

查看:263
本文介绍了如何让TAnimate的常见AVI在Vista和Win7上工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Delphi 2007应用程序,具有一个具有FindFile Common AVI的TAnimate控件。当应用程序在Windows XP上运行时,它可以很好地工作,但Windows 7上没有任何显示。我听说现在需要自己的线程,但我不确定。



<有没有人知道如何让TAnimate的普通AVI控件在Windows 7(或Vista)上工作?

解决方案

你必须添加单元ShellAnimations给您项目或从组件面板的Win32选项卡添加组件 TShellResources 。 (在Windows Vista- Delphi 2007中测试)

 使用
ShellAnimations;

此单元将以下替换动画资源添加到可执行文件中:




  • FindFolder.res

  • FindFile.res

  • FindComputer.res

  • CopyFiles.res

  • CopyFile.res

  • RecycleFile.res

  • EmptyRecycle.res

  • DeleteFile.res



再见。


I have a Delphi 2007 application that has a TAnimate control with a FindFile Common AVI. It works perfectly when the application is run on Windows XP, but nothing ever appears on Windows 7. I've heard it now requires its own thread, but I am not certain.

Does anyone know how to get TAnimate's Common AVI control to work on Windows 7 (or Vista)?

解决方案

You must add the unit ShellAnimations to you project or add the component TShellResources from the Win32 tab of the component palette. (Tested in Windows Vista- Delphi 2007)

uses
ShellAnimations;

this unit adds the following replacement animation resources to your executable:

  • FindFolder.res
  • FindFile.res
  • FindComputer.res
  • CopyFiles.res
  • CopyFile.res
  • RecycleFile.res
  • EmptyRecycle.res
  • DeleteFile.res

Bye.

这篇关于如何让TAnimate的常见AVI在Vista和Win7上工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆