I need to take differents types of data, like:
int n = 12; short int n1 = 255; unsigned char b = 4; unsigned short w = 1600;
std::string str = "SR_protocol";
put all togheter in a CComSafeArray<BYTE>, and convert it to send in a COM object (OPC), like:
VARIANT *vSendMSG = NULL;
But I don't know how to do it.. help me please
format it as XML and send the whole struct as a string ?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)