Error: Undeclared identifier: 'OutputDebugString'
I use OutputDebugString in my D开发者_运维百科elphi Code, but I receive the error:
Error: Undeclared identifier: 'OutputDebugString'
Which package is this OutputDebugString in?
It's declared in the Windows
unit.
In windows unit in Winapi namespace:
uses
Winapi.Windows;
How to find the unit of a specific command:
- Through Find Definition command in the context menu
- Through Help Insight information invoked by hovering the mouse
- Or just use Windows Search or a popular search tool
精彩评论