Click here to Skip to main content
15,920,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to write and save ini files like some apps do with their ini's Pin
shultas26-Dec-03 17:03
shultas26-Dec-03 17:03 
GeneralRe: how to write and save ini files like some apps do with their ini's Pin
ELY M.27-Dec-03 5:22
ELY M.27-Dec-03 5:22 
GeneralRe: how to write and save ini files like some apps do with their ini's Pin
shultas28-Dec-03 10:08
shultas28-Dec-03 10:08 
GeneralRe: how to write and save ini files like some apps do with their ini's Pin
ELY M.29-Dec-03 5:01
ELY M.29-Dec-03 5:01 
GeneralRe: how to write and save ini files like some apps do with their ini's Pin
ELY M.29-Dec-03 5:20
ELY M.29-Dec-03 5:20 
GeneralRe: how to write and save ini files like some apps do with their ini's Pin
ELY M.29-Dec-03 6:34
ELY M.29-Dec-03 6:34 
GeneralPostMessage Problem Pin
percyvimal25-Dec-03 18:00
percyvimal25-Dec-03 18:00 
GeneralRe: PostMessage Problem Pin
Monty225-Dec-03 20:39
Monty225-Dec-03 20:39 
GeneralCSingleLock Pin
Anonymous25-Dec-03 17:10
Anonymous25-Dec-03 17:10 
GeneralRe: CSingleLock Pin
Michael Dunn25-Dec-03 19:15
sitebuilderMichael Dunn25-Dec-03 19:15 
GeneralRe: CSingleLock Pin
Anonymous25-Dec-03 20:30
Anonymous25-Dec-03 20:30 
Questiondifference between ATL, MFC, and .NET Common Class? Pin
torrentmoon25-Dec-03 14:45
torrentmoon25-Dec-03 14:45 
AnswerRe: difference between ATL, MFC, and .NET Common Class? Pin
peterchen25-Dec-03 23:38
peterchen25-Dec-03 23:38 
GeneralRe: difference between ATL, MFC, and .NET Common Class? Pin
torrentmoon25-Dec-03 23:55
torrentmoon25-Dec-03 23:55 
GeneralRe: difference between ATL, MFC, and .NET Common Class? Pin
Jörgen Sigvardsson26-Dec-03 6:10
Jörgen Sigvardsson26-Dec-03 6:10 
GeneralMemory Leak When Invoke Web Service From VC++.net Using Autogen Proxy Class!! Pin
gpmn25-Dec-03 14:22
gpmn25-Dec-03 14:22 
GeneralRe: Memory Leak When Invoke Web Service From VC++.net Using Autogen Proxy Class!! Pin
gpmn25-Dec-03 14:27
gpmn25-Dec-03 14:27 
GeneralBest way to display a progressbar for file copying Pin
shultas25-Dec-03 13:04
shultas25-Dec-03 13:04 
GeneralRe: Best way to display a progressbar for file copying Pin
l a u r e n25-Dec-03 13:17
l a u r e n25-Dec-03 13:17 
GeneralRe: Best way to display a progressbar for file copying Pin
PJ Arends25-Dec-03 13:29
professionalPJ Arends25-Dec-03 13:29 
GeneralRe: Best way to display a progressbar for file copying Pin
shultas25-Dec-03 14:04
shultas25-Dec-03 14:04 
GeneralRe: Best way to display a progressbar for file copying Pin
shultas25-Dec-03 14:13
shultas25-Dec-03 14:13 
GeneralRe: Best way to display a progressbar for file copying Pin
PJ Arends25-Dec-03 14:36
professionalPJ Arends25-Dec-03 14:36 
shultas wrote:
Do you suggest that I build the file copy routines in straight C, in order to get the actual number of bytes that are currently copied, or is there an easier way?

If you want to show the progress of the copy as it is being copied, then yes, write your own copy routine. If you are using MFC you could use the CFile::Read() and CFile::Write() to move large blocks of data in one step. I wouldn't try to do the copy one byte at a time. If you are not using MFC, then fread() and fwrite(), or _read() and _write() would be the functions to use.

shultas wrote:
By the way: I really appreciate you taking the time to help me out!

No problem, I am currently sitting here contemplating my belly button so I might as well have something better to doBlush | :O








Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
GeneralRe: Best way to display a progressbar for file copying Pin
shultas25-Dec-03 15:34
shultas25-Dec-03 15:34 
GeneralRe: Best way to display a progressbar for file copying Pin
PJ Arends25-Dec-03 16:03
professionalPJ Arends25-Dec-03 16:03 

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.