使用清单文件在Visual Studio 2003中而不是在MS

编程入门 行业动态 更新时间:2024-10-24 04:41:56
本文介绍了使用清单文件在Visual Studio 2003中而不是在MS-Visual Studio 2008中对话框显示ActiveX控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

In Visual Studio 2003, file AppName.manifest is created in RES directory. It is added in Resource(rc) file of project with below entry IDR_MANIFEST RT_MANIFEST "res\\AppName.manifest" In file - AppName.manifest, new entries for Activex control added. Please find entries of active control for it ....//Other Entries <file name="ActControl.OCX" asmv2:size="260880"> <hash xmlns="urn:schemas-microsoft-com:asm.v2"> <dsig:Transforms> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> </dsig:Transforms> <dsig:DigestMethod Algorithm="www.w3/2000/09/xmldsig#sha1" /> <dsig:DigestValue>0rjhW0scVGcNNyPT10aCVqRN44Y=</dsig:DigestValue> </hash> <typelib tlbid="{78a05e9e-1b53-11cf-91f6-385e30c2863c}" version="1.0" helpdir="C:\WINDOWS\HELP\help012.chm" resourceid="0" flags="CONTROL,HASDISKIMAGE" /> <comClass clsid="{6262d3a0-531b-11cf-91f6-c2863c385e30}" threadingModel="Apartment" tlbid="{5e9e78a0-531b-11cf-91f6-c2863c385e30}" progid="MSActControlLib.MSActControl.1" description="Microsoft ActControl Control 6.0 (SP6)" /> </file> ....//Other Entries This work well when application loaded even when control not registered manually in system with VS-2003. After upgrading project from VS-2003 to VS-2008, same dialog is not displayed in which activex control is added. Is there any difference between manifest file of VS-2003 and VS-2008? If any difference is exist please explain. Also suggest what are changes has to be made in manifest.

推荐答案

Plesae使用vs2008(项目设置)创建新的mainfeast文件. 将代码添加到新创建的mainfeastfile中. Plesae create new mainfeast file using vs2008(project settings). Add your code in new created mainfeastfile .

更多推荐

使用清单文件在Visual Studio 2003中而不是在MS

本文发布于:2023-11-09 05:40:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1571521.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:是在   而不   清单   文件   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!