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

C / C++ / MFC

 
AnswerRe: Stroustrup's RAII code Pin
Richard MacCutchan5-Jun-14 6:07
mveRichard MacCutchan5-Jun-14 6:07 
AnswerRe: Stroustrup's RAII code Pin
CPallini5-Jun-14 6:42
mveCPallini5-Jun-14 6:42 
AnswerRe: Stroustrup's RAII code Pin
Joe Woodbury5-Jun-14 7:52
professionalJoe Woodbury5-Jun-14 7:52 
QuestionIFileSaveDialog / Filename Pin
jung-kreidler4-Jun-14 1:50
jung-kreidler4-Jun-14 1:50 
AnswerRe: IFileSaveDialog / Filename Pin
Albert Holguin5-Jun-14 9:35
professionalAlbert Holguin5-Jun-14 9:35 
GeneralRe: IFileSaveDialog / Filename Pin
jung-kreidler5-Jun-14 20:01
jung-kreidler5-Jun-14 20:01 
GeneralRe: IFileSaveDialog / Filename Pin
Albert Holguin6-Jun-14 6:41
professionalAlbert Holguin6-Jun-14 6:41 
Questionneed help to check my code why unzip operation not working Pin
Member 42018203-Jun-14 22:20
Member 42018203-Jun-14 22:20 
Hi All,
i download opensourcecode to unzip a folder from below path
------http://www.winimage.com/zLibDll/minizip.html-------
->How to get the Minizip package and then 1.1 with zip64 support
i want to unzip a folder to another location.
Lets say if the zip file is at
C:\\temp\\aaa.zip
i want to unzip aaa.zip at C:\\temp\\abcd\\aaa

once i download the files from the above link i get Unzip.h file and use unzOpen() function. but unfortunately, its not working as per my expectation.

is there any body who can help me ?

below is my code :
***************************************************************
HRESULT UnZipFile(CAtlString srcPath, CAtlString tgtPath,CAtlString& errorMessage)
{

HRESULT hr=NOERROR;
CAtlString message;

INT result=0;
unzFile pZipFile=unzOpen((CAtlStringA)tgtPath);

if(pZipFile==NULL)
{
hr=E_FAIL;
message.Format(_T("Failed to open a zip file.\r\n%s"), tgtPath);
errorMessage=message;
}
return hr;
}
*****************************************************************


Kind regards,
Praveer
AnswerRe: need help to check my code why unzip operation not working Pin
tagopi3-Jun-14 22:26
tagopi3-Jun-14 22:26 
QuestionRe: need help to check my code why unzip operation not working Pin
CPallini3-Jun-14 22:27
mveCPallini3-Jun-14 22:27 
AnswerRe: need help to check my code why unzip operation not working Pin
Member 42018203-Jun-14 22:58
Member 42018203-Jun-14 22:58 
GeneralRe: need help to check my code why unzip operation not working Pin
Stefan_Lang4-Jun-14 22:11
Stefan_Lang4-Jun-14 22:11 
QuestionRe: need help to check my code why unzip operation not working Pin
David Crow4-Jun-14 7:15
David Crow4-Jun-14 7:15 
QuestionI want to know after spreex coding waveform file, convert ogg format function is? Pin
renxiaoyaoa83-Jun-14 16:35
renxiaoyaoa83-Jun-14 16:35 
AnswerRe: I want to know after spreex coding waveform file, convert ogg format function is? Pin
Richard MacCutchan3-Jun-14 21:49
mveRichard MacCutchan3-Jun-14 21:49 
QuestionHow to use MFC speex audio files (WAV format) for encoding, and converted to ogg files? Pin
renxiaoyaoa82-Jun-14 21:29
renxiaoyaoa82-Jun-14 21:29 
SuggestionRe: How to use MFC speex audio files (WAV format) for encoding, and converted to ogg files? Pin
Richard MacCutchan2-Jun-14 23:28
mveRichard MacCutchan2-Jun-14 23:28 
GeneralRe: How to use MFC speex audio files (WAV format) for encoding, and converted to ogg files? Pin
renxiaoyaoa83-Jun-14 16:12
renxiaoyaoa83-Jun-14 16:12 
QuestionDetect working area of primary monitor Pin
vg8open2-Jun-14 10:49
vg8open2-Jun-14 10:49 
AnswerRe: Detect working area of primary monitor Pin
peterchen3-Jun-14 1:58
peterchen3-Jun-14 1:58 
AnswerRe: Detect working area of primary monitor Pin
Randor 3-Jun-14 7:43
professional Randor 3-Jun-14 7:43 
QuestionAnyone done any Web Scraping in C++/MFC Pin
Bryan Anslow2-Jun-14 6:26
Bryan Anslow2-Jun-14 6:26 
GeneralRe: Anyone done any Web Scraping in C++/MFC Pin
Richard MacCutchan2-Jun-14 7:15
mveRichard MacCutchan2-Jun-14 7:15 
AnswerRe: Anyone done any Web Scraping in C++/MFC Pin
David Crow2-Jun-14 7:26
David Crow2-Jun-14 7:26 
GeneralRe: Anyone done any Web Scraping in C++/MFC Pin
Bryan Anslow2-Jun-14 8:36
Bryan Anslow2-Jun-14 8:36 

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.