Hi Marat
Have you tried also releasing the Public Shared variables?
>Thanks Greg, I will try your suggestions.
>Here more details on that issue.
>I use my own COM object in which I use Public Shared variables.
>And when I instantiate COM object second time those variables still keep old value.
>I don't have such problem when I use the same COM object in VB.NET
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney