473,378 Members | 1,446 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

can't convert msoeapi.idl to .tlb

Hello folks,

After 1 evening of trying and reading a lot of (web)pages I have not
succeeded in creating a .tlb file from my msoeapi.idl file. Also I'm a bit
confused because some sources say MIDL.exe makes the type library and some
say TlbImp.exe creates it.

I tried using MIDL but it will only generate 4 new files and none of them is
a .tlb file:

D:\tmp\msoeapi>midl msoeapi.idl /tlb msoeapi.tlb
Microsoft (R) 32b/64b MIDL Compiler Version 6.00.0366
Copyright (c) Microsoft Corporation 1991-2002. All rights reserved.
Processing .\msoeapi.idl
msoeapi.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\ocidl.idl
ocidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\oleidl.idl
oleidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.idl
objidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\unknwn.idl
unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\wtypes.idl
wtypes.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\basetsd.h
basetsd.h
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\guiddef.h
guiddef.h
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\oaidl.idl
oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\servprov.idl
servprov.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\urlmon.idl
urlmon.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\msxml.idl
msxml.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\mimeole.idl
mimeole.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\propidl.idl
propidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\oaidl.acf
oaidl.acf
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\ocidl.acf
ocidl.acf

D:\tmp\msoeapi>dir
Volume in drive D has no label.
Volume Serial Number is 2C13-D630

Directory of D:\tmp\msoeapi

01/11/2007 10:34 PM <DIR .
01/11/2007 10:34 PM <DIR ..
01/11/2007 11:32 PM 809 dlldata.c
01/11/2007 11:32 PM 54,273 msoeapi.h
04/14/2005 05:54 PM 36,458 msoeapi.idl
01/11/2007 11:32 PM 1,937 msoeapi_i.c
01/11/2007 11:32 PM 72,527 msoeapi_p.c
5 File(s) 166,004 bytes
2 Dir(s) 32,107,794,432 bytes free

Does anybody have an idea what's going wrong here?

Thanks for reading sofar,

Vinz.
Jan 11 '07 #1
1 2389
"Vinz" <vc*******@yahoo.comwrote in message news:uz*************@TK2MSFTNGP04.phx.gbl...
Hello folks,

After 1 evening of trying and reading a lot of (web)pages I have not succeeded in creating
a .tlb file from my msoeapi.idl file. Also I'm a bit confused because some sources say
MIDL.exe makes the type library and some say TlbImp.exe creates it.

I tried using MIDL but it will only generate 4 new files and none of them is a .tlb file:

D:\tmp\msoeapi>midl msoeapi.idl /tlb msoeapi.tlb
Microsoft (R) 32b/64b MIDL Compiler Version 6.00.0366
Copyright (c) Microsoft Corporation 1991-2002. All rights reserved.
Processing .\msoeapi.idl
msoeapi.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\ocidl.idl
ocidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\oleidl.idl
oleidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\objidl.idl
objidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\unknwn.idl
unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\wtypes.idl
wtypes.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\basetsd.h
basetsd.h
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\guiddef.h
guiddef.h
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\oaidl.idl
oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\servprov.idl
servprov.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\urlmon.idl
urlmon.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\msxml.idl
msxml.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\mimeole.idl
mimeole.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\propidl.idl
propidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\oaidl.acf
oaidl.acf
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\ocidl.acf
ocidl.acf

D:\tmp\msoeapi>dir
Volume in drive D has no label.
Volume Serial Number is 2C13-D630

Directory of D:\tmp\msoeapi

01/11/2007 10:34 PM <DIR .
01/11/2007 10:34 PM <DIR ..
01/11/2007 11:32 PM 809 dlldata.c
01/11/2007 11:32 PM 54,273 msoeapi.h
04/14/2005 05:54 PM 36,458 msoeapi.idl
01/11/2007 11:32 PM 1,937 msoeapi_i.c
01/11/2007 11:32 PM 72,527 msoeapi_p.c
5 File(s) 166,004 bytes
2 Dir(s) 32,107,794,432 bytes free

Does anybody have an idea what's going wrong here?

Thanks for reading sofar,

Vinz.
This is quite OT for a csharp NG, better post to a COM related NG, that said, you are not
supposed to create a typelib from this idl file, AFAIK it does not contain a "library"
block, that means it's not supporting typelib marshaling.

Willy.

Jan 11 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Lauren Quantrell | last post by:
I have a stored procedure using Convert where the exact same Convert string works in the SELECT portion of the procedure but fails in the WHERE portion. The entire SP is listed below....
1
by: Logan X via .NET 247 | last post by:
It's official....Convert blows. I ran a number of tests converting a double to an integer usingboth Convert & CType. I *ASSUMED* that CType would piggy-back ontop of Convert, and that performance...
10
by: Christopher H. Laco | last post by:
Long story longer. I need to get web user input into a backend system that a) only grocks single byte encoding, b) expectes the data transer to be 1 bytes = 1 character, and c) uses the HP Roman-6...
3
by: Convert TextBox.Text to Int32 Problem | last post by:
Need a little help here. I saw some related posts, so here goes... I have some textboxes which are designed for the user to enter a integer value. In "old school C" we just used the atoi function...
3
by: aaa | last post by:
I have a third party DLL that downloads everything from a device to a particular device into the following Hex format: 080 : 13 70 05 00 (Timestamp) 081 : 35 E1 91 F9 9F BF (Mode 1 Supported...
7
by: patang | last post by:
I want to convert amount to words. Is there any funciton available? Example: $230.30 Two Hundred Thirty Dollars and 30/100
6
by: patang | last post by:
Could someone please tell me where am I supposed to put this code. Actually my project has two forms. I created a new module and have put the following code sent by someone. All the function...
5
by: Bob Homes | last post by:
In VB6, foreground and background colors of controls had to be assigned a single number. If you knew the RGB values for the color, you still had to convert them into the single number accepatable...
11
by: jyck91 | last post by:
// Base Conversion // Aim: This program is to convert an inputted number // from base M into base N. Display the converted // number in base N. #include <stdio.h> #include <stdlib.h>...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.