Hey there,
I am currently trying to process ipxc_documents in parallel even though my main thread is STA. As a workaround I create a seperate appdomain for every document instance. These are created, when my wrapper class for the document is instantiated, which happens in parallel tasks. Now here is the issue:
When the document classes in the appdomains try to load a doc from file, i get this error:
Error [Pdf Structure Library]: Unknown/unsupport security handler.
When i put a lock statement around the creation of the appdomain and my call on CreateInstanceAndUnwrap(), I do not get exceptions anymore. Could this issue be related to simultaneous calls of OpenDocumentFrom()?
I would really appreciate your input on this issue,
thanks,
Kutusow
Processing documents in parallel using appdomains
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Processing documents in parallel using appdomains
Hello Kutusow,
I'm afraid, the response would be like this:
viewtopic.php?f=67&t=32253&p=131899#p131899
Cheers,
Alex
I'm afraid, the response would be like this:
viewtopic.php?f=67&t=32253&p=131899#p131899
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 2
- Joined: Thu Dec 17, 2020 6:47 am
- Location: Italy
- Contact:
-
Hi All,
I need to call a function written using C into a static library .a file
I am getting run time errors. I learnt from the help file that it is possible
I need to call a function written using C into a static library .a file
I am getting run time errors. I learnt from the help file that it is possible
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Processing documents in parallel using appdomains
Hello WilliamPharl,
What SDK are you using and also, some code samples are required for better understanding.
Cheers,
Alex
What SDK are you using and also, some code samples are required for better understanding.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ