Click here to Skip to main content
15,895,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: source code window is not displayed Pin
George_George6-Oct-08 0:22
George_George6-Oct-08 0:22 
QuestionLoading DLLs more than once Pin
DSPCottage5-Oct-08 21:27
DSPCottage5-Oct-08 21:27 
QuestionRe: Loading DLLs more than once Pin
CPallini5-Oct-08 22:14
mveCPallini5-Oct-08 22:14 
AnswerRe: Loading DLLs more than once Pin
DSPCottage5-Oct-08 22:40
DSPCottage5-Oct-08 22:40 
GeneralRe: Loading DLLs more than once Pin
CPallini5-Oct-08 22:49
mveCPallini5-Oct-08 22:49 
QuestionSHFileOperation Pin
MsmVc5-Oct-08 21:02
MsmVc5-Oct-08 21:02 
QuestionRe: SHFileOperation Pin
CPallini5-Oct-08 22:16
mveCPallini5-Oct-08 22:16 
GeneralRe: SHFileOperation Pin
fantasy12155-Oct-08 22:20
fantasy12155-Oct-08 22:20 
void CTestgarbageDlg::OnButton1() 
{
	SHFILEOPSTRUCT	shop;
	shop.hwnd = this->GetSafeHwnd();
	shop.wFunc = FO_COPY;
	shop.pFrom = _T("c:\\AUTOEXEC.BAT\0");
	shop.pTo = _T("d:\0");
	shop.fFlags = FOF_FILESONLY;
	
	int iRet = -1;
	iRet = SHFileOperation(&shop);
	if (iRet == 0)
	{
		//sucess
		AfxMessageBox(_T("sucess"));
	}
	else
	{
		AfxMessageBox(_T("fail"));
	}
	
}


I've tried the code above, it works fine. Hope it helps you.
QuestionRe: SHFileOperation [modified] Pin
CPallini5-Oct-08 22:28
mveCPallini5-Oct-08 22:28 
AnswerRe: SHFileOperation Pin
SandipG 5-Oct-08 22:34
SandipG 5-Oct-08 22:34 
GeneralRe: SHFileOperation Pin
Rajesh R Subramanian5-Oct-08 22:43
professionalRajesh R Subramanian5-Oct-08 22:43 
GeneralRe: SHFileOperation Pin
CPallini5-Oct-08 22:50
mveCPallini5-Oct-08 22:50 
GeneralRe: SHFileOperation Pin
SandipG 5-Oct-08 22:54
SandipG 5-Oct-08 22:54 
GeneralRe: SHFileOperation Pin
CPallini5-Oct-08 22:44
mveCPallini5-Oct-08 22:44 
QuestionON_EN_CHANGE() Notification problem of CEdit Box Pin
Dhiraj kumar Saini5-Oct-08 20:19
Dhiraj kumar Saini5-Oct-08 20:19 
AnswerRe: ON_EN_CHANGE() Notification problem of CEdit Box Pin
Chandrasekharan P5-Oct-08 20:24
Chandrasekharan P5-Oct-08 20:24 
RantRe: ON_EN_CHANGE() Notification problem of CEdit Box Pin
Rajesh R Subramanian5-Oct-08 20:27
professionalRajesh R Subramanian5-Oct-08 20:27 
AnswerRe: ON_EN_CHANGE() Notification problem of CEdit Box Pin
Cedric Moonen5-Oct-08 20:28
Cedric Moonen5-Oct-08 20:28 
QuestionAccess the controls of other dialog boxes. Pin
hariakuthota5-Oct-08 20:10
hariakuthota5-Oct-08 20:10 
AnswerRe: Access the controls of other dialog boxes. Pin
_AnsHUMAN_ 5-Oct-08 20:15
_AnsHUMAN_ 5-Oct-08 20:15 
AnswerRe: Access the controls of other dialog boxes. Pin
Chandrasekharan P5-Oct-08 20:29
Chandrasekharan P5-Oct-08 20:29 
QuestionProblem in binary compilation with assembly language. [modified] Pin
SNI5-Oct-08 19:50
SNI5-Oct-08 19:50 
AnswerRe: Problem in binary compilation with assembly language. Pin
Naveen5-Oct-08 20:25
Naveen5-Oct-08 20:25 
GeneralRe: Problem in binary compilation with assembly language. Pin
SNI5-Oct-08 22:54
SNI5-Oct-08 22:54 
GeneralRe: Problem in binary compilation with assembly language. Pin
Naveen5-Oct-08 23:20
Naveen5-Oct-08 23: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.