20cb47c1c4
This is a more hackish but more compatible solution to the problem of data sent using wxIPC_UTF8TEXT format being simply lost when using DDE for IPC classes. We must use CF_TEXT for the DDE to pass our data, but we can try to decode it as UTF-8 in the client and assume it was sent in this format if it worked. This obviously suffers from false positives as any ASCII string will still be assumed to be UTF-8, but there shouldn't be any real harm coming from this. This change also makes sending data in wxIPC_UTF{16,32}TEXT formats work as well by converting it to UTF-8. Update the sample to call Advise() with both wxIPC_UTF{8,16}TEXT formats and remove the now unnecessary wxDDEConnection::m_dataType member. Closes #17900. |
||
---|---|---|
.. | ||
baseclient.cpp | ||
baseserver.cpp | ||
client.cpp | ||
client.h | ||
connection.h | ||
ipc_vc7_baseipcclient.vcproj | ||
ipc_vc7_baseipcserver.vcproj | ||
ipc_vc7_ipcclient.vcproj | ||
ipc_vc7_ipcserver.vcproj | ||
ipc_vc8_baseipcclient.vcproj | ||
ipc_vc8_baseipcserver.vcproj | ||
ipc_vc8_ipcclient.vcproj | ||
ipc_vc8_ipcserver.vcproj | ||
ipc_vc9_baseipcclient.vcproj | ||
ipc_vc9_baseipcserver.vcproj | ||
ipc_vc9_ipcclient.vcproj | ||
ipc_vc9_ipcserver.vcproj | ||
ipc.bkl | ||
ipcsetup.h | ||
makefile.bcc | ||
makefile.gcc | ||
Makefile.in | ||
makefile.unx | ||
makefile.vc | ||
server.cpp | ||
server.h |