Click here to Skip to main content
15,884,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: function doesn't reply Pin
Software_Developer15-May-10 10:37
Software_Developer15-May-10 10:37 
GeneralRe: function doesn't reply Pin
Member 392263917-May-10 2:36
Member 392263917-May-10 2:36 
GeneralRe: Thanks Pin
Software_Developer17-May-10 5:13
Software_Developer17-May-10 5:13 
AnswerRe: function doesn't reply Pin
loyal ginger15-May-10 10:43
loyal ginger15-May-10 10:43 
QuestionButton behavior - single button multiple behaviour Pin
Software_Developer15-May-10 7:57
Software_Developer15-May-10 7:57 
QuestionWritePrivateProfileString to write Ini file problem Pin
Shivanand Gupta15-May-10 6:52
Shivanand Gupta15-May-10 6:52 
AnswerRe: WritePrivateProfileString to write Ini file problem Pin
norish15-May-10 8:32
norish15-May-10 8:32 
GeneralRe: WritePrivateProfileString to write Ini file problem Pin
Shivanand Gupta16-May-10 20:57
Shivanand Gupta16-May-10 20:57 
ok, 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....
Questionhow hook the registry Pin
Natural_Demon15-May-10 4:27
Natural_Demon15-May-10 4:27 
AnswerRe: how hook the registry Pin
Software_Developer15-May-10 5:49
Software_Developer15-May-10 5:49 
AnswerRe: how hook the registry Pin
Code-o-mat15-May-10 5:51
Code-o-mat15-May-10 5:51 
GeneralRe: how hook the registry Pin
Natural_Demon15-May-10 9:51
Natural_Demon15-May-10 9:51 
GeneralRe: how hook the registry Pin
Code-o-mat15-May-10 10:00
Code-o-mat15-May-10 10:00 
GeneralRe: how hook the registry Pin
Natural_Demon15-May-10 14:54
Natural_Demon15-May-10 14:54 
GeneralRe: how hook the registry Pin
Natural_Demon15-May-10 15:22
Natural_Demon15-May-10 15:22 
GeneralRe: how hook the registry Pin
Code-o-mat16-May-10 0:17
Code-o-mat16-May-10 0:17 
GeneralRe: how hook the registry Pin
Natural_Demon16-May-10 6:57
Natural_Demon16-May-10 6:57 
QuestionVisual Studio unmanaged C++ TCP/IP client-server examples Pin
Stevo Z14-May-10 23:05
Stevo Z14-May-10 23:05 
AnswerRe: Visual Studio unmanaged C++ TCP/IP client-server examples Pin
Richard MacCutchan15-May-10 2:36
mveRichard MacCutchan15-May-10 2:36 
GeneralRe: Visual Studio unmanaged C++ TCP/IP client-server examples Pin
Hristo-Bojilov15-May-10 2:51
Hristo-Bojilov15-May-10 2:51 
GeneralRe: Visual Studio unmanaged C++ TCP/IP client-server examples Pin
Richard MacCutchan15-May-10 4:23
mveRichard MacCutchan15-May-10 4:23 
GeneralRe: Visual Studio unmanaged C++ TCP/IP client-server examples Pin
Stevo Z15-May-10 4:41
Stevo Z15-May-10 4:41 
NewsRe: Visual Studio unmanaged C++ TCP/IP client-server examples Pin
norish15-May-10 4:11
norish15-May-10 4:11 
GeneralRe: Visual Studio unmanaged C++ TCP/IP client-server examples Pin
Stevo Z15-May-10 4:35
Stevo Z15-May-10 4:35 
AnswerRe: Visual Studio unmanaged C++ TCP/IP client-server examples Pin
Moak15-May-10 4:34
Moak15-May-10 4:34 

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.