Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个 ActiveX 控件,我想向 tstcon32 中的控制台区域抛出一些调试输出,就像其他控件一样。什么系统调用正在这样做?
标准输出似乎不是它
很可能它使用的是 OutputDebugString:http: //msdn.microsoft.com/en-us/library/aa363362%28VS.85%29.aspx
你在想 ATLTRACE2 吗?“根据指示的标志和级别向输出设备(例如调试器窗口)报告警告。”