why does this crash? Or how would I make it work?
I would llike to send individual bytes through COM1 to a ÁProcessor , being able to either get the ASCII value orcthe character .
void __fastcall TForm1::Button1Click(TObject *Sender)
c[i]= Edit1->Text[z]; // c... Data being generated
Edit2->Text = Edit2->Text+ c[d]+"";
// WriteFile( HdComm, &c[d], 1, &RealNum, NULL ); //c...is the data
Any help would be appreciatted.