解压缩 vssetupdir \Samples\1033\VC2010Samples.zip ,位于C++\MFC\ole\TstCon\
vs2008中的sample的话,要改TCProps项目的Linker->Manifest File->Enable User Account Contrul(UAC) 为 No
Release后使用VS的Tool->External Tools...添加TstCon.exe
注意x86和x64属性
Powered by: 博客园 Copyright © 2024 mumuliang Powered by .NET 9.0 on Kubernetes