I just bought a new computer with Windows98 (2nd Edition) and I still use
Visual C++ 5.0 (SP3) for my projects. I found out there are some exceptions
from KERNEL32.DLL when I debuged my programs. The messages are the
following:
************* Error Messages
*********************************************************
uAfx:400000:8:14a6:0:292fmdiclientToolbarWindow32msctls_statusbar32AfxContr
olBar42dAfxControlBar42dAfxControlBar42dAfxControlBar42dAfxControlBar42dAfxC
ontrolBar42dAfxControlBar42dAfxControlBar42d"c:\projects\myapp\debug\myapp.e
xe"gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf
~ Zt%g<^ 髅 gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9
~ t,gf~ 黷,gf~ Zt%g<^ 髅 gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%
g<^ 髅 gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 gf<6g9~ t,g
f~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 gf
<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%
g<^ 髅 gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,g
f~ 黷,gf~ Zt%g<^ 髅 gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%g<^ ��gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 gf<6g9~ t,gf~ 黷
,gf~ Zt%g<^ 髅 gf<6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 gf<
6g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 g9~ t,gf~ 黷,gf~ Zt%g<^ 髅 tooltips_class32First
-chance exception in MyApp.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
First-chance exception in MyApp.exe (KERNEL32.DLL): 0xC0000005: Access
Violation.
First-chance exception in MyApp.exe (KERNEL32.DLL): 0xC0000005: Access
Violation.
First-chance exception in MyApp.exe (KERNEL32.DLL): 0xC0000005: Access
Violation.
First-chance exception in MyApp.exe (KERNEL32.DLL): 0xC0000005: Access
Violation.
First-chance exception in MyApp.exe (KERNEL32.DLL): 0xC0000005: Access
Violation.
First-chance exception in MyApp.exe (KERNEL32.DLL): 0xC0000005: Access
Violation.
First-chance exception in MyApp.exe (KERNEL32.DLL): 0xC0000005: Access
Violation.
************* End of Error Messages
*********************************************************
The program is running okay after these mesages and whenever my program pops
up any dialog, the Studio's output window will have these messages again. I
traced into the CWnd class and found out that it came from the
CWnd::CreateDlgIndirect(...) when calling Win32's
::CreateDialogIndirect(hInst, lpDialogTemplate, pParentWnd->GetSafeHwnd(),
AfxDlgProc);
function. I suspect there might have some inconsistences in VC++ 5.0 and
Windows98. Does anyone have the same problem?
Thanks in advance.
Allen
alle...@hotmail.com
Any
_try{
FOO(); // foo throws an exception
}
catch(...)
{
// handled
}
VC++ will display the First Chance Exception warning, but will then call
the catch section where the exception is properly handled.
--
Visit: http://ourworld.compuserve.com/homepages/jjmarshall/
Allen Yuh <hy...@netsol.net> wrote in message
news:OMwU0y43#GA....@cppssbbsa02.microsoft.com...