Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Satellite DLLs Pin
Cvaji24-Apr-07 0:14
Cvaji24-Apr-07 0:14 
QuestionSerial Port Communication in MFC Pin
QuickDeveloper23-Apr-07 20:02
QuickDeveloper23-Apr-07 20:02 
AnswerRe: Serial Port Communication in MFC Pin
CPallini23-Apr-07 20:47
mveCPallini23-Apr-07 20:47 
AnswerRe: Serial Port Communication in MFC Pin
Roger Stoltz24-Apr-07 1:27
Roger Stoltz24-Apr-07 1:27 
GeneralRe: Serial Port Communication in MFC Pin
QuickDeveloper24-Apr-07 6:29
QuickDeveloper24-Apr-07 6:29 
QuestionGetting a particular test suite in cppunit testcases Pin
krischowdary23-Apr-07 19:46
krischowdary23-Apr-07 19:46 
AnswerRe: Getting a particular test suite in cppunit testcases Pin
Ranjoy Guha24-Apr-07 2:14
Ranjoy Guha24-Apr-07 2:14 
QuestionProblems in creating file Pin
sonavi23-Apr-07 19:41
sonavi23-Apr-07 19:41 
Hi,
I am new to vc++.

I am trying to creat file using the following code.but it is not creating the file.INVALID_HANDLE_VALUE is returned. what may be the reason for the failure.


hFile = CreateFile(m_storagePath,GENERIC_REA|ENERIC_WRITE, FILE_SHARE_READ, NULL,OPEN_ALWAYS,FILE_ATTRIBUTE_NORMAL,0);

if (hFile == INVALID_HANDLE_VALUE)
{
AfxMessageBox( "File cant be created ");
//return 0;
}

Help Ever Hurt Never

AnswerRe: Problems in creating file Pin
kakan23-Apr-07 19:45
professionalkakan23-Apr-07 19:45 
GeneralRe: Problems in creating file Pin
sonavi23-Apr-07 20:08
sonavi23-Apr-07 20:08 
GeneralRe: Problems in creating file Pin
kakan23-Apr-07 20:47
professionalkakan23-Apr-07 20:47 
AnswerRe: Problems in creating file Pin
Hamid_RT23-Apr-07 19:54
Hamid_RT23-Apr-07 19:54 
AnswerRe: Problems in creating file Pin
Michael Dunn23-Apr-07 20:27
sitebuilderMichael Dunn23-Apr-07 20:27 
AnswerRe: Problems in creating file Pin
vijay_aroli23-Apr-07 23:09
vijay_aroli23-Apr-07 23:09 
QuestionCSplitterWnd Pin
Nishad S23-Apr-07 19:33
Nishad S23-Apr-07 19:33 
AnswerRe: CSplitterWnd Pin
Parthi_Appu23-Apr-07 19:54
Parthi_Appu23-Apr-07 19:54 
GeneralRe: CSplitterWnd Pin
Nishad S23-Apr-07 21:07
Nishad S23-Apr-07 21:07 
GeneralRe: CSplitterWnd Pin
Nibu babu thomas24-Apr-07 0:32
Nibu babu thomas24-Apr-07 0:32 
GeneralRe: CSplitterWnd Pin
Mark Salsbery24-Apr-07 8:46
Mark Salsbery24-Apr-07 8:46 
QuestionActive-x component instance creation takes more time. Pin
praveen kumar agarwal23-Apr-07 18:50
praveen kumar agarwal23-Apr-07 18:50 
QuestionSetup file pbm Pin
prathuraj23-Apr-07 18:35
prathuraj23-Apr-07 18:35 
AnswerRe: Setup file pbm Pin
Don Box23-Apr-07 21:25
Don Box23-Apr-07 21:25 
QuestionArrays in VC++ 2005 Pin
Debun23-Apr-07 18:13
Debun23-Apr-07 18:13 
AnswerRe: Arrays in VC++ 2005 Pin
Hamid_RT23-Apr-07 19:22
Hamid_RT23-Apr-07 19:22 
AnswerRe: Arrays in VC++ 2005 Pin
Mark Salsbery24-Apr-07 8:52
Mark Salsbery24-Apr-07 8:52 

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.