April 30th, 2013 12:50 AM
_CrtDumpMemoryLeaks prints every C++ allocation which is not released yet. The name is misleading: its impossible to say, whether unrelaesed memory is leak or not:
char*p = new char;...
April 10th, 2013 09:20 AM
From my experience, solution with 20-30 C++ projects is almost unusable in VS2010 because of super-slow Intellisence. Disabling Intellisence removes also Class View, effectively converting Visual...
April 10th, 2013 08:00 AM
C++ Intellisence sucks in all Visual Studio versions. The only way I know is to buy Visual Assist...
March 20th, 2013 02:15 AM
C++/CLI WinForms application has the following runtime requirements: .NET Framework and VC++ Runtime. They should be added as prerequisites to the installation package.
What exactly is "the app...
March 19th, 2013 07:27 AM
This is spam - don't try to understand it :)
March 15th, 2013 02:21 AM
Eri 253: WH_MOUSE_LL does not require Dll. All he needs is just to add SetWindowsHookEx call and KeyboardEvent to the program.
March 14th, 2013 08:58 AM
There are no mouse hooks in .NET, you need to add this code to your .NET application. You don't need to create thread with message loop, because Windows Forms application already has message loop....
February 21st, 2013 03:01 AM
Write this in C and see Assembly code produced by compiler. You can see Assembly code by producing compiler Assembly listing, or in Debugger, by opening Disassembly window.
February 20th, 2013 08:03 AM
Use WM_CTLCOLORBTN message: http://msdn.microsoft.com/en-us/library/windows/desktop/bb761849%28v=vs.85%29.aspx
February 18th, 2013 12:58 AM
BM_SETCHECK message: http://msdn.microsoft.com/en-us/library/windows/desktop/bb775989%28v=vs.85%29.aspx
February 18th, 2013 12:55 AM
Serial communications using Win32 API:
MFC doesn't have classes for serial communication. If you don't want to write from scratch, there are...
February 15th, 2013 12:33 AM
Start from learning Microsoft Security Essential window structure with Spy++.
February 7th, 2013 07:50 AM
Create Windows Application using Visual Studio Application Wizard. Find WindowProc or WndProc function in the code generated by the Wizard. This is the function that handles Windows messages. It...
February 7th, 2013 01:34 AM
Just move HandlerRoutine outside of the namespace.
February 5th, 2013 07:24 AM
C language doesn't support namespaces, so extern "C" and namespaces are incompatible. Function defined inside of a namespace cannot be declared as extern "C".
January 31st, 2013 03:22 AM
g++ command line contains -lSDL switch. It looks like SDL library exists on your computer, and found by the linker. Try to investigate, how -lSDL switch is resolved - the same should be valid for...
January 31st, 2013 12:42 AM
In Linux the message "cannot find -lSDL_ttf" means that it cannot find file libSDL_ttf.so (.so is like lib/dll in Windows). I am not sure about CygWin names, but you need to look for a library, and...
January 1st, 2013 05:43 AM
Or by running them with strace.
December 24th, 2012 09:44 AM
In real time programming we don't implement any concepts, just make things done... Mostly in C. :)
December 24th, 2012 07:03 AM
Pl tell me how to make memory leaks with MFC.
When and Where should I call that and how Can I see the output ?
Thanks a lot
December 23rd, 2012 03:53 AM
Possibly you mean Sleep function. Required header is Windows.h.
December 20th, 2012 07:51 AM
You don't need to call _CrtDumpMemoryLeaks. MFC calls this function when all user libraries are unloaded. _CrtDumpMemoryLeaks just prints all undeleted allocations. So, if you call this function, it...
December 20th, 2012 06:27 AM
You need to be more specific. Is this MFC application or not? Do you request memory leaks dump? Do you redefine new to DEBUG_NEW? Where is the code that creates memory leaks in both your posts? What...
December 20th, 2012 05:05 AM
VC++ program prints memory leaks by calling _CrtDumpMemoryLeaks just before the program is closed. Memory leaks dump includes all libraries in the process. In your case, if executable uses dll, this...
December 13th, 2012 09:17 AM
Did you try to compile this?