|
-
Apr 29th, 2002, 06:17 AM
#1
Thread Starter
Addicted Member
KERNEL32.DLL crashes. HELP!!
Ok, Win98SE CLEAN INSTALL. No extras or updates or anything. Straight out of the box. Simple code and I get crashes!
What am I doing wrong?
VB Code:
Private Const FLAG_ICC_FORCE_CONNECTION = &H1
Private Declare Function InternetCheckConnection Lib "wininet.dll" Alias "InternetCheckConnectionA" (ByVal lpszUrl As String, ByVal dwFlags As Long, ByVal dwReserved As Long) As Long
Private Sub Form_Load()
'KPD-Team 2001
'URL: [url]http://www.allapi.net/[/url]
If InternetCheckConnection("http://www.allapi.net/", FLAG_ICC_FORCE_CONNECTION, 0&) = 0 Then
MsgBox "Connection to [url]http://www.allapi.net/[/url] failed!", vbInformation
Else
MsgBox "Connection to [url]http://www.allapi.net/[/url] succeeded!", vbInformation
End If
End Sub
Here's the crash report:
PROJECT1 caused an invalid page fault in
module KERNEL32.DLL at 0167:bff7b992.
Registers:
EAX=004121e8 CS=0167 EIP=bff7b992 EFLGS=00010212
EBX=000000c8 SS=016f ESP=0063f6f0 EBP=0063f714
ECX=000000c8 DS=016f ESI=000000c8 FS=1c87
EDX=0041215c ES=016f EDI=0041212c GS=0000
Bytes at CS:EIP:
80 3e 04 74 0f 33 c0 50 50 50 68 05 00 00 c0 e8
Stack dump:
0041215c 76291f62 000000c8 0041212c 0041215c 00000000
00000000 00000510 00000001 004121e4 76291d1b 004121e4
004121e8 00000000 004121ec 00510ef4
VB6, VB.NET, C#, SQL, XML, ADO.NET, ASP.NET, HTML.
MCP & A+ Certified. Looking for a job in the Seattle, WA area.
-
Apr 29th, 2002, 06:32 AM
#2
Lively Member
go for the MFC it will show you which file is damaged and in that it gives you that file name and you can recover it....
for that you can go to the ms dos prompt and type mfc then run the programme...
sandin
-
Apr 29th, 2002, 06:52 AM
#3
Thread Starter
Addicted Member
I think you mean SFC (System File Checker). I ran it and it found no corrupt or bad files. I replaced the KERNEL32.DLL and WININET.DLL files anyway but still got crashes. I also ran a full memory check with no bad sticks found.
I ran Dr. Watson (comes with Windows) and had it make a snapshot of my crash. Looks as though I'm having possible issues with MSVBM60.DLL for some reason?
I'll let you know if I find out more.
Ethan
VB6, VB.NET, C#, SQL, XML, ADO.NET, ASP.NET, HTML.
MCP & A+ Certified. Looking for a job in the Seattle, WA area.
-
Apr 30th, 2002, 01:57 AM
#4
Hyperactive Member
Originally posted by sandin
go for the MFC it will show you which file is damaged and in that it gives you that file name and you can recover it....
for that you can go to the ms dos prompt and type mfc then run the programme...
sandin
Hi sandin,
What is MFC? Is it relavent here? According to my knowledge MFC= Microsoft Foundation Classes. ..How it can be used here??
lol....
And SFC means System File Checker..
Yes ethanwa, u r correct
Can't imagine life without VB
(Various Boyfriends)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|