Hexapod InverseKinemetics Problem

The strange think is that the math part worked without an problem in my VisualStudio C++ Application.

Can you post that code to compare?

Do you have a link to some site describing the math behind IK?
Where did you get the math from ?