If it crashes it gives an error - we need to see that error to understand why it crashes. then we can help. If FPC is crashing as in an Acess Violation then I suggest you take it to the FreePascal foruns at www.freepascal.org as they should be able to help you.

We try our best to help here but we need enough information to be able to help.