Click here to Skip to main content
15,889,034 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
kaviniswell22-Dec-08 16:30
kaviniswell22-Dec-08 16:30 
AnswerRe: [VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
Garth J Lancaster22-Dec-08 18:00
professionalGarth J Lancaster22-Dec-08 18:00 
GeneralRe: [VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
kaviniswell22-Dec-08 18:18
kaviniswell22-Dec-08 18:18 
GeneralRe: [VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
Garth J Lancaster22-Dec-08 18:27
professionalGarth J Lancaster22-Dec-08 18:27 
GeneralRe: [VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
kaviniswell22-Dec-08 18:37
kaviniswell22-Dec-08 18:37 
QuestionCallback Intro Pin
codemunkeh22-Dec-08 15:45
codemunkeh22-Dec-08 15:45 
AnswerRe: Callback Intro Pin
CPallini23-Dec-08 3:05
mveCPallini23-Dec-08 3:05 
QuestionSetWindowSubclass is killing my app! Pin
KellyR22-Dec-08 14:17
KellyR22-Dec-08 14:17 
Hi,

This app is in C++ without MFC, and I'm using SetWindowSubclass to subclass two of my windows controls so that I can manually catch the messages that are sent to their message pumps and process them accordingly. The app is dialog-based and uses a GetMessage loop, so it does not usually take much CPU power... however, the problem is this:
when I call SetWindowSubclass to subclass either of the controls, suddenly my CPU usage jumps to 99% on the task manager. Does SetWindowSubclass branch a new thread for each control that will just run on its own regardless of my GetMessage loop? If so, how do I stop it from doing that? If not, what the heck is it doing and how can I use SetWindowSubclass without using 99% of my darned CPU?

Thanks!

KR

AnswerRe: SetWindowSubclass is killing my app! Pin
Naveen22-Dec-08 18:57
Naveen22-Dec-08 18:57 
GeneralRe: SetWindowSubclass is killing my app! Pin
KellyR22-Dec-08 19:19
KellyR22-Dec-08 19:19 
GeneralRe: SetWindowSubclass is killing my app! Pin
Mark Salsbery23-Dec-08 5:50
Mark Salsbery23-Dec-08 5:50 
QuestionVC Application with password Pin
sunny_vc22-Dec-08 13:38
sunny_vc22-Dec-08 13:38 
AnswerRe: VC Application with password Pin
Garth J Lancaster22-Dec-08 15:17
professionalGarth J Lancaster22-Dec-08 15:17 
AnswerRe: VC Application with password Pin
Chandrasekharan P22-Dec-08 17:25
Chandrasekharan P22-Dec-08 17:25 
AnswerRe: VC Application with password Pin
Mustapha Rédouane23-Dec-08 0:06
Mustapha Rédouane23-Dec-08 0:06 
QuestionVC++ 6.0 to VC++ 9.0 porting issue. Runtime Assertion for Keyboard handler Pin
pratap198022-Dec-08 10:45
pratap198022-Dec-08 10:45 
AnswerRe: VC++ 6.0 to VC++ 9.0 porting issue. Runtime Assertion for Keyboard handler Pin
Jijo.Raj22-Dec-08 11:03
Jijo.Raj22-Dec-08 11:03 
GeneralRe: VC++ 6.0 to VC++ 9.0 porting issue. Runtime Assertion for Keyboard handler Pin
pratap198022-Dec-08 11:15
pratap198022-Dec-08 11:15 
Questionquestion is it possible to hook a function using byte signature Pin
nah133722-Dec-08 10:08
nah133722-Dec-08 10:08 
QuestionNoob QOTD : Resources (menu) in DEBUG only ? Pin
Maximilien22-Dec-08 7:49
Maximilien22-Dec-08 7:49 
AnswerRe: Noob QOTD : Resources (menu) in DEBUG only ? Pin
Code-o-mat22-Dec-08 9:22
Code-o-mat22-Dec-08 9:22 
AnswerRe: Noob QOTD : Resources (menu) in DEBUG only ? Pin
Roger Allen24-Dec-08 0:46
Roger Allen24-Dec-08 0:46 
GeneralRe: Noob QOTD : Resources (menu) in DEBUG only ? Pin
Maximilien24-Dec-08 1:53
Maximilien24-Dec-08 1:53 
QuestionInteracting with the "computer locked" desktop Pin
Al Huneke22-Dec-08 5:07
Al Huneke22-Dec-08 5:07 
AnswerRe: Interacting with the "computer locked" desktop Pin
Jonathan Davies22-Dec-08 6:07
Jonathan Davies22-Dec-08 6:07 

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.