tdatabase to work in NT

Hi,

I am using a tdatabase component in my application under winnt connecting
to an access database via odbc, and it always give me access violation
error.  I am able to compile and run my program the first time, but if I
try to compile and run my application again, it'll give me an access
violation problem.  This problem doesn't occur in win95.

Can anyone help me with this,
Thanks, vn