I believe that the reference Win32API indicates a known set of .DLLs within Windows to search, while the kernel32 specification is just that single .DLL.
>I have seen example code to declare the same API functions in different ways. Sometimes it uses kernel32 and sometimes it uses Win32Api. Both ways work for me.
>
>For example,
>
>DECLARE Sleep IN Win32API INTEGER nMilliseconds
>
>
>and
>
>
>DECLARE Sleep IN kernel32 INTEGER nMilliseconds
>
>
>both seem to work. Whats the difference between the two ways of declaring? If my app is going to be on a Win2K server which one should I be using?
>
>Thanks,
>Chris