Re: coding.doc - disregard the previous message

From: John Woods (JWoodsIII@AOL.COM)
Date: 07/01/98


In a message dated 98-07-01 12:39:38 EDT, lpcarvalho@SONAE.PT writes:

<< On a side note, it came to today that it would be useful to have some
 way keeping some status variables from a reboot to the other, some way to
 change the whole environment of the MUD without the need to recompile.
 Consider it a sort of a system.ini file, modifiable (sp?) from inside the
 mud. >>

If yer MUD's on Windows95 and gonna remain there, call GetPrivateProfileString
and WritePrivateProfileString. They're API, btw. Wait a sec...can you call API
with C? Okay, I probably just sound stupid now. :-P
Anyway, not sure, maybe an S on the end of those functions for Win95.
Again, they write and get to and from an ini file. ;-)

-Elrelet


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST