From: gabor <ga...@po...> - 2015-07-24 14:20:59
|
Hello! I want to use LetoDB from Delphi or FreePascal application via "letocl.dll" shared library. I have one question and one suggestion. How can I use index? I found function "LetoDbOrderCreate" that create index, but how can I select existing index? And suggestion: as I mentioned, I want to use this library with FreePascal / Delphi code. And I can not find a function that frees the memory allocated for functions that return strings (char *). For example "LetoGetServerVer" or "LetoDbGetMemo". Because application can have different memory manager than leto client library, so application can not free memory allocated by library. I propose add small function for that, eg: HB_EXPORT void LetoFreeStr(char * szStr) { free( szStr ); } Best regards Michał. |