Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

davepermen

File Changing

This topic is 6497 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I try to create a programm, wich could disable the explorer and sets itselfs there, i did thit yet, but I have to rewrite the system.ini. Now I want to automate this in my source. For doing this, I want to rewrite one line of the system.ini, and i''m interested, if this is possible without reading out the complete file and rewriteing the complete file in
we wanna play, not watch the pictures

Share this post


Link to post
Share on other sites
Advertisement
there are a set of win32 api functions for this purpose. as always i don''t have a reference handy, so i can only try to recall how they are called. could be that it''s something like WritePrivateProfileString or SetPrivateProfileString. anyways, look up something simliar like that.

rid

Share this post


Link to post
Share on other sites
yep, working

WritePrivateProfileString("boot","shell","davepermens.exe","system.ini");

really nice, thats what i''ve searched, really NICE, thanks ridcully

we wanna play, not watch the pictures

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!