Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


INI File tutorials?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 21, 2007 11:11 pm    Post subject: INI File tutorials? Reply with quote

Does anyone have any INI file tutorials, C++? Delphi?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Cx
Master Cheater
Reputation: 0

Joined: 27 Jul 2007
Posts: 367

PostPosted: Fri Sep 21, 2007 11:15 pm    Post subject: Reply with quote

Read/WriteFile?
_________________

armed with this small butterfly net
i will face the world alone
& never be lonely.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 21, 2007 11:16 pm    Post subject: Reply with quote

hmmm....?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Fri Sep 21, 2007 11:49 pm    Post subject: Reply with quote

CreateFile.. then if you want to extract data from the file, ReadFile, if you want to write stuff to it WriteFile. BTW CreateFile if file exists you have to make sure your parameter says taht otherwise, CREATE_NEW. INI's are basically text files. =/
_________________
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 21, 2007 11:53 pm    Post subject: Reply with quote

sponge wrote:
CreateFile.. then if you want to extract data from the file, ReadFile, if you want to write stuff to it WriteFile. BTW CreateFile if file exists you have to make sure your parameter says taht otherwise, CREATE_NEW. INI's are basically text files. =/


I get it, createfile makes the ini file. readfile gets stuff from it and writefile writes stuff to it =P jsut some examples? like simple examples...

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Sat Sep 22, 2007 12:16 am    Post subject: Reply with quote

here:
Link
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Sep 22, 2007 12:24 am    Post subject: Reply with quote

i decided to do this in C++ but this helps
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Sep 22, 2007 1:42 am    Post subject: Reply with quote

Get/WritePrivateProfileString?
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Sep 22, 2007 1:54 am    Post subject: Reply with quote

does WriteInteger and WriteDate and stuff work in C++ or only delphi?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Sep 22, 2007 1:57 am    Post subject: Reply with quote

sounds like a delphi thing
Back to top
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Sat Sep 22, 2007 3:08 am    Post subject: Reply with quote

here is 1 for c++:
Link
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sat Sep 22, 2007 5:37 am    Post subject: Reply with quote

wtf is that o.o

i was reading the c++ one and it looks like a Celphi, if there was such a thing

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Sep 22, 2007 6:52 am    Post subject: Reply with quote

There are numerous functions to use for this.

Some examples in C++
http://www.codeproject.com/file/CIniFile.asp ***
http://www.codeproject.com/useritems/IniFileClass.asp
http://www.codeproject.com/useritems/IniReader.asp
*** I recommend looking at this one.

And for Delphi:
http://delphi.about.com/od/objectpascalide/l/aa120401a.htm
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites