OLE 82130001 Error

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

alanmcd
User
Posts: 16
Joined: Thu Jan 06, 2011 2:46 am

OLE 82130001 Error

Post by alanmcd »

Testing any of the sample applications in the Delphi IDE (D2010), with every operation, like open a file or activate a menu etc, I get an exception on this line of the type library
DefaultInterface.GetDocumentFromName(Name, ID, Eaten);

If I execute the compiled app outside the IDE, I don't get this exception. Before I just set the IDE to ignore this error, can anyone tell me what the exception relates to?
thanks
Alan
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: OLE 82130001 Error

Post by Ivan - Tracker Software »

Can you provide code-snippet where you make a call GetDocumentFromName ?
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
alanmcd
User
Posts: 16
Joined: Thu Jan 06, 2011 2:46 am

Re: OLE 82130001 Error

Post by alanmcd »

all the sample code does it. As I said - it doesn't raise an exception at runtime- only when running in teh IDE
Alan
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: OLE 82130001 Error

Post by Corwin - Tracker Sup »

Hi Alan,

Most of Viewer Ax functions return HRESULT, however in Delphi IDE this HRESULT is treated as an EOleException.