Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Running MFC Exe in other computers Pin
Garth J Lancaster11-Nov-09 22:15
professionalGarth J Lancaster11-Nov-09 22:15 
GeneralRe: Running MFC Exe in other computers Pin
hellogany11-Nov-09 22:47
hellogany11-Nov-09 22:47 
GeneralRe: Running MFC Exe in other computers Pin
Garth J Lancaster11-Nov-09 22:54
professionalGarth J Lancaster11-Nov-09 22:54 
GeneralRe: Running MFC Exe in other computers Pin
hellogany11-Nov-09 23:07
hellogany11-Nov-09 23:07 
QuestionFile existance in Zip Flder Pin
002comp11-Nov-09 21:42
002comp11-Nov-09 21:42 
AnswerRe: File existance in Zip Flder Pin
Garth J Lancaster11-Nov-09 22:23
professionalGarth J Lancaster11-Nov-09 22:23 
GeneralRe: File existance in Zip Flder Pin
002comp11-Nov-09 23:31
002comp11-Nov-09 23:31 
GeneralRe: File existance in Zip Flder Pin
Garth J Lancaster11-Nov-09 23:44
professionalGarth J Lancaster11-Nov-09 23:44 
Im still not quite sure what you are trying to do - you're adding files to a zip but want to know if a file is in the zip before closing it ? huh ? or are you for example checking to see if a file ALREADY exists in the zip and not adding it if it does ?

you could wrap the code I gave you in a function that takes the hz of the open zip file and a string for the filename, and traverses the index like I show, returning say bool true if the file exists

a much simpler way could be for every file you're using ZippAdd for, you store the filename in a string vector before using ZipAdd. Before calling ZipAdd, search the vector using find() for example, if its found, dont ZipAdd it, but your logic is unclear, its late at night here, so thats the best I can do for the moment, sorry

'g'
GeneralRe: File existance in Zip Flder Pin
002comp11-Nov-09 23:59
002comp11-Nov-09 23:59 
QuestionHow to get other program's MessageBox Handle without title ? Pin
wangningyu11-Nov-09 21:28
wangningyu11-Nov-09 21:28 
AnswerRe: How to get other program's MessageBox Handle without title ? Pin
Covean11-Nov-09 21:54
Covean11-Nov-09 21:54 
GeneralRe: How to get other program's MessageBox Handle without title ? Pin
wangningyu11-Nov-09 21:57
wangningyu11-Nov-09 21:57 
GeneralRe: How to get other program's MessageBox Handle without title ? Pin
Covean11-Nov-09 22:07
Covean11-Nov-09 22:07 
GeneralRe: How to get other program's MessageBox Handle without title ? Pin
wangningyu11-Nov-09 22:21
wangningyu11-Nov-09 22:21 
QuestionBullets in editbox Pin
sonualex11-Nov-09 21:28
sonualex11-Nov-09 21:28 
AnswerRe: Bullets in editbox Pin
Madhu Nair11-Nov-09 21:33
Madhu Nair11-Nov-09 21:33 
GeneralRe: Bullets in editbox Pin
sonualex11-Nov-09 22:15
sonualex11-Nov-09 22:15 
GeneralRe: Bullets in editbox Pin
Madhu Nair19-Nov-09 3:57
Madhu Nair19-Nov-09 3:57 
Questionarray implementation Pin
cool_joy211-Nov-09 19:17
cool_joy211-Nov-09 19:17 
AnswerRe: array implementation Pin
Madhu Nair11-Nov-09 20:17
Madhu Nair11-Nov-09 20:17 
GeneralRe: array implementation Pin
cool_joy215-Nov-09 19:58
cool_joy215-Nov-09 19:58 
AnswerRe: array implementation Pin
Madhu Nair19-Nov-09 3:52
Madhu Nair19-Nov-09 3:52 
GeneralRe: array implementation Pin
cool_joy220-Nov-09 20:47
cool_joy220-Nov-09 20:47 
AnswerRe: array implementation Pin
Adam Roderick J11-Nov-09 21:19
Adam Roderick J11-Nov-09 21:19 
AnswerRe: array implementation Pin
David Crow12-Nov-09 5:20
David Crow12-Nov-09 5:20 

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.