Hi,
Every so often in a project im working on when calling ExternalInterface (specificallym FPCCallFunctionBSTR), i receive an exception. i wrapped some __try __except around the function, and know this is where it is occuring. It also only seems to ever happen (and only rarely at that), when calling via a thread (even though 99 times out of 100 it works fine).
If i catch this exception, subsequest calls will always "Fail" (not cause an exception)
My question is:
* Has anyone else ever received this problem? Explanation/solution?
* Could passing "junk" data to this function cause this problem?
* Could the threading issue cause this problem? I.e. if more than once "FPCCallFunctionBSTR" is called at any given time via threads?
I am still investigating, and suspect it is the latter, but any information would be fantastic.