Are you intercepting the WndProc ?
Ross Levis wrote: > I was wrong about it always occurring while minimizing. Here is another > report, this one from the other PC. It apparently just occurred moving the > mouse over the window, and appears related to displaying a hint, but the > crash is in the exact same location as the minimize. > > > > exception message : Access violation at address 004BBE48 in module > 'MyProgram.exe'. Read of address 3D579DE8. > > > > Main ($764): > > 004bbe48 MyProgram.exe Controls 4645 +53 TControl.WndProc > > 004beea7 MyProgram.exe Controls 6342 +33 TWinControl.WndProc > > 004d55d5 MyProgram.exe Forms 3102 +103 TCustomForm.WndProc > > 004beb24 MyProgram.exe Controls 6237 +3 TWinControl.MainWndProc > > 00475fa4 MyProgram.exe Classes 10966 +8 StdWndProc > > 7c90eae0 ntdll.dll KiUserCallbackDispatcher > > 004c2bb3 MyProgram.exe Controls 8719 +1 THintWindow.ActivateHintData > > 004dcf8a MyProgram.exe Forms 7594 +57 TApplication.ActivateHint > > 004dc917 MyProgram.exe Forms 7386 +20 TApplication.HintMouseMessage > > 004bbd9d MyProgram.exe Controls 4612 +20 TControl.WndProc > > 004beea7 MyProgram.exe Controls 6342 +33 TWinControl.WndProc > > 004d55d5 MyProgram.exe Forms 3102 +103 TCustomForm.WndProc > > 004bbc18 MyProgram.exe Controls 4552 +5 TControl.Perform > > 004bec08 MyProgram.exe Controls 6258 +4 GetControlAtPos > > 004beca0 MyProgram.exe Controls 6277 +10 TWinControl.ControlAtPos > > 004bbc18 MyProgram.exe Controls 4552 +5 TControl.Perform > > 004bed3e MyProgram.exe Controls 6301 +15 TWinControl.IsControlMouseMsg > > > > I would have been thinking it was a Windows or computer issue of some sort, > but when it occurs on 2 independent computers, I'm not sure I can get away > with that explanation. > > > > Thanks, > > Ross. > > > > From: Ross Levis [mailto:r...@stationplaylist.com] > Sent: Thursday, 29 January 2009 12:50 p.m. > To: 'Borland's Delphi Discussion List' > Subject: Access violation in Delphi 7 unit - Help! > > > > A user running my software on 2 separate computers for several months has > reported that an access violation has suddenly started occurring on both > computers when simply minimizing the application. > > > > I gave him a build with MadExcept compiled in, and he sent this crash > report. > > > > exception message : Access violation at address 004BBE48 in module > 'MyProgram.exe'. Read of address 3D579DE8. > > > > Main ($7a8): > > 004bbe48 MyProgram.exe Controls 4645 +53 TControl.WndProc > > 004beea7 MyProgram.exe Controls 6342 +33 TWinControl.WndProc > > 004d55d5 MyProgram.exe Forms 3102 +103 TCustomForm.WndProc > > 004beb24 MyProgram.exe Controls 6237 +3 TWinControl.MainWndProc > > 00475fa4 MyProgram.exe Classes 10966 +8 StdWndProc > > 7c90eae0 ntdll.dll KiUserCallbackDispatcher > > 77d5538a USER32.dll SetActiveWindow > > 004db5b4 MyProgram.exe Forms 6695 +4 TApplication.Minimize > > 004db05f MyProgram.exe Forms 6541 +10 TApplication.WndProc > > 004d7786 MyProgram.exe Forms 4214 +4 TCustomForm.WMSysCommand > > 004bbe48 MyProgram.exe Controls 4645 +53 TControl.WndProc > > 004beea7 MyProgram.exe Controls 6342 +33 TWinControl.WndProc > > 004d55d5 MyProgram.exe Forms 3102 +103 TCustomForm.WndProc > > 004beb24 MyProgram.exe Controls 6237 +3 TWinControl.MainWndProc > > 00475fa4 MyProgram.exe Classes 10966 +8 StdWndProc > > 77d4b7a6 USER32.dll SendMessageW > > 77d4e025 USER32.dll DefWindowProcA > > 77d4e361 USER32.dll CallWindowProcA > > 004bef8b MyProgram.exe Controls 6369 +23 TWinControl.DefaultHandler > > 004d6a52 MyProgram.exe Forms 3774 +7 TCustomForm.DefaultHandler > > 004bc125 MyProgram.exe Controls 4743 +2 TControl.WMNCLButtonDown > > 004d74e5 MyProgram.exe Forms 4102 +12 TCustomForm.WMNCLButtonDown > > > > What on Earth could be the problem? Hundreds of other users are using the > software with no problems. > > > > Any thoughts very welcome! > > > > Thanks, > > Ross. > > _______________________________________________ > Delphi mailing list -> Delphi@elists.org > http://lists.elists.org/cgi-bin/mailman/listinfo/delphi > > _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi