>>Try clearing each DLL with a separate statement vs one statement.
>>
>>If that doesn't help, display the elapsed time after each CLEAR statement and see if the system is hanging on one CLEAR in particular.
>>
>>That might at least narrow the problem down.
>>
>
>Hi!
>
>I had already tried that with no luck I even changed the order of the dlls being cleared still no luck (with a seperate statement for each one)
>
>It seems that no matter which order I clear them they all clear very quickly (when using a seperate statement for each one) except for the last one, that's where it takes time. The last one could be any one from the list of dlls.
>
>
>Sarosh
Sarosh,
Just a thouhgt. Is it also the last statement in routine ? If so maybe you're looking at the wrong place. If so would you place a line of code there to see (any line would do).
Cetin