Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / October 2004

Tip: Looking for answers? Try searching our database.

why .Net App requires .tlb file?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sachin - 07 Oct 2004 08:48 GMT
Hi Group,

I have a question. I am deploying my VC++ App and it works well with
App_Name.tlb File included. Else it gives me an error saying "Error: Loading
DLL".  I really don't understand why .Net App requires .tlb file?

U folks have any idea?

TIA
Sachin
Phil Wilson - 07 Oct 2004 20:02 GMT
If you're using plain VC++ (not managed) you're not using .NET managed code.
It looks like you're using VC++ in a COM environment and COM will require a
TLB sometimes to marshal parameters between client and server environments.
I'm simplifying COM no end, but the main point I'm making is that if you're
using (say) VC++ with ATL and COM, the only .NET you're using is in the name
of the VS product. C# and VB.NET generate are managed code, that's probably
the .NET you're thinking of.
Signature

Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> Hi Group,
>
[quoted text clipped - 7 lines]
> TIA
> Sachin

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.