0

I have been using ArcGIS Geoprocessor(GP) tool whenever possible even though it is like a black box in my ArcObject development. Most of my operations are involved with data processing, such as dataset projection, format conversion. In order to take the advantage of my multi-core system, I decide to use parallel computing/multithreading in C# since it supports since framework 4.0: http://msdn.microsoft.com/en-us/library/dd460720(v=vs.110).aspx So I basically modified my loop which calls GP tool. But it works for only a few GP operations, most of others failed with error handle. So I want to know how to resolve this issue, is there anyway I can continue to use GP in parallel computing?

closed as off-topic by PolyGeo Jul 24 at 4:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What GIS software are you using? What version? What exact error do you receive? (please update the question) – Vince Nov 4 '14 at 16:38
2

You can't cross thread boundaries with COM objects, I'm guessing that's your issue. Read this help topic for some strategies to get around this.

Not the answer you're looking for? Browse other questions tagged or ask your own question.