Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fault Error

Status
Not open for further replies.

CFarley

Programmer
Joined
Jun 28, 2000
Messages
2
Location
US
I have written a small application and I compiled it to an executable. Whenever I run the execuable it runs fine, but as soon as I close the application I get a fault error in kernel32.exe. I have tried everything to figure out what is crashing the kernel, but to no avail. If it helps I looked through the error log and I found this:

function: RaiseException
77e87def 8bc8 mov ecx,eax
77e87df1 48 dec eax
77e87df2 85c9 test ecx,ecx
77e87df4 7408 jz WritePrivateProfileStringA+0x830 (77e90afe)
77e87df6 8d4801 lea ecx,[eax+0x1] ds:00cbc3d6=????????
77e87df9 8d7dc4 lea edi,[ebp+0xc4] ss:00cbc426=????????
77e87dfc f3a5 rep movsd ds:0012ee70=00139ac0 es:0012ee1c=0012ee38
77e87dfe 8d45b0 lea eax,[ebp+0xb0] ss:00cbc426=????????
77e87e01 50 push eax
77e87e02 ff156414e877 call dword ptr [77e81464] ds:77e81464=77faffd0
FAULT ->77e87e08 e9c4f30200 jmp SetThreadContext+0x46 (77eb71d1)

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0012EE50 6A9F479D C000008F 00000001 00000002 0012EE68 kernel32!RaiseException
0012EE70 6A9F4752 00139B38 800A9C68 0012EECC 00000800 MSVBVM60!_vbaHresultCheckObj
00139AC0 00000000 00000000 00000000 00000001 00000000 MSVBVM60!_vbaHresultCheckObj


I can't read this stuff so if anyone can help I would appreciate it. I'm running VB6 with SP4 and using Microsoft Access as my database through DAO 3.51

I would appreciate any feedback, thanks-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top