TClientDataSetXiaojiabiyu, I'm afraid everyone likes to use it. But, all know to marryTClientDataSetIt comes at a price, because you have to face mother.MIDAS. DLL。
Can you useTClientDataSetAnd noMIDAS. DLLIt?
It's simple, it's uses.MidaslibUnit!
MidaslibUnit inDelphi6 and higher versions of Delphi, is a DCU file in the Lib directory. Once you have referenced it in your source programMidaslibUnit, which is no longer needed when the program is runMIDAS. DLLFile.
However, the program size will increase by more than 200k after compilation, even if the package compilation mode is used.
Of course, this is done only when needed. There is no need to do this if your application itself contains multiple DLLs or BPL files. If each module is usesMidaslib, you will be exhausted, or to support aMIDAS. DLLBetter.
Delphi does not carry the MIDAS.DLL method when using TClientDataSet