Use of external libraries (DLLs) from ZGE.

Moderator: Moderators

Post Reply
User avatar
Posts: 1770
Joined: Sat Feb 23, 2008 11:15 pm


Post by Kjell » Thu Mar 04, 2010 9:42 pm


For people that want to use INI files without a dll, or going into the ZGE source. A bit of a unorthodox implementation, as you'd normally use associative arrays, or even better .. associative lists, but since those aren't supported, it's build on plain-ol' Arrays.

The attached example shows how to read from a ini .. but simply change the FileAction to write to write :) Make sure to set the Array sizes ( Section / Parameter / Buffer ) to suit the limitations you want to support.

+ @Ville : A read-only filesize property on the File component would be handy.

Please report any suggestions and / or problems.

(3.62 KiB) Downloaded 576 times

User avatar
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada

Post by jph_wacheski » Fri Mar 05, 2010 2:52 pm

Thanks for this one Kjell very handy,. Cheers!

Post Reply