I try to use java to call a SQL server's store procedure and that store procedure will call a COM object, but sometimes it return an exception "Cannot change thread mode after it is set." Any comments!
"SFBB", Thanks for participating here at the Ranch. However, the name you are using does not comply with the naming convention described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name (not fictitious monikers). Please log in with a new name which meets the requirements. Thanks. Sean