Thanks, PJP Dev. I'll try it. I will post it on Lazarus forums. Did you notice problems with DB? SMF get something like this very often, so i don't use it (some time ago I had to use it, and this wasn't good experience)

//EDIT: It's give me design-time error exports clause only allowed in libs. Can you post whole unit, please?
//EDIT #2: Silly me - I put exports before initialization.
//EDIT #3: Identifier not found: TLibHandle