Click here to Skip to main content
15,886,833 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: const in class as a member variable? Pin
CPallini23-Jul-09 6:06
mveCPallini23-Jul-09 6:06 
GeneralRe: const in class as a member variable? Pin
sam_psycho23-Jul-09 6:22
sam_psycho23-Jul-09 6:22 
GeneralRe: const in class as a member variable? Pin
CPallini23-Jul-09 6:50
mveCPallini23-Jul-09 6:50 
QuestionTitleBar Pin
kumar sanghvi23-Jul-09 3:36
kumar sanghvi23-Jul-09 3:36 
QuestionRe: TitleBar Pin
Mahesh Kulkarni23-Jul-09 20:59
Mahesh Kulkarni23-Jul-09 20:59 
QuestionWhich low-level I/O API is better? MFC or POSIX Pin
Dimitris Vikeloudas23-Jul-09 3:13
Dimitris Vikeloudas23-Jul-09 3:13 
AnswerRe: Which low-level I/O API is better? MFC or POSIX Pin
CPallini23-Jul-09 3:41
mveCPallini23-Jul-09 3:41 
AnswerRe: Which low-level I/O API is better? MFC or POSIX Pin
RomanMzh23-Jul-09 3:50
RomanMzh23-Jul-09 3:50 
Short answer
If your only targeting Windows platforms use CreateFile.

Longer answer
The main reason you would want to use the CRT functions (open() close() etc) is to make your program more portable there isn't any obvious advantage in speed or performance.
That said, using win32 APIs does allows you to specify various parameters that CRT doesn't like Security attributes, Template file etc.

It doesn't really matter what compiler you use in terms of the APIs you call the CRT you will use is the same regardless of the compiler used. That said I don't see a reason to use gcc to compile code for Windows.
GeneralRe: Which low-level I/O API is better? MFC or POSIX Pin
Dimitris Vikeloudas23-Jul-09 4:25
Dimitris Vikeloudas23-Jul-09 4:25 
GeneralRe: Which low-level I/O API is better? MFC or POSIX Pin
Randor 23-Jul-09 4:58
professional Randor 23-Jul-09 4:58 
GeneralRe: Which low-level I/O API is better? MFC or POSIX Pin
Dimitris Vikeloudas23-Jul-09 6:09
Dimitris Vikeloudas23-Jul-09 6:09 
QuestionSetOwner(CWnd* pOwnerWnd); Pin
Rakesh523-Jul-09 3:02
Rakesh523-Jul-09 3:02 
AnswerRe: SetOwner(CWnd* pOwnerWnd); Pin
CPallini23-Jul-09 3:47
mveCPallini23-Jul-09 3:47 
QuestionFindItem of ListCtrl not find exact string in list. Pin
Le@rner23-Jul-09 2:32
Le@rner23-Jul-09 2:32 
AnswerRe: FindItem of ListCtrl not find exact string in list. Pin
krmed23-Jul-09 2:43
krmed23-Jul-09 2:43 
AnswerRe: FindItem of ListCtrl not find exact string in list. Pin
Muhammad Mazhar23-Jul-09 2:54
Muhammad Mazhar23-Jul-09 2:54 
QuestionLocking 24bpp bitmap portion Pin
Chesnokov Yuriy23-Jul-09 1:24
professionalChesnokov Yuriy23-Jul-09 1:24 
AnswerRe: Locking 24bpp bitmap portion Pin
uraeu23-Jul-09 3:08
uraeu23-Jul-09 3:08 
AnswerRe: Locking 24bpp bitmap portion Pin
Chesnokov Yuriy23-Jul-09 4:07
professionalChesnokov Yuriy23-Jul-09 4:07 
AnswerRe: Locking 24bpp bitmap portion Pin
Randor 23-Jul-09 5:25
professional Randor 23-Jul-09 5:25 
QuestionRe: Locking 24bpp bitmap portion Pin
Chesnokov Yuriy23-Jul-09 8:06
professionalChesnokov Yuriy23-Jul-09 8:06 
AnswerRe: Locking 24bpp bitmap portion Pin
Randor 23-Jul-09 8:27
professional Randor 23-Jul-09 8:27 
QuestionRe: Locking 24bpp bitmap portion Pin
Chesnokov Yuriy23-Jul-09 19:24
professionalChesnokov Yuriy23-Jul-09 19:24 
AnswerRe: Locking 24bpp bitmap portion Pin
Randor 23-Jul-09 23:25
professional Randor 23-Jul-09 23:25 
Question"Ok" and "Apply" functions are overruled by the other property pages. Pin
aravind.sn23-Jul-09 1:14
aravind.sn23-Jul-09 1:14 

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.