T
th_lmy
Unregistered / Unconfirmed
GUEST, unregistred user!
app2001<br>在DELPHI帮助中,API是没有被告诉在哪个单元的!可能DELPHI自己的函数写了在哪个单元。但比如PosEx在在DELPHI中的帮助为:<br>Returns the index value of a substring.<br><br>Unit<br><br>StrUtils<br><br>Category<br><br>string handling routines<br><br>Delphi syntax:<br><br>function PosEx(const SubStr, S: string; Offset: Cardinal = 1): Integer;<br><br>C++ syntax:<br><br>extern PACKAGE int __fastcall PosEx(const AnsiString SubStr, const AnsiString S, unsigned Offset = 1);<br><br>Description<br><br>PosEx returns the index of SubStr in S, beginning the search at Offset. If Offset is 1 (default), PosEx is equivalent to Pos.<br><br>PosEx returns 0 if SubStr is not found, if Offset is greater than the length of S, or if Offset is less than 1.<br>按你们的意思POSEX就在单元StrUtils中了???<br>实际是引用了StrUtils,函数POSEX仍然不能用!!!