The member
BalanceInquiry
is regular member of the class, not a constructor. So, where is the type of this member?
Assuming everything before this fragment is correct, it could be:
public:
BalanceInquiry BalanceInquiry __gc *t;
But, then a public field is bad style; instead it should be a private field exposed by some public property accessor with
const
... and so on...
Anyway, your immediate bug is spotted.