Wrox Programmer Forums
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 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 February 28th, 2007, 12:14 PM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default DLL component

hi expert

i create a component that my applicatioe use it for particular task,

when i add refrence to moy component,.Net create a DLL file and insert it to my execute file,

i want to know that can i insert my DLL Compoinent to my favorite folder or i have to insert it side the execute file?

thank's for your help

kiani,mehdi
 
Old February 28th, 2007, 01:00 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The dll is not inserted into the "execute file".
However, it does need to be in a location where the exe file of your app can find it.
That means it has to be in one of 3 places:
1 - In the root folder of your application tree (the folder that contains the exe)
2 - In some child folder of that root folder (this can require some config info in some cases).
3 - In any folder as long as the dll is registered in the GAC.

There may be other ways to deal with this... but I don't know of them.

Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
 
Old March 1st, 2007, 12:52 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi

thank's for your help

please tell me more about item 3 (GAC)

thank's alot

best regard's





Similar Threads
Thread Thread Starter Forum Replies Last Post
convert unmanaged dll to managed dll nitesh kumar Visual C++ 2005 0 August 4th, 2008 04:53 AM
Install problems - VS 6.0 on XP SCRRUN.DLL PDM.DLL jeff4444 Visual C++ 0 December 6th, 2006 08:48 PM
The database dll crdb_oracle.dll could not be load Yeliz Crystal Reports 0 October 18th, 2006 08:12 AM
Problem accessing a .dll component in asp.net page ng4123 ASP.NET 1.0 and 1.1 Basics 5 May 10th, 2006 07:31 AM
DLL & Excel - keep having to reset DLL reference! James Diamond Pro VB 6 2 May 25th, 2004 03:37 AM





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