Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: Compiling libexif 0.6.21 PinmvpCPallini18-Jan-13 23:18 
AnswerRe: Compiling libexif 0.6.21 PinmemberGraham Breach17-Jan-13 22:41 
GeneralRe: Compiling libexif 0.6.21 PinmemberSharath C V18-Jan-13 15:49 
QuestionNeed Debugging tips: MFC static library DLL PinmemberClark Kent12317-Jan-13 8:06 
I have a C++ MFC static library dll file. I have a VB.Net program that acts as the GUI and C++ does the grunt work.
 
I have just taken over this program, but never had an opportunity to do any debugging for the C++ part until today. Whenever I place a breakpoint in the cpp file and run the main program (VB) the breakpoint I placed in the cpp will not be hit according to the compiler.
 
I am wondering why that is? In the past I have been able to do so on different programs but I believe that was because the C++ dll was created as a COM dll. I am not familiar with MFC so I am at a loss.
 
By the way I have been searching but could not find any documentation on how to do this. Maybe there is so if you can point me in the right direction I would greatly appreciate that.
 
Can the MFC static library be able to be debuggable from within a VB app? If not, can anyone offer any debugging suggestions as to some how "step" through the C++ code?
 
If you need me to clarify anything or go into more depth I will gladly do so.
 
By the way before I forget the C++ functions are called within VB using the following formula.
Declare Function FunctionName Lib "DLL_Name.DLL" (parameters) As DataType

AnswerRe: Need Debugging tips: MFC static library DLL PinmvpRichard MacCutchan17-Jan-13 23:07 
QuestionRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 3:03 
AnswerRe: Need Debugging tips: MFC static library DLL PinmemberDavid Knechtges18-Jan-13 3:43 
GeneralRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 4:19 
AnswerRe: Need Debugging tips: MFC static library DLL PinmvpRichard MacCutchan18-Jan-13 4:11 
GeneralRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 4:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 1 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid