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

C / C++ / MFC

 
GeneralRe: TextOut/DrawText is too slow Pin
Joe Smith IX7-Dec-11 3:10
Joe Smith IX7-Dec-11 3:10 
AnswerRe: TextOut/DrawText is too slow Pin
Software_Developer6-Dec-11 15:30
Software_Developer6-Dec-11 15:30 
AnswerRe: TextOut/DrawText is too slow Pin
JackDingler9-Dec-11 10:10
JackDingler9-Dec-11 10:10 
QuestionDesigning file processing application Pin
Member 3287156-Dec-11 4:07
Member 3287156-Dec-11 4:07 
AnswerRe: Designing file processing application Pin
Albert Holguin6-Dec-11 5:30
professionalAlbert Holguin6-Dec-11 5:30 
GeneralRe: Designing file processing application Pin
JackDingler6-Dec-11 6:17
JackDingler6-Dec-11 6:17 
AnswerRe: Designing file processing application Pin
Luc Pattyn6-Dec-11 6:10
sitebuilderLuc Pattyn6-Dec-11 6:10 
QuestionAccessing file from a remote location Pin
_AnsHUMAN_ 6-Dec-11 1:12
_AnsHUMAN_ 6-Dec-11 1:12 
Hello All,
I am writing an application to get some zipped files from a remote location [over WAN but within the domain]. The file data is huge [around 1.5 GB]. I need to unzip the contents of the file to a temporary location and then read an unzipped database to get required information.

Currently what I do is this:

1. I have written the code using FindFirstFile/FindNextFile.
2. Download the files to a temporary location.
3. Unzip the contents of the file.
4. Read the extracted database file.
5. Display the result.

But this process is slow and communicating over the network is slow as well. I understand that the download speed will be a major factor in getting the files faster, but is there any other tweak that I can follow to make this work in a better way?

P.S. I cannot do this on a on-demand basis as the datastructure in the zipped file doesn't support this and is not likely to be changed.
You talk about Being HUMAN. I have it in my name
AnsHUMAN

AnswerRe: Accessing file from a remote location Pin
Code-o-mat6-Dec-11 1:34
Code-o-mat6-Dec-11 1:34 
QuestionRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 2:46
professionalRajesh R Subramanian6-Dec-11 2:46 
AnswerRe: Accessing file from a remote location Pin
_AnsHUMAN_ 6-Dec-11 16:52
_AnsHUMAN_ 6-Dec-11 16:52 
GeneralRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 18:15
professionalRajesh R Subramanian6-Dec-11 18:15 
GeneralRe: Accessing file from a remote location Pin
pix_programmer6-Dec-11 19:30
pix_programmer6-Dec-11 19:30 
AnswerRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 20:03
professionalRajesh R Subramanian6-Dec-11 20:03 
GeneralRe: Accessing file from a remote location Pin
KjellKod.cc6-Dec-11 20:16
KjellKod.cc6-Dec-11 20:16 
SuggestionRe: Accessing file from a remote location Pin
David Crow7-Dec-11 6:24
David Crow7-Dec-11 6:24 
Questionconvert from 'LPCTSTR' to 'const char *' Pin
Le@rner6-Dec-11 0:31
Le@rner6-Dec-11 0:31 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Code-o-mat6-Dec-11 1:31
Code-o-mat6-Dec-11 1:31 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Richard MacCutchan6-Dec-11 1:48
mveRichard MacCutchan6-Dec-11 1:48 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Rajesh R Subramanian6-Dec-11 2:00
professionalRajesh R Subramanian6-Dec-11 2:00 
QuestionSendMessage with WM_SETFOCUS and SetFocus() function Pin
msr_codeproject5-Dec-11 23:45
msr_codeproject5-Dec-11 23:45 
AnswerRe: SendMessage with WM_SETFOCUS and SetFocus() function Pin
Richard MacCutchan5-Dec-11 23:50
mveRichard MacCutchan5-Dec-11 23:50 
AnswerRe: SendMessage with WM_SETFOCUS and SetFocus() function Pin
Albert Holguin6-Dec-11 3:34
professionalAlbert Holguin6-Dec-11 3:34 
Questionwhy pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
Le@rner5-Dec-11 19:45
Le@rner5-Dec-11 19:45 
AnswerRe: why pApplication.CreateInstance( _T("Excel.Application") ) FAILED? Pin
CPallini5-Dec-11 21:47
mveCPallini5-Dec-11 21:47 

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.