Chrome native host in C++, cannot communicate with Chrome
I am trying to implement a Chrome extension using runtime.connectNative and postMessage . I am following the Chrome documentation, downloaded the native messaging example, and changed the native app to using C++. However, the native app cannot receive the message from the Chrome extension. Meanwhile, when the native app using the printf function write message to chrome extension, the extension can not receive and the message just shown in the console. Any ideas how to solve the problem? dbajgoric You didn't provide a lot information about what you actually tried, so I will do my best to