qbproger@gmail.com wrote:[color=blue]
> I'm developing a plugin for some software. The previous version of
> the software didn't require a start in directory to be set. This
> allowed me to leave the working directory to the default in the
> project. Now I have to get my plugin working with the newer version
> of the software. When I start the debugger with it aimed at that
> program and my program installed, the program doesn't run properly
> unless I have the Working Directory set to the same path as the start
> in directory for the shortcut. I guess it uses that for some linking
> or something like that, i'm not really sure.
>
> Anyway, when i change the working directory for the program to work,
> the debugger doesn't link properly so it's nor hitting any of my
> breakpoints. If I don't set the working directory for the program it
> doesn't work properly when i start it in the debugger and i can't load
> my plugin.
>
> Anyone know what files need to be moved or what has to be done for me
> to have the working directory set to the program's director (as needed
> for it to run) and have the debugger link properly so that I can get
> debugging information as needed?[/color]
Typically the solution is to add a post-build step to your plug-in project
that copies the .DLL and .PDB files from your project's output directory to
the "plugins" directory of the host application.
If you don't know about post-build steps, reply back with the version of
visual C++ that you're using and I or someone else can help you get a
post-build step set up.
-cd