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

Howto specify a different location for dll's ?

Hello,

I have an application that uses several dll's. Is it possible to build the
application in such a way that it searches for these dll's in a different
location, i.e. a separate 'bin' folder in the executable's path?

Thanks
Dec 25 '06 #1
4 1799
It's possible with probing paths defined in the configuration file, but this
kind of question has popped up before and usually is symptomatic of a bigger
issue.
Why do you feel you need to do this?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Marcel Brekelmans" wrote:
Hello,

I have an application that uses several dll's. Is it possible to build the
application in such a way that it searches for these dll's in a different
location, i.e. a separate 'bin' folder in the executable's path?

Thanks
Dec 25 '06 #2
Hi Peter,

It's not really an important issue. I'm making a tool for developers and
operational people in my organization (to monitor queues, eventlogs, log-,
xml- and configurationfiles on machines in different domains). I would like
them to feel comfortable taking the tool with them, on a USB stick for
example. One of the things I see happening is that people tend to miss a dll
when copying and another point is that they feel less comfortable with the
tool when there are more files then just an .exe and .config. So, it's more
of a psychological aspect that I would like to organize dll's and other
support files in separate folders. :)

Greetz,
Marcel
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comschreef in
bericht news:CF**********************************@microsof t.com...
It's possible with probing paths defined in the configuration file, but
this
kind of question has popped up before and usually is symptomatic of a
bigger
issue.
Why do you feel you need to do this?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Marcel Brekelmans" wrote:
>Hello,

I have an application that uses several dll's. Is it possible to build
the
application in such a way that it searches for these dll's in a different
location, i.e. a separate 'bin' folder in the executable's path?

Thanks

Dec 26 '06 #3
Take a Look at ILMerge. It's a utility that will combine executables and dll
assemblies into a single EXE.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Marcel Brekelmans" wrote:
Hi Peter,

It's not really an important issue. I'm making a tool for developers and
operational people in my organization (to monitor queues, eventlogs, log-,
xml- and configurationfiles on machines in different domains). I would like
them to feel comfortable taking the tool with them, on a USB stick for
example. One of the things I see happening is that people tend to miss a dll
when copying and another point is that they feel less comfortable with the
tool when there are more files then just an .exe and .config. So, it's more
of a psychological aspect that I would like to organize dll's and other
support files in separate folders. :)

Greetz,
Marcel
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comschreef in
bericht news:CF**********************************@microsof t.com...
It's possible with probing paths defined in the configuration file, but
this
kind of question has popped up before and usually is symptomatic of a
bigger
issue.
Why do you feel you need to do this?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Marcel Brekelmans" wrote:
Hello,

I have an application that uses several dll's. Is it possible to build
the
application in such a way that it searches for these dll's in a different
location, i.e. a separate 'bin' folder in the executable's path?

Thanks


Dec 26 '06 #4
Ok, thanks!
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comschreef in
bericht news:00**********************************@microsof t.com...
Take a Look at ILMerge. It's a utility that will combine executables and
dll
assemblies into a single EXE.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Marcel Brekelmans" wrote:
>Hi Peter,

It's not really an important issue. I'm making a tool for developers and
operational people in my organization (to monitor queues, eventlogs,
log-,
xml- and configurationfiles on machines in different domains). I would
like
them to feel comfortable taking the tool with them, on a USB stick for
example. One of the things I see happening is that people tend to miss a
dll
when copying and another point is that they feel less comfortable with
the
tool when there are more files then just an .exe and .config. So, it's
more
of a psychological aspect that I would like to organize dll's and other
support files in separate folders. :)

Greetz,
Marcel
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comschreef in
bericht news:CF**********************************@microsof t.com...
It's possible with probing paths defined in the configuration file, but
this
kind of question has popped up before and usually is symptomatic of a
bigger
issue.
Why do you feel you need to do this?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Marcel Brekelmans" wrote:

Hello,

I have an application that uses several dll's. Is it possible to build
the
application in such a way that it searches for these dll's in a
different
location, i.e. a separate 'bin' folder in the executable's path?

Thanks



Dec 26 '06 #5

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

Similar topics

4
by: Alexander Eisenhuth | last post by:
Hi alltogether, I use ActivePython 2.4.1 , also the debug part from http://ftp.activestate.com/ActivePython/etc/ and VC 6.0 unter Windows XP. I can't figure out howto debug my c++ extension....
16
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
0
by: Eric Twietmeyer | last post by:
Hello, Am I mistaken in thinking that if I have a mc++ dll that I should be able to link against it (so long as it has exported symbols via declspec(dllexport)) in an unmanaged application? I...
8
by: Topper | last post by:
Hello. I have simple web folders structure: -ROOT - BIN WebService.dll WebService.asmx I need to use my WebService.dll not in bin folder - for example, in ROOT. How do i this? How can i do...
1
by: Joseph Geretz | last post by:
I need to download a greater than 4 megabyte attachment via WSE / DIME. The only way I know how to configure this is via a .config file. Normally, the ..config file is the same name as the base...
7
by: patrik.kahari | last post by:
Is there a c++ function similar to getcwd that does not give you the working directory but the directory or path of the currently running executable? I need this because im porting a game that...
1
by: JavaXMLDev | last post by:
Hi I'm new to XML schema work, but wondered how, if at all possible, can you specify a relationship between the values of an element's attributes. Essentially I want context sensitive...
0
by: coopdog | last post by:
This is a new issue as of an install to sp1 on vb express 2005. When I publish the application to my drive then I try to install it is wants to be installed from the same location as it was...
9
by: =?Utf-8?B?VGhvbWFzIFcuIEJyb3du?= | last post by:
"parez" wrote: Assembly.LoadWithPartialName does indeed work!! Now, why is this incredibly useful routine deprecated and we are instructed to use Assembly.Load instead which does not provide...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.