473,800 Members | 2,406 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\PlatformSD K\include\ocidl .idl
ocidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\oleid l.idl
oleidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\objid l.idl
objidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\unknw n.idl
unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\wtype s.idl
wtypes.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\baset sd.h
basetsd.h
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\guidd ef.h
guiddef.h
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\oaidl .idl
oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\servp rov.idl
servprov.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\urlmo n.idl
urlmon.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\msxml .idl
msxml.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\mimeo le.idl
mimeole.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\propi dl.idl
propidl.idl
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\include\oaidl .acf
oaidl.acf
Processing C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSD K\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 2434
"Vinz" <vc*******@yaho o.comwrote in message news:uz******** *****@TK2MSFTNG P04.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\PlatformSD K\include\ocidl .idl
ocidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\oleid l.idl
oleidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\objid l.idl
objidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\unknw n.idl
unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\wtype s.idl
wtypes.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\baset sd.h
basetsd.h
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\guidd ef.h
guiddef.h
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\oaidl .idl
oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\servp rov.idl
servprov.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\urlmo n.idl
urlmon.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\msxml .idl
msxml.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\mimeo le.idl
mimeole.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\propi dl.idl
propidl.idl
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\include\oaidl .acf
oaidl.acf
Processing C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSD K\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
7291
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. Specifically, I have a problem with this portion in the WHERE clause: DATEADD(Day,tblMyEventTableName.ReminderDays, @DateNow) Between CONVERT(smalldatetime,str(DATEPART(Month, @DateNow)+1) + '/' + str(DATEPART(Day, tblMyEventTableName.TaskDateTime)) + '/'...
1
1787
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 would be identical. I was 100% incorrect. The code below produces the results: CType Took: 0.2187528 seconds. Convert Took: 12.187656 seconds.
10
687
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 codepage system wide. As much as it sounds good, UTF/Unicode encoding is not an option, nor is changing the codepage. Tackling the first is easy via Encoding.Default.GetBytes and shoving it over the network. However, Encoding.Default is the...
3
10296
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 and there you have it. So I enquired and found the Convert class with it's promising ToInt32 method, great... but it doesn't work. The thing keeps throwing Format Exceptions all over the place. What is the "C#" way to do this??? code int wmin,...
3
7610
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 Parameters) How would I go about translating this into readable values?
7
29248
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
1407
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 declaration statments (first lines) e.g. Public Function ConvertCurrencyToEnglish(ByVal MyNumber As Double) As String Private Function ConvertHundreds(ByVal MyNumber As String) As String etc.
5
8654
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 to the VB6 controls. In VB.NET, you can't set colors that way anymore, now you have to use a "color". There is a way to convert RGB values to a "color", using the Color.FromARGB method. But there doens't seem to be a way to convert the old...
11
2711
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> #include <string.h> #define LENGTH 20 int temp, m, n, i, r, base10, true;
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10275
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.