我已经按它的做了,原来不能正常编译现在也能了.
也设置了Enable User Account Control(UAC) = False
http://msdn.microsoft.com/en-us/library/f9adb5t5.aspx
编译完了运行出错
编译TCProps还正常.
编译时TstCon就弹出.....如图
编译完成后,然后运行就出对话框
Unable to start program 'E:\wgf\My Documents\Visual Studio 2008\Projects\Lesson\TstCon\Debug\TstCon32.exe'.
This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, please see the application event log

解决方案 »

  1.   

    请问LZ是怎么编译TSTCon和TCProps两个项目的啊,我按msdn上面说的,找到了TSTCon.sln并打开,可是编译的时候却出现下面的情况:
    1>------ Skipped Rebuild All: Project: TCProps ------
    1> 
    2>------ Skipped Rebuild All: Project: TstCon ------
    2> 
    ========== Rebuild All: 0 succeeded, 0 failed, 2 skipped ==========我想知道这个时候与预编译头文件相关啊,时候stdafx.h中有什么配置不对?还有个问题,就是我不能打开这两个项目的属性配置对话框,打开时出现the operation could not be completed这样的错误提示。项目的调试按钮也是灰色的。我想知道lz是怎么解决vs2008中ActiveX Control Test Container的问题的。望指点,谢谢啦~~~~~
      

  2.   

    解决方法:
    编译命令行设置/MANIFESTUAC:NO(User Account Control为NO),或者Project -> Properties -> Linker -> Manifest File -> Enable User Account Control(UAC) = False TstCon解决方案里面的两个项目属性都设置一下,就行了
      

  3.   

    自己也遇到这个问题,但发现诡异的事情是:我必须修改解决方案的配置,把平台从安腾改为WIN32!不明白为什么默认会是安腾的~~能够发现这个问题真是运气好~~