Thats gr8..

Thanks a lot for solving my problem..

Yes I was exporting the class member and thats what is wrong. I need to declare static functions or export the whole class.

Thanks again...