Thanks for the advice Jordi. But this only redirects the problem, now the libraries compile but some of the exe that do use shlapi functions do not link. The only shlapi function used is PathFindFileName() in dispwin.c I guess I will try to replace it with something else. Regards. Nikolai Jordi Nodal wrote:
Hi,Try adding "DEFINES += NOSHLWAPI ;" line into NT compilation block in spectro\Jamfile file.# Setup the right hardware access libraries if $(NT) { if $(DDK_INC_PATH) && $(DDK_LIB_PATH) { # We can use HID access DEFINES += ENABLE_NT_HID ; HIDLIBS = $(DDK_LIB_PATH)\\hid $(DDK_LIB_PATH)\\setupapi ;HID_HDRS = $(STDHDRS) $(DDK_INC_PATH) ; # hack to force search of STDHDRS before DDK} DEFINES += NOSHLWAPI ; IOFILE = ntio.c ; LIBUSB = ../libusbw ; } It works with VS2005...hope VS2003 too... Regards. Jordi.