An Error has occurred while hooking DLL
Results 1 to 10 of 10
  1. #1
    Junior Member
    Join Date
    May 2019
    Posts
    1

    Default An Error has occurred while hooking DLL

    Hi,

    when i try to open HM2, pops up a message "An Error has occurred while hooking DLL"
    An Error has occurred while hooking DLL.PNG

    I uninstall an reinstall HM, i run as administrator but doesn't solve the problem i don't know what to do.

  2. #2
    You're out! udbrky's Avatar
    Join Date
    Jul 2008
    Posts
    19,881

    Default

    Please try a clean install of HM2. This will preserve your database and backup your HUD and settings.

    1) Export any custom HUD configs.
    2) Open the HM2 > HUD Settings > HUD Designer menu > Click 'Reset' > [x] All Configs > OK

    Step 1 – Restore Default Settings:
    First try restoring your default settings, often some settings files can become corrupt and cause these issues:
    http://hm2faq.holdemmanager.com/ques...fault+settings

    Step 2 – Uninstall and reinstall HM2 with Revo uninstaller:
    Other times critical system files may not have been installed on previous updates and it can also cause these types of errors or in some cases antiviruses may have removed files that it mistook for unsafe. Doing a revo uninstall also removes old registry file information which might have become corrupt. You can download the free version here: http://www.revouninstaller.com/revo_..._download.html and there is a useful tutorial how to use it here:
    http://www.guidingtech.com/457/revo-uninstaller/

    Uninstall Holdem Manager 2 via Revo unistaller and then reinstall this version:
    http://www.holdemmanager.com/downloa...er_2_Setup.exe

    Please add this file to your firewall and antivirus exceptions and run it as Administrator.

    Step 3 – Follow the steps in this FAQ:
    http://hm2faq.holdemmanager.com/ques...olders+HM2+use

    Step 4: If the default settings work, please use the FAQ in step 1 to restore your settings and test them. If the problems then return you will need to reset your settings to default again and use those going forward.

    If you continue to have problems, please duplicate the issue and send us log files with a detailed description of what you were doing and what problems you were experiencing:
    - Open Windows Event Viewer's (Control Panel > System & Security > Administrative Tools or Start > Search > 'Event Viewer') > Windows Logs > Applications.
    - Check for any errors and send the information (Save All Events As...).
    - Please send your \HM2Logs folder files as well - http://hm2faq.holdemmanager.com/ques...ger+Support%3F

    When sending any files please zip them (right-click > send to > compressed folder) before attaching them to an email. If the attachment is larger than 10MB please upload them to a file hosting site like dropbox, then right-click > 'copy public link' and paste the download link directly into the support ticket email. If you have any problems with dropbox try using filedropper.com
    Regards udbrky (Chris)

  3. #3
    Junior Member
    Join Date
    May 2019
    Posts
    2

    Default Same Issue

    Quote Originally Posted by bfcardoso123 View Post
    Hi,

    when i try to open HM2, pops up a message "An Error has occurred while hooking DLL"
    An Error has occurred while hooking DLL.PNG

    I uninstall an reinstall HM, i run as administrator but doesn't solve the problem i don't know what to do.
    I have the same issue, unfortunately i did not find a solution either, I thought it could also be some windows update, or having the Windows Defender active, but nothing like that has worked.

    Could someone help? The tips above did not work for me. I would like to find some workaround before sending the logs.

    Thanks!

  4. #4
    You're out! udbrky's Avatar
    Join Date
    Jul 2008
    Posts
    19,881

    Default

    Did you send in a ticket with the logs, windows events, and a link to this thread?
    Regards udbrky (Chris)

  5. #5
    Junior Member
    Join Date
    May 2019
    Posts
    2

    Default Resolved! :D:D

    Quote Originally Posted by udbrky View Post
    Did you send in a ticket with the logs, windows events, and a link to this thread?
    Finally I resolved the problem following the instructions on this link:

    https://answers.microsoft.com/en-us/...c-695b60477a93

    I put a brief manual in case it may help someone, apparently the problem were some corrupted files:

    1. Open a command prompt as administrator
    2. Execute DISM /Online /Cleanup-Image /RestoreHealth (please, mind the spaces in this line!) - it takes sometime until it starts (minutes), and the whole process is like 30 minutes long
    3. Execute sfc /scannow (again, mind the space)
    4. Restart

    Everything was back to normal :-)

  6. #6
    You're out! udbrky's Avatar
    Join Date
    Jul 2008
    Posts
    19,881

    Default

    Thank you for letting us know. It looks like there was a Windows issue.
    Regards udbrky (Chris)

  7. #7
    Member
    Join Date
    Sep 2009
    Posts
    45

    Default

    I had the same problem today and I tried to fix it like sup4randr4w told above.
    The whole process just took 2minutes and for both commands no faults were found.

    After restarting windows same thing popped up and I have no Idea what to do....

  8. #8
    You're out! udbrky's Avatar
    Join Date
    Jul 2008
    Posts
    19,881

    Default

    Please review the following links and follow the instructions below to try and resolve this issue.

    https://forums.holdemmanager.com/sho...=1#post2499831

    https://answers.microsoft.com/en-us/...c-695b60477a93

    1. Open a command prompt as administrator
    2. Type:
    DISM /Online /Cleanup-Image /RestoreHealth
    - Please, mind the spaces in this line! It takes some time until it starts (minutes), and the whole process is like 30 minutes long
    3. Type:
    sfc /scannow
    - again, mind the space.
    4. Restart the computer

    If you continue to have problems:

    Please duplicate the issue and send us log files with a detailed description of what you were doing and what problems you were experiencing:
    - Open Windows Event Viewer's (Control Panel - System & Security - Administrative Tools or Start - Search - 'Event Viewer') - Windows Logs - Applications.
    - Check for any errors and send the information (Save All Events As...).
    - Please send your \HM2Logs folder files as well - http://hm2faq.holdemmanager.com/ques...ger+Support%3F

    When sending any files please zip them (right-click - send to - compressed folder) before attaching them to an email. If the attachment is larger than 10MB please upload them to a file hosting site like dropbox, then right-click - 'copy dropbox link' and paste the download link directly into the support ticket email. If you have any problems with dropbox try using filedropper.com
    Regards udbrky (Chris)

  9. #9
    Member
    Join Date
    Sep 2009
    Posts
    45

    Default

    Thanks, like I said I have done all of that except sending you the Logs.

    When I tried do so so I saw that there was a windows update available and scheduled for 2 days ahead. I did it manually and now everything works again.

    So you can add "check Windows for update" to the list.

    Thanks

  10. #10
    *** HM3! *** fozzy71's Avatar
    Join Date
    Sep 1971
    Location
    HM Support
    Posts
    28,660

    Default

    Quote Originally Posted by MehrPower View Post
    Thanks, like I said I have done all of that except sending you the Logs.

    When I tried do so so I saw that there was a windows update available and scheduled for 2 days ahead. I did it manually and now everything works again.

    So you can add "check Windows for update" to the list.

    Thanks
    Thanks, I updated our canned reply for this issue to lead with that.

Similar Threads

  1. Replies: 1
    Last Post: 02-20-2015, 02:51 AM
  2. Replies: 1
    Last Post: 02-03-2012, 08:58 PM
  3. Replies: 12
    Last Post: 07-15-2011, 11:10 AM
  4. postgreSQL: System error 1067 has occurred
    By _Loki_ in forum Manager General
    Replies: 2
    Last Post: 07-29-2010, 11:34 AM
  5. Replies: 2
    Last Post: 10-21-2008, 10:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •