|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
writing to INI file
Hi friends,
I am trying to write to a INI file using the following code: path = Directory1 + "abc.ini"; pIniFile = new TIniFile( path.c_str() ); tmIniFile->pIniFile->WriteString("System","DataPath", tmIniFile->DataPath=Directory+PEnd); //....................................................................................... what i really want is to assigne the value of DataPath =directory+Pend At the moment my application is getting compiled but when i click ok to run this code i get error message Project setup.exe raised exception class EAccess Violation with Mesage 'Access Violation at address 40004B60 in module 'vcl50.bpl'. write of adress 0000000C. Precess stopped. |
|
#2
|
||||
|
||||
|
Please do not start two exact thread on the same subject. I have deleted your old thread.
|
|
#3
|
|||
|
|||
|
Sorry for restarting the issue, I can see the probles it will cause in future.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > writing to INI file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|