cuda problems when running in an ocx ? multithreading windows

Hi, im still in the process of isolating the problem, but so far i have been working on a little test software that we have, and everything worked great. Now i’m trying to run the same code in our real products which run as an ocx in windows and i get a crash in cudart. Has any body manged to write an ocx that uses cuda ? any tips or trix ?

Thanks

Eri

ok i found the answer … its the multithreading problem talked about in this thread:

http://forums.nvidia.com/index.php?showtop…t=&#entry176486

will the next release fix it ?