Click here to Skip to main content
12,699,351 members (33,379 online)
Rate this:
Please Sign up or sign in to vote.
I made an console application in visual c++ in VS 2010 i added the console handler so that when i press ctrl+c the application may terminate successfully and it worked for me too without error later i put the application into the window service and called the same console handler in service console handler in the following the case
when i stop the service
i get the error HEAP CORRUPTION DETECTED:after Normal block(#119) at 0x003C5420.CRT detected that the application wrote to memory after end of heap buffer.
What should be the error. Thanks in advance
Posted 6-Dec-12 21:52pm

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100