Click here to Skip to main content
15,906,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is this Code Valid? Pin
Manikandan106-Jun-14 18:54
professionalManikandan106-Jun-14 18:54 
Generalwhat does it do Pin
bkelly137-Jun-14 14:33
bkelly137-Jun-14 14:33 
GeneralRe: what does it do Pin
Richard MacCutchan7-Jun-14 22:34
mveRichard MacCutchan7-Jun-14 22:34 
GeneralRe: what does it do Pin
bkelly138-Jun-14 4:52
bkelly138-Jun-14 4:52 
AnswerRe: Is this Code Valid? Pin
Randor 6-Jun-14 23:43
professional Randor 6-Jun-14 23:43 
GeneralRe: Is this Code Valid? Pin
Manikandan107-Jun-14 0:00
professionalManikandan107-Jun-14 0:00 
Questionabout speex and ogg! Pin
renxiaoyaoa85-Jun-14 21:08
renxiaoyaoa85-Jun-14 21:08 
QuestionWiX Toolset Compiler error Pin
sreehari_mysore5-Jun-14 19:26
sreehari_mysore5-Jun-14 19:26 
AnswerRe: WiX Toolset Compiler error Pin
Richard MacCutchan5-Jun-14 22:08
mveRichard MacCutchan5-Jun-14 22:08 
QuestionMade of libogg ogg files can be directly through the player play? Pin
renxiaoyaoa85-Jun-14 16:10
renxiaoyaoa85-Jun-14 16:10 
AnswerRe: Made of libogg ogg files can be directly through the player play? Pin
Richard MacCutchan5-Jun-14 22:05
mveRichard MacCutchan5-Jun-14 22:05 
QuestionStroustrup's RAII code Pin
elelont25-Jun-14 4:15
elelont25-Jun-14 4:15 
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 
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 
How so if you don't even use the source path in your code?

P.S.:
More to the point, you don't call any functions to actually unzip anything! Unzopen fails, because it expects the zip file name/path, but you are passing to it the target path, which presumably is a directory, not a file at all. NMo wonder it doesn't work!

Moreover, unzOpen only provides a handle to the zip file that lets you access the individual files contained within, you need to use variuous other functions to walk over the list of files, find their relative path, and extract it to the target location.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

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 

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.