Top "Mfc" questions

This tag should be used for questions concerning Microsoft Foundation Class Library (MFC), a C++ framework for Windows desktop GUI application programming.

MFC does not support WINVER less than 0x0501

I have a C++ project that references many other projects/libraries. This is for an application that was created many …

visual-studio mfc
What is the difference between BOOL and bool?

In VC++ we have the data type “BOOL” which can assume the value TRUE or FALSE, and we have the …

windows winapi visual-c++ mfc
Error LNK2019 when using GetFileVersionInfoSize()

I just included this bit in my already working code, but I am getting an LNK2019 error. I'll paste the …

c++ mfc
CString to char*

We are using the CString class throughout most of our code. However sometimes we need to convert to a char *. …

c++ mfc memory-leaks cstring
0xC0000005: Access violation executing location 0x00000000

I'm writing an MFC project that try to call a function in the DLL which will return some information in …

c++ mfc access-violation loadlibrary getprocaddress
What's the fundamental difference between MFC and ATL?

Assuming I am only using them for "normal" GUI programs (no COM, no ActiveX, nothing fancy), what is the fundamental …

c++ visual-c++ mfc atl
How to display a non-modal CDialog?

Can someone tell me how I could create a Non Modal Dialog in MFC's Visual c++ 6.0 and show it? I …

c++ mfc visual-c++ cdialog
How can you bring a control to front in mfc

How do you change controls' Z-order in MFC at design time - i.e. I can't use SetWindowPos or do …

visual-studio visual-c++ mfc
How to convert _bstr_t to CString

I have a _bstr_t variable bstrErr and I am having a CString variable csError. How do I set the …

c++ com mfc visual-c++ bstr
Recursive file search using C++ MFC?

What is the cleanest way to recursively search for files using C++ and MFC? EDIT: Do any of these solutions …

c++ mfc recursion file-search