visual studio 2010 unable to start program .dll

前端 未结 2 882
囚心锁ツ
囚心锁ツ 2021-02-12 20:06

I have a problem for my visual studio 2010. When I click start debugging button and it\'s start debugging.

It seems that there is no error \"i just create one \"button\

2条回答
  •  被撕碎了的回忆
    2021-02-12 21:04

    In earlier versions of MSVC while running .dll, will get a dialog asking path for .exe file

    But in MSVC 2010 and above there is no such option. To fix this

    1. Right click on your dll project
    2. Properties
    3. Configuration Properties > Debugging. Here, in Command -> add path to your exe.

    Add command arguments, if any.

    You are good to go!

提交回复
热议问题