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.
> -----Original Message-----
> From: Gary Anderson [mailto:ganderson@stripped]
> 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?