7
« Last post by Martin_fr on Today at 05:29:03 pm »
If you don't use forms....
then you shouldn't need cocoa related code.... Well except, maybe timers, or there are a few things that you could use without GUI that still need code that knows about GUI...
Some of your units, would use the package LCL or LCLBase (or a package that then uses either of those). Question is, if that unit is used for a reason, or was added by accident.
If the latter, then if you remove all LCL dependencies, and remove the package from the list of required packages, then you don't need interfaces => and your app will become quite a bit smaller.
For the rest... Out of index error => that is something wrong in your code (or code that you called).
Index 0 out of bound => list is empty.
Don't continue, press "break" and it should show you the code that causes the error. Though sometimes you need to open the "stack window" and find the code in the list of callers.