I'd like to use a Comm Port object. It has a Write function, which has two variable inputs. One is a const void*, the other is an int.
The const void* is the variable sent out via a comport, and the int is the length of the characters to send.
My question is: How can I make a const void* from a simple AnsiString?