raph,
I have tried to do this, I have added PSAPI.Lib, but I still get the errors:
.objs\main.o:main.cpp:(.text+0x19f): undefined reference to `EnumProcessModules@16'
.objs\main.o:main.cpp:(.text+0x1d0): undefined reference to `GetModuleBaseNameA@16'
.objs\main.o:main.cpp:(.text+0x27f): undefined reference to `EnumProcesses@12'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
Ahhh, Sorry just added "PSAPI" I had browsed to the file in MS SDK,
Thanks for your help, sorry for not reading the answers properly.
Mike.