Importing a C++ function problems

BlitzMax Forums/BlitzMax Programming/Importing a C++ function problems

OK cool, so I added these three:

#include <windows.h>
#include "accctrl.h"
#include "aclapi.h"


to the top and now I only get these errors:

C:/BlitzMax/Jake/demo/.bmx/vista.cpp.release.win32.x86.o(.text+0x71):vista.cpp: undefined reference to `GetSecurityInfo@32'
C:/BlitzMax/Jake/demo/.bmx/vista.cpp.release.win32.x86.o(.text+0xbe):vista.cpp: undefined reference to `SetEntriesInAclA@16'
C:/BlitzMax/Jake/demo/.bmx/vista.cpp.release.win32.x86.o(.text+0xd1):vista.cpp: undefined reference to `SetSecurityInfo@28'



Those three are declared in Aclapi.h so I don't understand why it won't find them. They all have the correct parameters...