The attribute is how you define calling conventions yes. But you want to use ^char instead of strings