Click here to Skip to main content
15,885,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DMA access from user-mode Pin
Maxwell Chen23-Mar-09 4:56
Maxwell Chen23-Mar-09 4:56 
GeneralRe: DMA access from user-mode Pin
Eytukan23-Mar-09 17:56
Eytukan23-Mar-09 17:56 
GeneralRe: DMA access from user-mode Pin
Maxwell Chen23-Mar-09 18:30
Maxwell Chen23-Mar-09 18:30 
JokeRe: DMA access from user-mode Pin
Eytukan23-Mar-09 18:33
Eytukan23-Mar-09 18:33 
GeneralRe: DMA access from user-mode Pin
Maxwell Chen23-Mar-09 19:33
Maxwell Chen23-Mar-09 19:33 
Questionproblem facing in updating images dynamically at runtime using IWebBrwoser2 and IHTMLElement in custom browser Pin
Abhijit A22-Mar-09 21:39
Abhijit A22-Mar-09 21:39 
QuestionSHFILEOPSTRUCT in unicode [modified] Pin
p_196022-Mar-09 20:40
p_196022-Mar-09 20:40 
AnswerRe: SHFILEOPSTRUCT in unicode Pin
Jijo.Raj22-Mar-09 20:53
Jijo.Raj22-Mar-09 20:53 
p_1960 wrote:
and when im using the SHFILEOPSTRUCTA it is deleting.... can u plesase tell me what"s the difference in these two ....(SHFILEOPSTRUCTW and SHFILEOPSTRUCTW)...and i have to use unicode only.....


both are same.

Well, Why do you choose unicode or Ansi version by yourself? just use SHFILEOPSTRUCT + SHFileOperation() and enclose strings in _T() macro. So that the unicode or ansi version will be selected automatically. For instance,

SHFILEOPSTRUCT sh;

sh.hwnd = GetSafeHwnd();
sh.wFunc = FO_DELETE;
sh.pFrom = _T( "C:\\Documents and Settings\\ICS400758\\Local Settings\\Temp\\Tester");
sh.pTo = NULL;
sh.fFlags = FOF_NOCONFIRMATION | FOF_SILENT;
sh.hNameMappings = 0;
sh.lpszProgressTitle = NULL;

SHFileOperation (&sh);


Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

GeneralRe: SHFILEOPSTRUCT in unicode Pin
p_196022-Mar-09 22:07
p_196022-Mar-09 22:07 
GeneralRe: SHFILEOPSTRUCT in unicode Pin
CPallini22-Mar-09 22:14
mveCPallini22-Mar-09 22:14 
AnswerRe: SHFILEOPSTRUCT in unicode [modified] Pin
Iain Clarke, Warrior Programmer22-Mar-09 23:45
Iain Clarke, Warrior Programmer22-Mar-09 23:45 
GeneralRe: SHFILEOPSTRUCT in unicode Pin
p_196023-Mar-09 0:05
p_196023-Mar-09 0:05 
GeneralRe: SHFILEOPSTRUCT in unicode Pin
Iain Clarke, Warrior Programmer23-Mar-09 0:13
Iain Clarke, Warrior Programmer23-Mar-09 0:13 
QuestionMultiThreading Pin
NewVC++22-Mar-09 19:45
NewVC++22-Mar-09 19:45 
AnswerRe: MultiThreading Pin
_AnsHUMAN_ 22-Mar-09 20:00
_AnsHUMAN_ 22-Mar-09 20:00 
GeneralRe: MultiThreading Pin
NewVC++22-Mar-09 20:17
NewVC++22-Mar-09 20:17 
GeneralRe: MultiThreading Pin
_AnsHUMAN_ 22-Mar-09 20:22
_AnsHUMAN_ 22-Mar-09 20:22 
AnswerRe: MultiThreading Pin
David Crow23-Mar-09 3:34
David Crow23-Mar-09 3:34 
QuestionDrag & drop between tree controls(Very Urgent........) Pin
AnithaSubramani22-Mar-09 19:22
AnithaSubramani22-Mar-09 19:22 
AnswerRe: Drag & drop between tree controls(Very Urgent........) Pin
Jijo.Raj22-Mar-09 19:45
Jijo.Raj22-Mar-09 19:45 
AnswerRe: Drag & drop between tree controls(Very Urgent........) Pin
Iain Clarke, Warrior Programmer23-Mar-09 0:07
Iain Clarke, Warrior Programmer23-Mar-09 0:07 
QuestionRe: Drag & drop between tree controls(Very Urgent........) Pin
David Crow23-Mar-09 3:37
David Crow23-Mar-09 3:37 
QuestionOle problem when using with Microsoft Power Point Pin
Member 411184722-Mar-09 18:40
Member 411184722-Mar-09 18:40 
QuestionBuild Errors Using CString not CStringT Pin
ForNow22-Mar-09 10:53
ForNow22-Mar-09 10:53 
AnswerRe: Build Errors Using CString not CStringT Pin
Joe Woodbury22-Mar-09 14:35
professionalJoe Woodbury22-Mar-09 14:35 

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.