@GANI had the same problem on XP and I had to re install Lazarus. The solution: use powerPDF instead of Cairo. Cairo has problems with the DLL in Windows, but in Linux works fine.