一个对话框,上面显示一个动画控件(Animation Controls).
发现不太正常,一般在我机器上不能正确显示,但是我打开另外一个
程序(传奇3的外挂),就可以显示动画了...是在搞不明白.
另外,该程序在我同事机器上却可以正常显示.
MSDN上关于该控件有这样的描述:
Note:   If you are using ComCtl32.dll version 6 the thread is not supported, therefore make sure that your application does not block the UI or the animation will not occur.
好像是在说该控件不支持ComCtl32.dll的第6版本.后面什么意思?
请大家指教...我好着急啊.
另外我是用WIN32 SDK编的,没有使用MFC.

解决方案 »

  1.   

    查到问题所在了,程序没有加载ComCtl32.dll,但是运行外挂之后,就加载了该文件.
    请问现在怎么解决啊?
      

  2.   

    在stdafx.h中加入 : #import "ComCtl32.dll所在路径+ComCtl32.dll“
      

  3.   

    在stdafx.h中加入 : #import "ComCtl32.dll所在路径+ComCtl32.dll“
      

  4.   

    #pragma comment(lib, "comctl32.lib")
      

  5.   

    加了#import "c:\windows\system32\ComCtl32.dll"之后,编译出错...无法打开类型库文件
    Comctrl32,s, 
      

  6.   

    原来是缺了一句话...InitCommonControls();
    谢谢上面各位.