OCR - VisualStudio 2010 build error

PDF-X OCR SDK is a New product from us and intended to compliment our existing PDF and Imaging Tools to provide the Developer with an expanding set of professional tools for Optical Character Recognition tasks

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

miromr
User
Posts: 59
Joined: Sat May 09, 2009 3:05 pm

OCR - VisualStudio 2010 build error

Post by miromr »

Hi,
When the project rebuild pxcview36_sample_app.sln receiving the report:
"error C3861: 'AtlLoadSystemLibraryUsingFullPath': identifier not found"
line to the unit atltransactionmanager.h:
if (!bInitialized)
{
HMODULE hKTM32 = AtlLoadSystemLibraryUsingFullPath(L"ktmw32.dll");
if (hKTM32 != NULL)
{
pfCreateTransaction = (PFNCREATETRANSACTION)GetProcAddress(hKTM32, "CreateTransaction");
}
bInitialized = true;
}

What settings are required by the project?

Thank you
Miro
Walter-Tracker Supp
User
Posts: 381
Joined: Mon Jun 13, 2011 5:10 pm

Re: OCR - VisualStudio 2010 build error

Post by Walter-Tracker Supp »

I have not encountered this problem before, although it appears to be a Microsoft header problem.

A quick search has led me to this discussion on MSDN which may be of help:

http://social.msdn.microsoft.com/Forums ... 21bb4dad56

While the sample is not really an ATL application, a couple of ATL headers are used for convenience macros / types.
miromr
User
Posts: 59
Joined: Sat May 09, 2009 3:05 pm

Re: OCR - VisualStudio 2010 build error

Post by miromr »

Yes,
thank you
Miro
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: OCR - VisualStudio 2010 build error

Post by Tracker Supp-Stefan »

:)