OK...now i have it!

You where right wysota....it was an invalid pointer because somewhere in my code i initialised a local variable of the type ClassC with the same name.....after changing it to the real variable it all worked fine....i hope you understand what i mean ^^

Thanks for the tipp