Problem with put_Transform2

I'm writing a student research project at the University ofPaderborn about an automatic movement transfer to a cad program -in this case Solidworks 2007 Student Edition - at the moment.
According to this I tried to develop an interface to theSolidworks-Api, which shall run the rotations within the cadprogram. Unfortunately the result does not represent the aimedmovement. Perhaps I made a mistake or I have a mistake in thinking,because the movement does not follow the aimed axis at all.

The rotation in the following C++ code should be around the y-axisbut it is performed around an axis located somewhere in thex-z-plain (see Attachment). The centerpoint of the rotation is thecenter of the cylinder located at the top of the cuboid, which'sposition is (-1250, 0, 5250):

IMathUtility* pMathUtility = NULL;
IMathPoint* pMathPoint;
IMathVector* pMathVector;
double dAngle;
double dArrayDataPoint[3];
double dArrayDataVector[3];
HRESULT hr = S_OK;

dArrayDataPoint[0] = -1250.0;
dArrayDataPoint[1] = 0.0;
dArrayDataPoint[2] = 5250.0;

dArrayDataVector[0] = 0.0;
dArrayDataVector[1] = 1.0;
dArrayDataVector[2] = 0.0;

dAngle = 30.0;
hr = swApp->IGetMathUtility(&pMathUtility);
hr = pMathUtility->ICreateVector(dArrayDataVector,&pMathVector);
hr = pMathUtility->ICreatePoint(dArrayDataPoint,&pMathPoint);
hr = pMathUtility->ICreateTransformRotateAxis( pMathPoint,pMathVector, dAngle, &pXform );

hr = pSldWorks->get_IActiveDoc2(&(pModelDoc));
if(hr == S_OK)
{
hr = pModelDoc->get_ISelectionManager(&pSelectionManager);
hr = pSelectionManager->IGetSelectedObjectsComponent2(1,&pComponent);
hr = pModelDoc->QueryInterface(IID_IAssemblyDoc, (LPVOID*)&(pAssemblyDoc));
if(hr == S_OK)
{
hr = pComponent->put_Transform2(pXform);
hr = pModelDoc->Rebuild(3);
hr = pAssemblyDoc->UpdateBox();
hr = pComponent->Select(FALSE, &retval);
pAssemblyDoc->Release();
}
pComponent->Release();
pSelectionManager->Release();
pModelDoc->Release();
}

I hope you can help me with this somehow.

Best regards
Jörg EichhornSolidworksApi macros