Well, one last question: How to access variables? When I create a D3DDevice via the dll then it says it's nil to the application but it's not (little bit strange, but the Device was created).