Problem about debuging
-
I have a solution using a DCom component,but the component was written in VC,I also insert the source project to the solution.Someone would like to tell me how should I do to debug such program step by step? Thanks
You didn't mention adding the project dependencies (right click main project/Add reference/ Choose VC project). You should now be able to step into unmanaged code. However, there are lots of strange behaviours (like functions which completly ignore return statements and so on) when debugging managed and unmanaged code in the same time.
-
You didn't mention adding the project dependencies (right click main project/Add reference/ Choose VC project). You should now be able to step into unmanaged code. However, there are lots of strange behaviours (like functions which completly ignore return statements and so on) when debugging managed and unmanaged code in the same time.
-
You didn't mention adding the project dependencies (right click main project/Add reference/ Choose VC project). You should now be able to step into unmanaged code. However, there are lots of strange behaviours (like functions which completly ignore return statements and so on) when debugging managed and unmanaged code in the same time.
Sorry,I had follow your guide,but (right click main project/Add reference/ Choose VC project) have no such chioce,there is only a list of all the current projects of the solution. And it forbid me to add the VC project. I have to insert the VC project to the solution,compile and run it.but when the COM objects's functions were called,it step over but no step in.