April 16th, 2013 03:50 PM
What is the reason for explicitly initializing string variables with the empty string?
April 16th, 2013 08:21 AM
Check out ScrollWindow function.
April 15th, 2013 04:51 PM
When you run it "in the IDE", you are still running the compiled and linked executable.
Are you saying that the same exe file that runs OK from IDE behaves differently when simply double-clicked...
April 15th, 2013 04:30 PM
I think this approach is very naive. Why would I use any of Enum...() or Find...() functions to locate the window that I created? I would much rather keep a handle in some container.
The program you...
March 26th, 2013 08:26 AM
Do you really need a button in every row of the list view?
Buttons are windows, and having a lot of them will cause problems.
You can already process clicks in the list view, do you just want it to...
January 2nd, 2013 01:06 PM
Can you run it from the command line or from windows explorer?
December 27th, 2012 10:36 AM
Do you really need to load your image in response to EVERY windows message you get? (hint – no, you don’t).
Since you only attempt to delete this HBITMAP while processing WM_PAINT message, all other...
December 27th, 2012 10:22 AM
So many questions!
The 'Not Responding' issue is explained by S_M_A. You can fix it with either working threads, or by processing Windows messages from time to time. Use MsgWaitForMultipleObjects()...
August 29th, 2012 02:50 PM
Alternatively, you can provide a constructor for B2 that takes a value to be set to m_var, and initialize B2 instead of that variable.
August 17th, 2012 04:16 PM
So, the user will write the code to perform some HW interaction, and you will provide the button that calls his function?
Not a lot of value, in my opinion.
August 7th, 2012 08:55 AM
But he did - called it "wesult" and it worked...
August 6th, 2012 08:30 AM
This implementation of bubble sort looks wrong:
August 2nd, 2012 02:14 PM
This "Linker/Advanced/Import Library" produces /IMPLIB command, NOT the input library:
You need to specify Linker/Input/Additional...
August 2nd, 2012 11:43 AM
The MFC's DoModal() looks for the dialog resource in the instance returned by AfxGetResourceHandle(), so you need to temporary replace it with your DLL's instance:
HMODULE hDll =...
August 1st, 2012 09:52 AM
Is this your first DLL project? Have you ever used other DLLs in your projects?
You have to LINK to the lib that implements these functions.