Heat.exe无法从64位COM DLL中收集TypeLib信息 [英] Heat.exe Cannot Harvest TypeLib Info from a 64-bit COM DLL

查看:101
本文介绍了Heat.exe无法从64位COM DLL中收集TypeLib信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个仅64位的COM DLL,我想使用heat.exe从中获取typelib信息.但是,当我尝试执行此操作时,出现错误193(可执行文件格式错误). heat.exe仅是32位,并且不能与64位可执行文件一起使用吗?我在计算机上只发现heat.exe的一个版本.

I have a 64-bit-only COM DLL that I want to harvest typelib info from, using heat.exe. But when I attempt to do that, I get the error 193 (bad executable format). Is heat.exe 32-bit only, and cannot work with 64-bit executables? I found only one version of heat.exe on my machine.

谢谢.

推荐答案

不幸的是,heat.exe确实是32位的,因此只能收获32位的COM注册:

Unfortunately heat.exe is indeed 32-bit and can therefore only harvest 32-bit COM registrations: http://wixtoolset.org/issues/1661/

但是这里讨论了64位heat.exe扩展: http://sourceforge .net/p/wix/mailman/message/30541133/并在此处找到代码:

However 64-bit heat.exe extensions are discussed here: http://sourceforge.net/p/wix/mailman/message/30541133/ and code can be found here: https://wix.codeplex.com/SourceControl/network/forks/roberthyang/NewHeatExtension/latest

这篇关于Heat.exe无法从64位COM DLL中收集TypeLib信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆