Question: I am getting the following **Warning** when i run my Windows Application(MFC) in Windows 7.

`'XXX.exe': Loaded 'C:\2010\Debug\bin\plugins\control\libhotkeys_plugin.dll', Binary was not built with debug information.`

Please Help Me out.Thank You

Answer: 
It seems that your binary was build in Release mode

Now there are two ways which you can follow....

* build the binary with "Debug" configuration
* change the project settings so that a Program Database file (PDB) is generated in the release mode.

Now you can generate PDB from the property window...

![enter image description here](https://i.stack.imgur.com/Al6Oi.png)
![enter image description here](https://i.stack.imgur.com/lOdL1.png)
Another possible way you can see this error is if you're attempting to debug native code (C++) from managed code (C#) and the manage code's csproj is set to **Native Only** debugging. To fix it:

1. Right click your csproj in VS and choose **Properties**
2. On the **Debug** tab, set the **Debugger type - Application process:** to *Mixed (Managed and Native)*