473,405 Members | 2,154 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,405 software developers and data experts.

Component sharing between 2 applications

Hi !

I'm using a 3rd party component (xxxx.dll) from 2 of my apps.
(I added the reference manually to the .dll within the 2 app)

Question :
I want to distribute my 2 apps, and these 2 app will not be in the same
directory.

Where should the xxxx.dll be placed to be shared ?
(i don't want to copy the xxxx.dll in each of the apps directory).
Nov 16 '05 #1
5 1108
you can put the *.dll into any directory, and specify reference to it from
any project.
if you dont want your projects to copy dll into their "debug/release"
folders,
set the "Copy Local" property of referenced resource to false...

--
Scherbina Vladimir,
Ukraine, Kiev.

"cybertof" <cy****************@gmx.net> wrote in message
news:MP************************@msnews.microsoft.c om...
Hi !

I'm using a 3rd party component (xxxx.dll) from 2 of my apps.
(I added the reference manually to the .dll within the 2 app)

Question :
I want to distribute my 2 apps, and these 2 app will not be in the same
directory.

Where should the xxxx.dll be placed to be shared ?
(i don't want to copy the xxxx.dll in each of the apps directory).

Nov 16 '05 #2
What do you mean with 'reference to it from any project' ?

I was not speaking about the project files, but the .exe.

When i put the app.exe to a new pc, where should i put all the shared
..dll ? Not in each app directory I hope ?

In article <e1**************@TK2MSFTNGP11.phx.gbl>, vl******@pds-s.local
says...
you can put the *.dll into any directory, and specify reference to it from
any project.
if you dont want your projects to copy dll into their "debug/release"
folders,
set the "Copy Local" property of referenced resource to false...

--
Scherbina Vladimir,
Ukraine, Kiev.

Nov 16 '05 #3
hi.
if the dll is managed, you can register it in the GAC.
if the dll is not managed code (com), the you can register it using
regsvr32.exe.

"cybertof" <cy****************@gmx.net> wrote in message
news:MP************************@msnews.microsoft.c om...
Hi !

I'm using a 3rd party component (xxxx.dll) from 2 of my apps.
(I added the reference manually to the .dll within the 2 app)

Question :
I want to distribute my 2 apps, and these 2 app will not be in the same
directory.

Where should the xxxx.dll be placed to be shared ?
(i don't want to copy the xxxx.dll in each of the apps directory).

Nov 16 '05 #4
Hi Sharon,

When registering with the GAC, where should the physical file xxxx.dll
be stored ?

In article <#B**************@TK2MSFTNGP11.phx.gbl>,
ta*******@hotmail.com says...
hi.
if the dll is managed, you can register it in the GAC.
if the dll is not managed code (com), the you can register it using
regsvr32.exe.

"cybertof" <cy****************@gmx.net> wrote in message
news:MP************************@msnews.microsoft.c om...
Hi !

I'm using a 3rd party component (xxxx.dll) from 2 of my apps.
(I added the reference manually to the .dll within the 2 app)

Question :
I want to distribute my 2 apps, and these 2 app will not be in the same
directory.

Where should the xxxx.dll be placed to be shared ?
(i don't want to copy the xxxx.dll in each of the apps directory).


Nov 16 '05 #5
it does not matter.
when registering a dll in the gac, the dll is copied to a special folder.
i don't remember exactly where, but it's controlled by the gac.
"cybertof" <cy****************@gmx.net> wrote in message
news:MP************************@msnews.microsoft.c om...
Hi Sharon,

When registering with the GAC, where should the physical file xxxx.dll
be stored ?

In article <#B**************@TK2MSFTNGP11.phx.gbl>,
ta*******@hotmail.com says...
hi.
if the dll is managed, you can register it in the GAC.
if the dll is not managed code (com), the you can register it using
regsvr32.exe.

"cybertof" <cy****************@gmx.net> wrote in message
news:MP************************@msnews.microsoft.c om...
Hi !

I'm using a 3rd party component (xxxx.dll) from 2 of my apps.
(I added the reference manually to the .dll within the 2 app)

Question :
I want to distribute my 2 apps, and these 2 app will not be in the same directory.

Where should the xxxx.dll be placed to be shared ?
(i don't want to copy the xxxx.dll in each of the apps directory).


Nov 16 '05 #6

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

Similar topics

1
by: Wolfgang Draxinger | last post by:
Component systems with C++ are quite some challenge. Microsoft tried it with COM and it was not the big hit, there is CORBA, which isn't focused on C++ but only supports a limited set of value...
6
by: varlagas | last post by:
We disabled the antivirus software but the problem persists. Any clues? Many thanks in advance! Panagiotis Varlagas ======================================================================= ...
1
by: John Baker | last post by:
Hi: I have an application that is getting pretty bloated, and I want to develop new, infrequently used, sections of it ( specifically special report generation) as a separate file from the...
5
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to...
3
by: Shikari Shambu | last post by:
Hi All, I have a situation where multiple applications are sharing some pages/ controls. So, I have a separate common project that has the common pages/ controls. My question is how do I...
4
by: qube3 | last post by:
We have applications written by JSP/Servlet and ASP.NET. All our future development would be based on ASP.NET. We wants to develop a single user interface so that users would not be aware that...
122
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection...
9
by: Peri | last post by:
Dear All, Is there a way in which 2 application can share a common memory location to access static data? Say for example I have a product master data that is available in a single place, and...
0
by: bharathreddy | last post by:
In .Net COM+ components are referred to as serviced components, Namespace: System.EnterpriseServices; Advantage of Serviced Components: object pooling, database connection pooling,
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
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,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.