built in Visual studio 6.0 as a regular win32 console application. Seems to be getting an access violation error at random points in the application. There are no memory leaks and seems to run pretty stable for about a couple of hours with heavy load about 250 client connections at one time. Then will get an access violation error. Put a bunch of debug in there and seems to always break around an SQL Call. I'm assumming that the ODBC drivers are thread safe, but am wondering about the odbc*.lib files that are some what older than the odbc*.dll's and am trying to find out if I nead to update those as well and how? Has anybody run into this problem before. Also I'm using the sqlsrv32.dll (3.5 version) for sql server database which the server version is 6.5 I believe.