Hello everybody,
I received my USB-UIRT devices today and they are already up and running.
From my C++ program (win32) I'm able to communicate with them, i.e. I'm sending pronto codes and my other (receiver) devices are responding nicely.
However, I would ask if someone could help me with a small and most likely simple matter;
I put my all my pronto codes in an ini-file and retrieve them with "GetPrivateProfileString". So basically I have all of them in CStrings.
To send them using "fn_UUIRTTransmitIR" I would like to convert them to a char [2048] like this
CString gIR_ON = "0000 006D 0000 0019 000D 0027 0027 000D 000D 0027 0027 000D 000D 0027 000D 0027 000D 0027 000D 0027 000D 0027 0027 000D 000D 0027 000D 0027 000D 0027 000D 0027 000D 0027 000D 0027 000D 0027 000D 0027 000D 0027 0027 000D 000D 0027 0027 000D 000D 0027 0027 000D 000D 01AB";
char gIRCodeON[2048] = gIR_ON;
This doesn't work.
Greatful for any advice,
Best regards Walter