win32 and delphi3

How to use the functions include in win32 or other dll in delphi 3. Example
: i want to detect the memory size and the type of processor. ???
    Thanks for your help

   dub...@st-gilles.rennes.inra.fr