dhimanak

Looks like a bug in arcobject API when used in Multithreaded environment !!!

Discussion created by dhimanak on Aug 31, 2010
Latest reply on Oct 19, 2010 by lftgly
I have tried a simple function in Multithreaded environment which opens a featureclass from SDE database,creates a feature cursor, gets a feature and releases all COM objects like cursor, feature and querfilter.

When this function is called from different threads separately, it gives errors like Memory could not be "read" or "written". I know this error usually peeps up when COM objects are not released properly but in my case, I am taking care of this.
Still I am getting these weird errors. To me it seems like a bug with a API.
Note: It works fine when datasource is a shape file.

Please suggest !!!!

Outcomes