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

Using third party dll in VS 2005

Hi

I'm fairly new to VS2005 IDE and have come up with a problem I haven't
been able to solve yet. I created a dll that depends on a third party
dll. When I try to run my dll without the TP dll being the same
directory I get a "This application has failed to start because TP.dll
was not found. Re-installing the application may fix this problem"
error. How do I set up my IDE so when I run my dll it can find the TP
dll in the proper directory?
TIA

Steffen

Jan 4 '07 #1
1 1225
In .Net (Not only VS 2005) all referenced dll's are automatically coppied to
the run directory of the starting application. They did this to overcome the
Pre-.Net "dll hell".

So now you no longer have to Reg32 your dlls they just have to be in the
same folder.

However, if this TP dll you are trying to use is a non-.Net assembly, you
could set a COM reference to it or even just brows to it. For COM dll's VS
generates a proxy in your run folder which executes the actual COM dll. If
you are not setting reference to it and using reflection, there are a couplle
of overrides that would allow you to enter the path to the dll you want to
run.

How are youo actually referencing this 3rd party dll?

David

"sajohn" wrote:
Hi

I'm fairly new to VS2005 IDE and have come up with a problem I haven't
been able to solve yet. I created a dll that depends on a third party
dll. When I try to run my dll without the TP dll being the same
directory I get a "This application has failed to start because TP.dll
was not found. Re-installing the application may fix this problem"
error. How do I set up my IDE so when I run my dll it can find the TP
dll in the proper directory?
TIA

Steffen

Jan 5 '07 #2

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

Similar topics

8
by: wenmang | last post by:
Hi, We have the 3rd party libraries written in C. And, in every header file from 3rd party, it has the include guarde: #ifdef __cplusplus #define extern "C" { : APIs... : } #endif
0
by: David | last post by:
First, a question. Is there a way to keep VS.NET from red lining elements from third party controls with an error message that says 'the active schema does not support the element ****'? ...
4
by: Ali | last post by:
i am using visual studio 2005 and I am trying to create a popup calender so when a user click on a image on the main form, a calender will then popup, the user will select a date and the date will...
8
by: John Brock | last post by:
I am currently using a VB.NET program to send out e-mails with plain text bodies (plus one attachment). The emails are being received as Rich Text messages (probably just my personal Outlook...
1
by: Lee Greco | last post by:
I'm looking for some advice on how to proceed. Here's the scenario: I've got to develop a high availability VB.Net web service that basically acts as a middle man between the web service...
3
by: erajaysharma | last post by:
This issue is in Vista. I used XML files(one for DLLs, other for EXEs) ane embeded them in my EXEs and all DLLs ....actually i want to spawn a third party setup from found new hardware...but an...
5
by: rohitchawla | last post by:
How is it possible to read the third party cookies if u have a valid p3p policy set in place I have a server side application that sets the third party cookie and whenever the client visit any...
2
by: newtodotnet | last post by:
Hi, How to Export Gridview to pdf in asp.net I searched in many forums. but many of them said to use third party tools. I don't want any third party tools. Suggest me any sample for without...
3
by: =?Utf-8?B?VG9tIFc=?= | last post by:
When I mouse over a Menu Control based navigation area the drop-down selection list appears instantaneously. Is there a way to make it less sensitive, so that it delays (even a fraction of a second...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.