KodeZwerg 54 Posted November 1, 2018 Hi there, i made a small unit to handle Ini Files on Windows Systems. A Full Demo is included, build with D2010, should be compatible to any Version, may need other "Uses" Namespace. Whats the point? It read or write from/to Ini file. Will automatic use "X:\Users\LoginName\AppData\Local\ExeName\" as folder to save to. Foldername has a override feature. ATM one problem occur when you use my try of implementing a crypt method, writing to file is good but decryption i made somewhere something wrong. Have fun with it. IniHelper.7z Share this post Link to post
Michael Puff 18 Posted November 1, 2018 Moved it to "I made this". Because it is neither a tip, nor blog nor tutorial. Share this post Link to post
KodeZwerg 54 Posted November 1, 2018 Fixed Version. XOR encryption & decryption is working. Stream buffer is fixed too. Enjoy. (i'd thought it's kinda a tutorial on how to play with Ini-Files on Windows systems, okay thank you for moving) IniHelper.7z Share this post Link to post
KodeZwerg 54 Posted November 2, 2018 I will update again very soon. ATM Replacing XOR with AES128. Added keyname crypting aswell. Adding Crypt Variant for everything. ( TDateTime is for now my enemy o_O ) Planned: additional pump all in a class for OOP :-] single calls resides for quick usage. Any more Ideas, wishes, suggestions, bugs? Feel free to tell. Share this post Link to post
vhanla 2 Posted November 15, 2018 (edited) Does it support duplicated key names? e.g. PHP.ini uses for listing multiple extensions [PHP] extension=mysqli extension=openssl ;extension=pgsql <-- toggling commented keys would be a plus 😛 (just kidding) Edited November 15, 2018 by vhanla Share this post Link to post
KodeZwerg 54 Posted November 15, 2018 From point of now it does not support duplicates nor comments. It wont beautify target .ini. It just work 🙂 In attachment is a Build where i started make a Class of it, Only String and Integer are supported by now. AES128 encryption has been added. IniHelper.7z 1 Share this post Link to post