dbTalk Databases Forums  

Visual Studio unable to locate mysqlpp.dll

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Visual Studio unable to locate mysqlpp.dll in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gary Anderson
 
Posts: n/a

Default Visual Studio unable to locate mysqlpp.dll - 11-13-2006 , 10:56 AM






--------------070406010200080202000602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

When I try to start an application in debug mode with Visual Studio
2005, I get an error "This application has failed to start because
mysqlpp.dll was not found. Re-installing the application may fix this
problem." I can get around it by setting the working directory to the
directory where mysqlpp.dll exists, but I don't really like this as a
long-term solution. Does anyone have an alternate fix?


--------------070406010200080202000602
Content-Type: text/plain; charset=us-ascii


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw
--------------070406010200080202000602--

Reply With Quote
  #2  
Old   
Matt Dargavel
 
Posts: n/a

Default RE: Visual Studio unable to locate mysqlpp.dll - 11-13-2006 , 11:10 AM






The way I do it is by setting the PATH environment variable up in the
project settings: Configuration Properties->Debugging->Environment and
setting it to something like PATH=%PATH%;C:\my_mysqlpp_directory

You could also set up the PATH permanently, but I prefer to specify the path
to use in each project so I know which version of the dll is being used.


Quote:
-----Original Message-----
From: Gary Anderson [mailto:ganderson (AT) bslw (DOT) com]
Sent: 13 November 2006 17:00
To: MySQL List
Subject: Visual Studio unable to locate mysqlpp.dll

When I try to start an application in debug mode with Visual Studio
2005, I get an error "This application has failed to start because
mysqlpp.dll was not found. Re-installing the application may fix this
problem." I can get around it by setting the working directory to the
directory where mysqlpp.dll exists, but I don't really like this as a
long-term solution. Does anyone have an alternate fix?


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
Warren Young
 
Posts: n/a

Default Re: Visual Studio unable to locate mysqlpp.dll - 11-13-2006 , 05:33 PM



Gary Anderson wrote:
Quote:
I can get around it by setting the working directory to the
directory where mysqlpp.dll exists, but I don't really like this as a
long-term solution. Does anyone have an alternate fix?
Put the DLL in the same directory as the executable. (The "Debug" or
"Release" subdirectory of the project directory, if you haven't modified
the project's default configuration.) Windows looks in the EXE's folder
first for DLLs, before checking the PATH.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.