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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Debugging MFC application
  FAQ FAQ  Forum Search   Register Register  Login Login

Debugging MFC application

 Post Reply Post Reply
Author
Message
QED Solutions View Drop Down
Beginner
Beginner


Joined: 16 Apr 14
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote QED Solutions Quote  Post ReplyReply Direct Link To This Post Topic: Debugging MFC application
    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.

Back to Top
erico View Drop Down
Senior Member
Senior Member
Avatar

Joined: 24 Sep 14
Location: Minnesota USA
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote erico Quote  Post ReplyReply Direct Link To This Post Posted: 07 Oct 14 at 10:21PM
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
}
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 08 Oct 14 at 11:14AM

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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store