在VS2008的webrtc里面打即时窗口的log : LOG(LS_INFO) << "需要的log",需要包含头文件 talk/base/logging.h 。这个peerconnection的工程logging.h是在third_party/libjingle/libjingle/overrides/talk/base 下面
wWinMain为peerconnection的主函数
MainWnd wnd;//调用main_wnd.c里面的类
if (!wnd.Create()) {
ASSERT(false);
return -1;
}创建主窗口
while ((gm = ::GetMessage(&msg, NULL, 0, 0)) != 0 && gm != -1) {
if (!wnd.PreTranslateMessage(&msg)) {
::TranslateMessage(&msg);
::DispatchMessage(&msg);
}消息处理机制