DELPHI如何调用WINDOWS API(100分)

  • 主题发起人 wangdazhi
  • 开始时间
同意SUNRISE的说法.
 
&nbsp; &nbsp;基本管理单元 Windows 是默认声明的,其它 API 函数接口<br>需要自己声明,分类及其单元如下:<br>&lt;table border="1" width="300"&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;分类&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;单元&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="14"&gt;基本管理&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="14"&gt;Windows&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176"&gt;Shell例程&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;ShellAPI&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;公共构件&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;ComCtrl&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;标准对话框&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;ComDlg&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;ActiveX&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;ActiveX&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;MCI接口&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;MMSystem&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;注册表管理&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;RegStr&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;动态数据交换&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;DDEML&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;消息传送接口&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;MAPI&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;WinSock&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;WinSock&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;NetBios&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;NB30&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;OpenGL图形库&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;OpenGL&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;多监视器接口&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;MultiMon&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;NSAPI&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;NSAPI&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;ISAPI&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;ISAPI&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;PenWin&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;PenWin&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;Internet&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;Wininet&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;NT服务&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;WinSvc&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;Win32外壳扩展&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;ShellObj&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;ToolHelp&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;TLHelp32&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;数据压缩&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;LZExpand&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;图象Help&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;ImageHlp&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&nbsp; &lt;tr&gt;<br>&nbsp; &nbsp; &lt;td width="176" height="16"&gt;国际化支持&lt;/td&gt;<br>&nbsp; &nbsp; &lt;td width="112" height="16"&gt;Imm&lt;/td&gt;<br>&nbsp; &lt;/tr&gt;<br>&lt;/table&gt;<br>
 
漂亮!学生?老师?
 
时间太久,强制结束。 &nbsp; wjiachun<br>
 
顶部