In order to create your own executable, you have to create a reference to the pdfcreator.tlb file

Go under Project/References and activate checkbox belonging to the pdfcreator.tlb (be careful not to
check the .exe file!).

Now, you can compile the program if you want to and try it out yourself.