You should see examples, they are heavily commented and self-explanatory. An important things, TFCGI have to be built statically in your app due to some configuration specific to the project and the ...