Click here to Skip to main content
15,902,275 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: GDI+ concern??????? Pin
TooShy2Talk8-Sep-08 20:15
TooShy2Talk8-Sep-08 20:15 
AnswerRe: GDI+ concern??????? Pin
SandipG 8-Sep-08 20:37
SandipG 8-Sep-08 20:37 
GeneralRe: GDI+ concern??????? Pin
TooShy2Talk8-Sep-08 20:36
TooShy2Talk8-Sep-08 20:36 
QuestionRe: GDI+ concern??????? [modified] Pin
CPallini8-Sep-08 20:54
mveCPallini8-Sep-08 20:54 
AnswerRe: GDI+ concern??????? Pin
TooShy2Talk8-Sep-08 21:25
TooShy2Talk8-Sep-08 21:25 
GeneralRe: GDI+ concern??????? Pin
SandipG 8-Sep-08 21:36
SandipG 8-Sep-08 21:36 
GeneralRe: GDI+ concern??????? Pin
TooShy2Talk8-Sep-08 22:10
TooShy2Talk8-Sep-08 22:10 
GeneralRe: GDI+ concern??????? [modified] Pin
SandipG 8-Sep-08 22:33
SandipG 8-Sep-08 22:33 
GeneralRe: GDI+ concern??????? Pin
CPallini8-Sep-08 22:46
mveCPallini8-Sep-08 22:46 
GeneralRe: GDI+ concern??????? Pin
TooShy2Talk8-Sep-08 22:58
TooShy2Talk8-Sep-08 22:58 
GeneralRe: GDI+ concern??????? Pin
CPallini8-Sep-08 23:04
mveCPallini8-Sep-08 23:04 
AnswerRe: GDI+ concern??????? Pin
TooShy2Talk8-Sep-08 22:16
TooShy2Talk8-Sep-08 22:16 
QuestionSetup package creation Pin
AnithaSubramani8-Sep-08 19:23
AnithaSubramani8-Sep-08 19:23 
AnswerRe: Setup package creation Pin
SandipG 8-Sep-08 21:25
SandipG 8-Sep-08 21:25 
QuestionVisual Studio ADO debugging Pin
mjackson118-Sep-08 19:01
mjackson118-Sep-08 19:01 
QuestionProblem in .exe copy Pin
vcprog8-Sep-08 18:55
vcprog8-Sep-08 18:55 
AnswerRe: Problem in .exe copy Pin
vcprog8-Sep-08 19:41
vcprog8-Sep-08 19:41 
QuestionRe: Problem in .exe copy Pin
CPallini8-Sep-08 19:47
mveCPallini8-Sep-08 19:47 
AnswerRe: Problem in .exe copy Pin
vcprog8-Sep-08 19:55
vcprog8-Sep-08 19:55 
QuestionRe: Problem in .exe copy Pin
CPallini8-Sep-08 19:57
mveCPallini8-Sep-08 19:57 
AnswerRe: Problem in .exe copy Pin
vcprog8-Sep-08 20:37
vcprog8-Sep-08 20:37 
GeneralRe: Problem in .exe copy Pin
CPallini8-Sep-08 20:56
mveCPallini8-Sep-08 20:56 
GeneralRe: Problem in .exe copy Pin
vcprog8-Sep-08 21:14
vcprog8-Sep-08 21:14 
GeneralRe: Problem in .exe copy Pin
SandipG 8-Sep-08 21:27
SandipG 8-Sep-08 21:27 
GeneralRe: Problem in .exe copy Pin
CPallini8-Sep-08 21:37
mveCPallini8-Sep-08 21:37 
vcprog wrote:
// CopyFile(st, cs,TRUE); DWORD dwError = GetLastError(); CopyFile(FileName, cs,TRUE); AfxMessageBox(dwError);


Please replace the above sequence with the following
if ( CopyFile(FileName, cs, TRUE) != TRUE)
{
  DWORD dwError = GetLastError();
  CString szMsg;
  szMsg.Format("Error number %d", dwError);
  AfxMessageBox(szMsg);
}
else
{
  AfxMessageBox("Success");
}


and post the output. 

<div class="ForumSig"><small>If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
                -- Alfonso the Wise, 13th Century King of Castile.<br>
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. 
                -- Iain Clarke
</br></small><small><a href="http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=1778670">[My articles]</a></small></div>

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.