Results 1 to 6 of 6

Thread: Kernel32.dll Error

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    394

    Kernel32.dll Error

    My offending program is actually written C (not C#) but after searching the web it appears that my error is seen across many languages so I was hoping that some of you may lead me in the right direction.

    Intermittently, my application just aborts and closes. The only information thatI have is found in the Event Log. The error gives the offset into the Kernel32.dll of 0x0001eb33 but i have clue how to determine which function/module is located at this address.

    Does any one out there know how to begin troubleshooting a problem like this?
    Attached Images Attached Images  

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Kernel32.dll Error

    What does the rest of the Data in that window show?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    394

    Re: Kernel32.dll Error

    It won't let me stretch the screen to show the entire message but it simply restates the message shown in the Description field. It's worded a little differnet but basically it says.

    mst_trn.exe, version 1.0.0.1, faulting module kernel32.dll, version 5.1.2600.2180, fault address 0x0001eb33.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Kernel32.dll Error

    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    394

    Re: Kernel32.dll Error

    Thanks Rob

    I saw that post and it's what made me think about posting my problem on VBForums. It's possible that it is a service pack problem but our application would never access the .net framework.

    We use the Microsoft IDE form Developer Studio through VS2005 to complie our C/fortran code so I'll look at the service pack issue. That post was from 2005 so I'm guessing that the standard version of XP has all of SPs required.

    I was hoping that someone knew that the module associated to offset 0x0001eb33 was ,let's say, sprintf. If this was a unique module I might be able to look to see where it would be used by my code.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    394

    Re: Kernel32.dll Error

    I used Dependency Walker to determine the functions in Kernel32. The function at the offset of interest was "RaiseException". Not much info here. Now Iget the fun of trying to determine what is raising an unhandled exception.

    Thanks for the input.
    Attached Images Attached Images  

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