我希望能够从TurboPascal7.0控制台模式程序调用OutputDebugString。主机PC正在运行Windows98,据我所知,它支持OutputDebugString。但是,我找不到任何声明入口点并且可以用TPC或BPC编译的头文件。
SysInternals实用程序DebugView可以显示来自Win16系统的调试消息,因此我相信它的结尾是排序的。根据SysInternals文档:
DebugView Capture
Under Windows 95, 98, and Me DebugView will capture output from the following sources:
Win32 OutputDebugString
Win16 OutputDebugString
Kernel-mode Out_Debug_String
Kernel-mode _Debug_Printf_Service我已经搜索了TP7文档,并且字符串dll没有出现在任何地方。有人能建议如何打电话给OutputDebugString吗?或者如果可能的话?
发布于 2018-12-09 22:16:35
根据这,它应该在Kernel32.dll (Winbase.h / Windows.h.)中。
https://stackoverflow.com/questions/53697112
复制相似问题