Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 5th, 2004, 09:34 AM
Authorized User
Join Date: Sep 2003
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to flyin

I see, I see. So i guess registering a dll in the GAC wouldn't be accessable no matter what huh? alright, i guess then that com object will have to do. I'm assuming that creating a com dll from a project would be the way to encapsulate some class functionality according to your response. well, thanks once more. I can't seem to find the option to export project to COM, can you give me the path? thanks


Old April 6th, 2004, 03:57 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

No, putting a .net dll into the GAC won't help in the COM world. COM can't see the GAC, the GAC is a .net runtime thing.

From a performance standpoint, I'd recommend building a good .net library and then registering it for COM interop. In the project properties, go to "Configuration Properties -> Build". In there is the checkbox for "Register for COM Interop".

Note that you'll be fine when you are running this on the machine you built it on. But when you deploy it, you'll need to use the .net registration tool to register this assembly for COM: C:\WINNT\Microsoft.NET\Framework\v1.1.4322\RegAsm. exe

Work smarter, not harder.

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Can I Get the Name of the Current User? BrianWren Pro VB 6 0 March 27th, 2007 11:42 AM
Store info into a MySQL DB table KoRn PHP How-To 1 February 17th, 2004 03:00 PM
current user schockp Oracle 2 November 12th, 2003 06:18 AM
How do I store user login info to use in a form? lanctotd Classic ASP Basics 1 July 15th, 2003 08:06 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.