Winapi 在Ada代码中使用Win32库函数时出错

Winapi 在Ada代码中使用Win32库函数时出错,winapi,ada,Winapi,Ada,我在Ada代码中使用以下语句:- with Win32; with Win32.Winbase; use Win32.Winbase; with Win32.Winnt; use Win32.Winnt; "file win32.ads not found" "file win32-winbase.ads not found" "file win32-winnt.ads not found" 但是得到错误:- "file win32.ads not found" "file w

我在Ada代码中使用以下语句:-

with Win32;
with Win32.Winbase;  use Win32.Winbase;
with Win32.Winnt;    use Win32.Winnt;
"file win32.ads not found" 
"file win32-winbase.ads not found" 
"file win32-winnt.ads not found"
但是得到错误:-

"file win32.ads not found" 
"file win32-winbase.ads not found" 
"file win32-winnt.ads not found"

请告诉我出了什么问题

您收到这些错误是因为您没有安装包含丢失文件的包(或者,您可能已将其安装在编译器找不到的地方)

"file win32.ads not found" 
"file win32-winbase.ads not found" 
"file win32-winnt.ads not found"
Win32Ada软件包已打开

"file win32.ads not found" 
"file win32-winbase.ads not found" 
"file win32-winnt.ads not found"
或者您可以找到一个预构建的二进制安装程序来匹配您的编译器(如果不是很明显,请查看右下角的“更多软件包、平台、版本和源代码”链接)

"file win32.ads not found" 
"file win32-winbase.ads not found" 
"file win32-winnt.ads not found"