In my program I ty to utilize the ReadDirectoryChanges() method.
The program imports:

#import <winbase.h>
...
BOOL result = ReadDirectoryChanges(...);



When compiling using "make" and a Makefile, the compiler complains:
error 2065: 'ReadDirectoryChangesW' : undeclared identifier
According to MSDN, ReadDirectoryChanges uses the kernel32.lib.
How do I use kernel32.lib from my sourcecode?

/ Johan M