Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Debugging MFC application |
Post Reply |
Author | |
QED Solutions
Beginner Joined: 16 Apr 14 Location: United States Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 16 Apr 14 at 9:40PM |
I've got an MFC application that is mostly working. However, I am unable to use the debugger.
Win7 Vs2010 Debenu 10.14 Here's essentially what I am doing: DebenuPDFLibraryDLL1014 qPdf(target); qPdf.UnlockKey("My Key"); if (qPdf.Unlocked()) { //do something } else { //do something else } I can step through the object initialization and all seems to go well. When I try to step over the if statement instead of going to the next statement execution resumes and neither side of the if statement is stepped into. Any thoughts would be greatly appreciated. |
|
erico
Senior Member Joined: 24 Sep 14 Location: Minnesota USA Status: Offline Points: 51 |
Post Options
Thanks(0)
|
Just came across this. Not sure what the issue is, but doing this will probably allow you to debug:
bool bresult; ... bResult = qPdf.Unlocked(); if (bResult) { // do it true } else { // do otherwise } |
|
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
|
QED, You won't be able to debug the Debenu Library directly in the VS 2010 DLL version. You will be able to step into some of the wrapper functions and see the return values from the Debenu functions. Make sure your project is set to Debug and not Release mode in your project settings. Are you using C# or C++ ? It sounds like a project setting or options problem. I am able to debug both C++ and C# without too many issues. Andrew. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store