Author Topic: host application should be set fullpathed?  (Read 3195 times)

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 109
host application should be set fullpathed?
« on: March 05, 2011, 07:46:54 am »
I debug a dll , use a host application set in Project-> set programs arguments-> host application . I use the button to choose the exe , but I found that I cannot be launched correctly . I change the path to full path , it works .
so use the button only to get relative path , and doesnot work correctly (in Win7) .

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: host application should be set fullpathed?
« Reply #1 on: March 05, 2011, 08:01:42 am »
I always debug codecompletion plugin by setting the host exe program to codeblocks.exe (in relative path, such as:
output\codeblocks.exe )
it works fine.
I'm using Windows XP :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.