Hi, I need to use nsCOMptr in the pk11slot.c file. Once I add #include "nsCOMPtr.h" to pk11slot.c the compile failes. How can I make it compile with this extra include on Win32 ? The cl line has a -I../../../../dist/include and the file is indeed there. I this error message F:\mozilla\security\nss\lib\pk11wrap>cl -FoWIN32_D.OBJ/pk11slot.obj -c -Od - Z7 -MDd -W3 -nologo -DXP _PC -DDEBUG -D_DEBUG -UNDEBUG -DDEBUG_PEWI -DWIN32 -D_WINDOWS -D_X86_ -DWIN9 5 -If:/mozilla/dist/include/nspr -I../../../../dist/public/security -I../.. /../../dist/private/security -I../../../../dist/include -I../../../../dist/ public/security -I../../../../dist/public/dbm -I../../../../dist/include pk11slot.c pk11slot.c ../../../../dist/include\nsID.h(62) : error C2061: syntax error : identifier 'inline' ../../../../dist/include\nsID.h(80) : error C2491: 'ToString' : definition of dllimport function not allowed ../../../../dist/include\nsID.h(82) : error C2059: syntax error : '}' ../../../../dist/include\nsID.h(88) : error C2061: syntax error : identifier 'nsCID' ../../../../dist/include\nsID.h(88) : error C2059: syntax error : ';' ../../../../dist/include\nsIID.h(35) : error C2061: syntax error : identifier 'nsIID' ../../../../dist/include\nsIID.h(35) : error C2059: syntax error : ';' ../../../../dist/include\nsError.h(263) : error C2061: syntax error : identifier 'NS_ErrorAccordingT oNSPR' ../../../../dist/include\nsError.h(263) : error C2059: syntax error : ';'
