| 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?
|
Posted: Fri Sep 21, 2007 11:11 pm Post subject: INI File tutorials? |
|
|
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 |
|
 |
Cx Master Cheater
Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Fri Sep 21, 2007 11:15 pm Post subject: |
|
|
Read/WriteFile?
_________________
armed with this small butterfly net
i will face the world alone
& never be lonely. |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 21, 2007 11:16 pm Post subject: |
|
|
hmmm....?
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Fri Sep 21, 2007 11:49 pm Post subject: |
|
|
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 |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 21, 2007 11:53 pm Post subject: |
|
|
| 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 |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Sat Sep 22, 2007 12:16 am Post subject: |
|
|
here:
Link
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Sep 22, 2007 12:24 am Post subject: |
|
|
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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Sep 22, 2007 1:42 am Post subject: |
|
|
| Get/WritePrivateProfileString?
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Sep 22, 2007 1:54 am Post subject: |
|
|
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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Sep 22, 2007 1:57 am Post subject: |
|
|
| sounds like a delphi thing
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Sat Sep 22, 2007 3:08 am Post subject: |
|
|
here is 1 for c++:
Link
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Sat Sep 22, 2007 5:37 am Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
|