Click here to Skip to main content
       

C / C++ / MFC

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
AnswerRe: Compiling libexif 0.6.21memberGraham Breach17 Jan '13 - 22:41 
GeneralRe: Compiling libexif 0.6.21memberSharath C V18 Jan '13 - 15:49 
QuestionNeed Debugging tips: MFC static library DLLmemberClark 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 DLLmvpRichard MacCutchan17 Jan '13 - 23:07 
QuestionRe: Need Debugging tips: MFC static library DLLmemberClark Kent12318 Jan '13 - 3:03 
AnswerRe: Need Debugging tips: MFC static library DLLmemberDavid Knechtges18 Jan '13 - 3:43 
GeneralRe: Need Debugging tips: MFC static library DLLmemberClark Kent12318 Jan '13 - 4:19 
AnswerRe: Need Debugging tips: MFC static library DLLmvpRichard MacCutchan18 Jan '13 - 4:11 
GeneralRe: Need Debugging tips: MFC static library DLLmemberClark Kent12318 Jan '13 - 4:18 
GeneralRe: Need Debugging tips: MFC static library DLLmvpRichard MacCutchan18 Jan '13 - 4:23 

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


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 24 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid