473,385 Members | 1,844 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,385 software developers and data experts.

Cannot generate TLB file from IDL file to build interop assembly.

Hello world,

I want to make a *.tlb file from a *.idl file so that I can generate
an interop assembly, but I failing. I have the exact same problem as
laid out by the thread:

http://groups.google.com/groups?hl=e...4d9f6e&rnum=24

I want to generate a *.tlb file from a *.idl file, but no *.tlb file
is generated (only corresponding *.c and *.h files). In fact, I'm
using the same *.idl file as discussed in this thread:
downloadmgr.idl.

The comment by the MVP in the thread, where he says he's able to make
the *.tlb file has made this all the more frustrating for me.

Does anyone out there have any experience with this situation? Did
this situation get solved?

It's really quite a frustrating situation; thanks in advance,

Ben
Nov 15 '05 #1
1 6217
If you have VC installed with VS, then use the .NET command prompt from the
Tools menu in your windows Start menu. This should open a command window
that has the proper paths set so midl can find the dlls it needs, and the C
linker.
Otherwise, you can just copy those files to the same directory as midl and
run from there.

-Rob Teixeira [MVP]

"Ben Rush" <kw*****@yahoo.com> wrote in message
news:d6**************************@posting.google.c om...
Hello world,

I want to make a *.tlb file from a *.idl file so that I can generate
an interop assembly, but I failing. I have the exact same problem as
laid out by the thread:

http://groups.google.com/groups?hl=e...4d9f6e&rnum=24
I want to generate a *.tlb file from a *.idl file, but no *.tlb file
is generated (only corresponding *.c and *.h files). In fact, I'm
using the same *.idl file as discussed in this thread:
downloadmgr.idl.

The comment by the MVP in the thread, where he says he's able to make
the *.tlb file has made this all the more frustrating for me.

Does anyone out there have any experience with this situation? Did
this situation get solved?

It's really quite a frustrating situation; thanks in advance,

Ben

Nov 15 '05 #2

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

Similar topics

0
by: Oleg Ogurok | last post by:
Hi all, I have a C# class library project that needs to be registered for COM interoperability. I set the "Register for COM Interop" to true in the project's properties. When compiled, VS.NET...
4
by: WM Chung | last post by:
Hi all, I meet a problem in building my .Net Solution and I would like to seek help. After I have added a dll to reference in one of my project in my solution, when I re-build the solution, I...
2
by: PeterW | last post by:
I have an xml file from which I want to generate an xsd schema and at a later stage a cs class. The xml file has a mix of defined namespaces and also an empty namespace. These are defined as...
6
by: Dave H | last post by:
You'll have to excuse me if I don't know what I'm talking about, but I'm new to webservices. I'm attempting to compile a C# file with csc /r:dmcorex.dll...
2
by: Ollie Riches | last post by:
I am trying to execute a DTS via COM according to the KB article http://support.microsoft.com/?kbid=321525 but I am getting the exception "File or assembly name Interop.DTS, or one of its...
4
by: james margey | last post by:
Hi to all, I have spent 3 days at this error and i have two days to go for a deadline, and i am about to go off my nut, the reason being: Microsoft dont seem to be able to provide a solution, I...
0
by: mart_nl | last post by:
Hi, I'm using Visual Studio 2005 (VB.Net) and want to program towards Outlook 2003. I've installed Office 2003 Professional edition including Outlook and installed Outlook Primary Interop...
0
by: Kaysetoaster | last post by:
Hi Gurus I wrote a "Active X" UserControl DLL in VB.NET and placed it on a iis 6 webserver. I embeded it with the object tag and the communication to functions and propertys in the vb.net...
1
by: blondsecret | last post by:
Hello everyone, after installing a Strokes 'easylearning' CD-Rom, following dialogue is shown to me: Microsoft .NET Framework An unhandled exception has occurred in a component in your...
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: 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
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.