Results 1 to 5 of 5

Thread: Error when opening EXE?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    93

    Error when opening EXE?

    When I go to FIle>Make EXE, it seems to work fine, but when I try to run the EXE I get thsi error:

    "The procedure entry point InitializeCriticalSection X could not be located in the dynamic link library KERNEL32.DLL."

    I have absolutely no idea what the error means or why its showing up. When I run the program in VB it works fine.

    Any ideas?

  2. #2
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Re: Error when opening EXE?

    Originally posted by thetakerfan
    When I go to FIle>Make EXE, it seems to work fine, but when I try to run the EXE I get thsi error:

    "The procedure entry point InitializeCriticalSection X could not be located in the dynamic link library KERNEL32.DLL."

    I have absolutely no idea what the error means or why its showing up. When I run the program in VB it works fine.

    Any ideas?
    Thats freakin weird. I have no idea about this. Normally it occurs if system could not locate some particular code in DLL that you are refferring in your program.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    93
    I don't reference kernel32 anywhere
    I do have
    VB Code:
    1. Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
    , but that isn't the problem. I tried commenting it out, but it still gave the problem

  4. #4
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    it looks a problem with your OS then ... if you could not find any solution you might have to re-install your OS.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    93
    well, I was planning on reformatting my partition anyway, so maybe a new install of XP will work, thanks

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