How to debug through Acrobat.dll
Hello,
I am having a problem with searching through comments in highlight annotation.
Problem behavior is somewhat strange.
First time when it searches through the comments, it does it successfully.
When I search second time and scroll a document little bit then Acrobat crashes.
When I try to debug, at some point, it gives me error that Acrobat.pdb is not loaded and hence I can not debug it further.
I want to debug it further (in Acrobat.dll) because I think I can get some clue for crash.
How can I load this Acrobat.pdb and debug in Acrobat.dll?
Here is my code to search though the comments:
ASText searchKey = ASTextNew();
searchKey = ASTextFromUnicode((ASUTF16Val*)reqText, kUTF16HostEndian);
SearchQueryDataRec srcQuery;
memset(&srcQuery, 0, sizeof(SearchQueryDataRec));
srcQuery.size = sizeof(SearchQueryDataRec);
srcQuery.query = searchKey;
srcQuery.type = kSearchActiveDoc;
//Search through comments of Highlight annotation
srcQuery.scope = kSearchDocumentText | kSearchMarkup;
srcQuery.path = NULL;
srcQuery.fs = NULL;
srcQuery.maxDocs = 1;
ASBool ret = SearchExecuteQueryEx(&srcQuery);
ASTextDestroy(searchKey);
Thank you in advance!
