I have nearly completed the code but still got one problem. In myfunction I have the following line:
resultbox->AppendText(std2sys("asdfasdf\n"));
However the resultbox (richtextbox) cannot be found due to the function being outside the Form1 class. Does anybody know how I can append to this field outside its class? Thanks.