Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralBest way to read a text file Pin
shultas25-Dec-03 11:44
shultas25-Dec-03 11:44 
GeneralRe: Best way to read a text file Pin
PJ Arends25-Dec-03 12:04
professionalPJ Arends25-Dec-03 12:04 
Generaluse CStdioFile class Pin
abudu25-Dec-03 20:54
abudu25-Dec-03 20:54 
GeneralProblem How to get All files from a Folder Pin
xxtra25-Dec-03 8:53
xxtra25-Dec-03 8:53 
GeneralRe: Problem How to get All files from a Folder Pin
PJ Arends25-Dec-03 9:14
professionalPJ Arends25-Dec-03 9:14 
GeneralRe: Problem How to get All files from a Folder Pin
(Steven Hicks)n+125-Dec-03 9:18
(Steven Hicks)n+125-Dec-03 9:18 
GeneralDll Functions Name & parameters Pin
Ghasrfakhri25-Dec-03 6:32
Ghasrfakhri25-Dec-03 6:32 
GeneralRe: Dll Functions Name & parameters Pin
valikac25-Dec-03 7:02
valikac25-Dec-03 7:02 
GeneralRe: Dll Functions Name & parameters Pin
User 665825-Dec-03 7:03
User 665825-Dec-03 7:03 
GeneralRe: Dll Functions Name & parameters Pin
Sebastián Benítez25-Dec-03 7:53
Sebastián Benítez25-Dec-03 7:53 
GeneralProgress Bar Slowing Down Program Pin
shultas25-Dec-03 5:30
shultas25-Dec-03 5:30 
GeneralRe: Progress Bar Slowing Down Program Pin
PJ Arends25-Dec-03 9:21
professionalPJ Arends25-Dec-03 9:21 
GeneralRe: Progress Bar Slowing Down Program Pin
shultas25-Dec-03 12:34
shultas25-Dec-03 12:34 
GeneralRe: Progress Bar Slowing Down Program Pin
Michael Dunn25-Dec-03 19:20
sitebuilderMichael Dunn25-Dec-03 19:20 
Questionhow solve this debug erro? Pin
benben25-Dec-03 3:56
benben25-Dec-03 3:56 

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.