mfc - C++ Visual Studio 6 MFC 应用程序

标签 mfc

我有一个旧的应用程序,是否有一种快速的方法可以在不更改太多代码的情况下对应用程序进行整容?
一些MFC模拟器?

最佳答案

1)Create a file <yourapplication><.exe>.manifest

2)Paste the file in the same path as your exe 

3)Paste the following content inside the manifest file

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
    version=""
    processorArchitecture=""
    name=""
    type=""
/>
<description></description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.MSXML2"
            version=""
            processorArchitecture="X86"
            publicKeyToken=""
            language="*"
        />
    </dependentAssembly>
</dependency>
</assembly>

4) Launch the exe.. 

关于mfc - C++ Visual Studio 6 MFC 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13706961/

相关文章:

c++ - 为什么不为 CMFCMenuButton 绘制下拉箭头?

c++ - 我可以使用 CArchive 在 MFC 中序列化 STL 映射吗?

c++ - Qt 中的 Win32 API

c++ - 展开时带箭头的 CTreeCtrl

c++ - 为什么 Visual Studio 显示多线程,即使我的 MFC 应用程序不是多线程的?

c++ - mfc中如何在两个对话框之间传递数据

c++ - CRecordset::snapshot 在 VS2012 中不再起作用——有什么选择?

c++ - 删除 HBITMAP 对象时堆损坏

c++ - 我如何判断 CString 是在堆上还是在堆栈上分配内存?

mfc - 如何在 Release 模式下启用 TRACE 宏?