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
OLE 82130001 Error
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 3586
- Joined: Thu Jul 08, 2004 10:36 pm
Re: OLE 82130001 Error
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.
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.
-
- User
- Posts: 16
- Joined: Thu Jan 06, 2011 2:46 am
Re: OLE 82130001 Error
all the sample code does it. As I said - it doesn't raise an exception at runtime- only when running in teh IDE
Alan
Alan
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: OLE 82130001 Error
Hi Alan,
Most of Viewer Ax functions return HRESULT, however in Delphi IDE this HRESULT is treated as an EOleException.
Most of Viewer Ax functions return HRESULT, however in Delphi IDE this HRESULT is treated as an EOleException.