Results 1 to 4 of 4

Thread: KERNEL32.DLL crashes. HELP!!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2002
    Location
    Seattle, WA USA
    Posts
    216

    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:
    1. Private Const FLAG_ICC_FORCE_CONNECTION = &H1
    2. Private Declare Function InternetCheckConnection Lib "wininet.dll" Alias "InternetCheckConnectionA" (ByVal lpszUrl As String, ByVal dwFlags As Long, ByVal dwReserved As Long) As Long
    3. Private Sub Form_Load()
    4.     'KPD-Team 2001
    5.     'URL: [url]http://www.allapi.net/[/url]
    6.     'E-Mail: [email][email protected][/email]
    7.     If InternetCheckConnection("http://www.allapi.net/", FLAG_ICC_FORCE_CONNECTION, 0&) = 0 Then
    8.         MsgBox "Connection to [url]http://www.allapi.net/[/url] failed!", vbInformation
    9.     Else
    10.         MsgBox "Connection to [url]http://www.allapi.net/[/url] succeeded!", vbInformation
    11.     End If
    12. 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.

  2. #2
    Lively Member sandin's Avatar
    Join Date
    Nov 2001
    Location
    From Your Heart!!!!
    Posts
    68
    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

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2002
    Location
    Seattle, WA USA
    Posts
    216
    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.

  4. #4
    Hyperactive Member anita2002's Avatar
    Join Date
    Dec 2001
    Location
    In u'r Heart
    Posts
    482
    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
  •  



Click Here to Expand Forum to Full Width