MIDL不会创建.TLB文件 [英] MIDL doesn't create a .TLB file

查看:159
本文介绍了MIDL不会创建.TLB文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用MIDL.exe时遇到问题.

我正在尝试使用MIDL.exe编译ActivScp.idl .....但是,当编译完成时,我找不到ActivScp.tlb

这是我正在使用的命令行:

I am having a problem with MIDL.exe.

I am trying to compile ActivScp.idl with MIDL.exe.....however, when the compilation completes, I cannot find my ActivScp.tlb anywhere on my PC.

Here is the command line I am using:

C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Bin> midl"C:\ ActivScp.idl" /tlb"C:
\ ActivScpInterop.tlb" /I"C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include"
Microsoft(R)32b/64b MIDL编译器版本7.00.0499
版权所有(c)Microsoft Corporation 1991-2006.保留所有权利.
处理C:\ ActivScp.idl
ActivScp.idl <处理> C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ ocidl.idl
ocidl.idl
处理C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ oleidl.idl
处理C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ objidl.idl
objidl.idl
处理C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ unknwn.idl
unknwn.idl
处理C:\ Program Files \ Microsoft SDK \ Windows \ v6.0 \ Include \ wtypes.idl
wtypes.idl
正在处理C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ basetsd.h
basetsd.h
处理C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ guiddef.h
处理C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ oaidl.idl
oaidl.idl
处理C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ servprov.idl
servprov.idl
处理C:\ Program Files \ Microsoft SDK \ Windows \ v6.0 \ Include \ urlmon.idl
urlmon.idl
处理C:\程序文件\ Microsoft SDKs \ Windows \ v6.0 \ Include \ msxml.idl
msxml.idl
处理C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ oaidl.acf
oaidl.acf
处理C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0 \ Include \ ocidl.acf
ocidl.acf
C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin>midl "C:\ActivScp.idl" /tlb "C:
\ActivScpInterop.tlb" /I "C:\Program Files\Microsoft SDKs\Windows\v6.0\Include"
Microsoft (R) 32b/64b MIDL Compiler Version 7.00.0499
Copyright (c) Microsoft Corporation 1991-2006. All rights reserved.
Processing C:\ActivScp.idl
ActivScp.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\ocidl.idl
ocidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\oleidl.idl
oleidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\objidl.idl
objidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\unknwn.idl
unknwn.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\wtypes.idl
wtypes.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\basetsd.h
basetsd.h
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\guiddef.h
guiddef.h
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\oaidl.idl
oaidl.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\servprov.idl
servprov.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\urlmon.idl
urlmon.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\msxml.idl
msxml.idl
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\oaidl.acf
oaidl.acf
Processing C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\ocidl.acf
ocidl.acf

推荐答案

我有完全相同的问题.


这篇关于MIDL不会创建.TLB文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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