I CANT SEND ANY DATA WITH SPIWrite() FUNCTION

I’M USING RABBIT 5000 MICROCONTROLLER, BUT I CAN’T SEND ANY DATA WITH SPI, I THINK MY “spi.lib” LIBRARY IS WRONG IF SOMEONE COULD SEND ME A CORRECT LIBRARY I COUL ADVANCE WITH MY PROJECT.
SEND ME AN EMAIL PLEASE