Ok, it is working now. I took the code from the svn repository, compiled it and now I can see the correct display of the shape file. Thanks for your help, Jörg