Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: One project linking to files in another project Pin
Cedric Moonen11-Jul-07 3:34
Cedric Moonen11-Jul-07 3:34 
GeneralRe: One project linking to files in another project Pin
Marimuthu.r11-Jul-07 3:57
Marimuthu.r11-Jul-07 3:57 
QuestionDelete File function for wildcards Pin
Programm3r11-Jul-07 2:41
Programm3r11-Jul-07 2:41 
AnswerRe: Delete File function for wildcards Pin
James R. Twine11-Jul-07 3:05
James R. Twine11-Jul-07 3:05 
QuestionRe: Delete File function for wildcards Pin
Programm3r11-Jul-07 3:07
Programm3r11-Jul-07 3:07 
GeneralRe: Delete File function for wildcards Pin
Programm3r11-Jul-07 3:11
Programm3r11-Jul-07 3:11 
AnswerRe: Delete File function for wildcards Pin
David Crow11-Jul-07 3:15
David Crow11-Jul-07 3:15 
QuestionRe: Delete File function for wildcards Pin
Programm3r11-Jul-07 3:31
Programm3r11-Jul-07 3:31 
Hi David, I have tried the following:

SHFILEOPSTRUCT wildcards;
wildcards.wFunc = FO_DELETE;
wildcards.hwnd=NULL;
wildcards.pFrom=(LPCTSTR)lpUpDownFiles[first].szUpFName;
wildcards.fFlags=FOF_FILESONLY;
SHFileOperation(wildcards);


But get the following error:
Error 7 error C2664: 'SHFileOperationA' : cannot convert parameter 1 from 'SHFILEOPSTRUCT' to 'LPSHFILEOPSTRUCTA'

Can you please help?

Many Thanks
Regards,



The only programmers that are better that C programmers are those who code in 1's and 0's Green Alien | [Alien]

Smile | :) Programm3r

My Blog: ^_^

AnswerRe: Delete File function for wildcards Pin
David Crow11-Jul-07 3:33
David Crow11-Jul-07 3:33 
AnswerRe: Delete File function for wildcards Pin
Programm3r11-Jul-07 3:35
Programm3r11-Jul-07 3:35 
QuestionRe: Delete File function for wildcards Pin
David Crow11-Jul-07 3:59
David Crow11-Jul-07 3:59 
QuestionRe: Delete File function for wildcards Pin
Programm3r11-Jul-07 3:55
Programm3r11-Jul-07 3:55 
GeneralRe: Delete File function for wildcards [modified] Pin
Programm3r11-Jul-07 4:02
Programm3r11-Jul-07 4:02 
GeneralRe: Delete File function for wildcards Pin
Michael Dunn11-Jul-07 7:13
sitebuilderMichael Dunn11-Jul-07 7:13 
AnswerRe: Delete File function for wildcards Pin
DevMentor.org11-Jul-07 23:35
DevMentor.org11-Jul-07 23:35 
QuestionHow to find out the size of a structure without using sizeof Pin
Rajasegar11-Jul-07 2:35
Rajasegar11-Jul-07 2:35 
AnswerRe: structure size Pin
David Crow11-Jul-07 2:39
David Crow11-Jul-07 2:39 
AnswerRe: How to find out the size of a structure without using sizeof Pin
jhwurmbach11-Jul-07 2:57
jhwurmbach11-Jul-07 2:57 
AnswerRe: How to find out the size of a structure without using sizeof Pin
CPallini11-Jul-07 3:14
mveCPallini11-Jul-07 3:14 
QuestionRe: How to find out the size of a structure without using sizeof Pin
David Crow11-Jul-07 3:16
David Crow11-Jul-07 3:16 
AnswerRe: How to find out the size of a structure without using sizeof Pin
Rajasegar11-Jul-07 3:22
Rajasegar11-Jul-07 3:22 
QuestionRe: How to find out the size of a structure without using sizeof Pin
David Crow11-Jul-07 3:31
David Crow11-Jul-07 3:31 
AnswerRe: How to find out the size of a structure without using sizeof Pin
CPallini11-Jul-07 3:26
mveCPallini11-Jul-07 3:26 
QuestionRe: How to find out the size of a structure without using sizeof Pin
David Crow11-Jul-07 3:28
David Crow11-Jul-07 3:28 
AnswerRe: How to find out the size of a structure without using sizeof Pin
CPallini11-Jul-07 3:32
mveCPallini11-Jul-07 3:32 

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.