Click here to Skip to main content
15,881,715 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Hiding Controls Dynamically in Dialog Pin
Hristo-Bojilov17-May-10 0:59
Hristo-Bojilov17-May-10 0:59 
AnswerRe: Hiding Controls Dynamically in Dialog Pin
Member 392263917-May-10 2:18
Member 392263917-May-10 2:18 
GeneralRe: Hiding Controls Dynamically in Dialog Pin
David Crow17-May-10 3:05
David Crow17-May-10 3:05 
QuestionInput from Commandline. Pin
krishna_CP16-May-10 22:37
krishna_CP16-May-10 22:37 
AnswerRe: Input from Commandline. Pin
Hristo-Bojilov16-May-10 22:44
Hristo-Bojilov16-May-10 22:44 
AnswerRe: Input from Commandline. Pin
Garth J Lancaster16-May-10 23:33
professionalGarth J Lancaster16-May-10 23:33 
AnswerRe: Input from Commandline. Pin
Aescleal17-May-10 1:11
Aescleal17-May-10 1:11 
QuestionWriteprivateprofilestring() take delay to update original ini file Pin
Shivanand Gupta16-May-10 20:56
Shivanand Gupta16-May-10 20:56 
this makes absolutley no sense as to why this is happening...

Here is the scenerio:

I have an INI file that gets uploaded into some product durring the test.

I have to modify the INI file before upload, so I do so using WritePrivateProfileString(x,x,x,x). Return value is good, no errors.

Read the settings I just changed in the INI file via the GetPrivateProfileString(x,x,x,x), values returned match what I changed them to,

ok, stop there.. (via breakpoint or messagebox)

Now, go into windows explorer and open the INI file and none of the data in the INI file has changed per the write command.

Now, exit the program, or stop it if in the enviornment. Now go and read the INI data from the INI file in windows explorer.. The data is now changed.

Or you can simplely write some data to a bogus file and it will force the INI file to get updated...

OK, now the reason this is such a problem is that after I modify the INI file I have to start the upload process, but I can't because the upload procss graps the file from windows, except the file hasn't been updated yet to the values I wrote using the writeprivateprofilestring command.

This makes no sense to me. Why is windows waiting to update the actual file? Is the a command I need to send to force windows to release the cach so that the file gets updated?

Hopefully someone can explaing what is going on here... Any information will help.. I hope I am so confused by this....
AnswerRe: Writeprivateprofilestring() take delay to update original ini file Pin
Richard MacCutchan16-May-10 21:03
mveRichard MacCutchan16-May-10 21:03 
QuestionRe: Writeprivateprofilestring() take delay to update original ini file Pin
David Crow17-May-10 3:08
David Crow17-May-10 3:08 
Questionwmv blank file creation Pin
mohan_chandra8416-May-10 20:29
mohan_chandra8416-May-10 20:29 
Questionreleated to netdefender firewall Pin
promila jangra16-May-10 6:00
promila jangra16-May-10 6:00 
QuestionUseing UTF-8 in CHttpFile Pin
m_code16-May-10 5:27
m_code16-May-10 5:27 
AnswerRe: Useing UTF-8 in CHttpFile Pin
Richard MacCutchan16-May-10 6:26
mveRichard MacCutchan16-May-10 6:26 
GeneralRe: Useing UTF-8 in CHttpFile Pin
m_code16-May-10 7:51
m_code16-May-10 7:51 
GeneralRe: Useing UTF-8 in CHttpFile Pin
Richard MacCutchan16-May-10 11:13
mveRichard MacCutchan16-May-10 11:13 
GeneralRe: Useing UTF-8 in CHttpFile Pin
m_code16-May-10 21:09
m_code16-May-10 21:09 
GeneralRe: Useing UTF-8 in CHttpFile Pin
Richard MacCutchan17-May-10 1:15
mveRichard MacCutchan17-May-10 1:15 
QuestionJPEG to Cur Conversion Pin
ForNow15-May-10 17:07
ForNow15-May-10 17:07 
AnswerRe: JPEG to Cur Conversion Pin
Code-o-mat16-May-10 0:19
Code-o-mat16-May-10 0:19 
GeneralRe: JPEG to Cur Conversion Pin
ForNow16-May-10 7:10
ForNow16-May-10 7:10 
GeneralRe: JPEG to Cur Conversion Pin
Code-o-mat16-May-10 8:38
Code-o-mat16-May-10 8:38 
GeneralRe: JPEG to Cur Conversion Pin
ForNow16-May-10 8:51
ForNow16-May-10 8:51 
GeneralRe: JPEG to Cur Conversion Pin
Code-o-mat16-May-10 11:47
Code-o-mat16-May-10 11:47 
GeneralRe: JPEG to Cur Conversion --- Awicons did the trick Pin
ForNow16-May-10 8:35
ForNow16-May-10 8:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.