Re: What unit to find functions and procedures?



JamesR wrote:
How do you know which unit an API might be in. If i was using
EnumWindowsProc() for instance, (or something else maybe) - how would
you know which unit to include in the uses list - the best I can think
of is finding some text searching program, and searching all the VCL
.pas files. Ideas?

Quite easy with most of the WinAPI stuff - it goes into "windows.pas". If it
ain't there, do a "Find in files" - search in Delphi\source catalog.

--
Bjørge
bjorge@xxxxxxxxxxxx


.



Relevant Pages

  • Re: What unit to find functions and procedures?
    ... JamesR wrote: ... EnumWindowsProc() for instance, - how would ... of is finding some text searching program, ... .pas files. ...
    (comp.lang.pascal.delphi.misc)
  • PAS to HTML
    ... I want to share my codes on internet so i'm searching for a tool which can ... generate html from my *.pas files. ...
    (borland.public.delphi.non-technical)
  • Re: example of service
    ... windows searching for tservice in *.pas files does not give any ... entries telling it to treat .pas files as plain text. ... There is no shortage of searching tools at your disposal. ...
    (comp.lang.pascal.delphi.misc)