Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
RAM | STAAD | ADINA
  • Product Communities
RAM | STAAD | ADINA
RAM | STAAD | ADINA Wiki HWLockDLL internal error
    • Sign In
    • -RAM | STAAD | ADINA Wiki
      • +ADINA
      • +iTwin Analytical Synchronizer_
      • +Structural Analysis Support Solutions
      • +RAM Concept
      • +RAM Connection
      • -RAM Elements
        • +RAM Elements Feature Articles
        • RAM Elements Models From Users Around The World
        • Whitepapers
        • +RAM Elements Release Notes
        • -RAM Elements Support Solutions
          • Creating a Bug Report
          • Creating custom Sections, Materials etc. in RAM Elements [TN]
          • -Installation - RAM Elements
            • BentleyRSS.dll is not registered
            • Client was not successfully initialized
            • Enable or Disable RAM Connection for RAM Elements
            • Error Message "Some Other Error" When Opening RAM Elements Files
            • HWLockDLL internal error
            • RAM Connection 8 is installed, but the Connection button fails to appear in RAM Elements
            • Ram Elements - Install Bentley OpenSTAAD OEM error
            • Ram Elements - Updated Exes for version 13.02.00.99
            • Ram Elements and Connection Installation does not kick off Automatically
            • RAM Elements CONNECT Edition is compatible with Windows 11
            • RAM Elements hang on splash screen saying 'Verifying license'
            • RAM Elements Spanish install error “Update could not be installed...”
            • RamElements.exe crash on exit
            • RAMFE.dll is not registered
            • The application has failed to start because its side-by-side configuration is incorrect.
            • Updating RamFe.dll to Version 10.2.1.0
          • +RAM Elements - Analysis Topics
          • Ram Elements - Configuration settings
          • +Ram Elements - Design Topics
          • RAM Elements - Importing From RAM SS [TN]
          • +Ram Elements - User Interface Topics
          • +Ram Elements Modules
          • +Ram Elements Shells FAQ
          • +RAM Elements Troubleshooting
          • Rigid End Zones, Offsets and Hinges
          • Zipping a Model
        • +Known Issues in Ram Elements
      • +RAM SBeam
      • +RAM Structural System
      • +STAAD.Pro
      • +STAAD Foundation Advanced
      • +STAAD Advanced Concrete Design (RCDC)
      • +STAAD.building
      • +STAAD RCDC FE
      • +Scenario Services
      • +STAAD.offshore
      • +Limcon
      • +Microstran
      • +MStower
      • +Structural Dashboard
      • +Structural WorkSuite
    • +RAM | STAAD Learning Resources
    • Simplifications to Bentley's Engineering Simulation Software Licenses

     
     Questions about this article, topic, or product? Click here. 

    HWLockDLL internal error

      Applies To 
      Product(s): RAM Elements
      Version(s): 13.00.00.22
      Environment:  All
      Area:  Installation

    Error or Warning Message

    When opening RAM Elements, the following error occurs:
    HWLockDLL internal error. Unable to get license.

    Explanation

    HWLockDLL is a licensing library used by some RAM programs to communicate with the Bentley IEG License Service. The error will occur if the 32-bit release of the Bentley IEG License Service is not installed. This can occur if the 64-bit release, known as Bentley IEG License Service x64 is installed instead. Programs that are 32-bit will only communicate with the 32-bit release of the Bentley IEG License Service.

    Solution

    1. Updating to the latest version of RAM Elements and configuring the license will resolve the issue.

    If you are unable to upgrade at this time, please follow the steps as stated below.

          2.  Open the Add or Remove Programs (Windows XP) or Programs and Features (Windows Vista/7/8/10) control panel, and ensure that the Bentley IEG License Service is installed.

    The IEG License Service can be downloaded here: https://communities.bentley.com/products/ram-staad/m/structural_analysis_and_design_gallery/272998 .

    Important: RAM Elements and other 32-bit programs cannot communicate with Bentley IEG License Service x64.

    If the above does not resolve the problem, remove the HWLockDLL.dll file from the following location:

    C:\Program Files (x86)\Common Files\Bentley\Engineering\RAMHWLock

    Then, perform a repair of the RAM Elements installation to restore the file.

    Server Based Installations

    Typically we recommend that the software be installed on each PC that needs to use it. In at least one case on a Windows 2012 terminal server, a user was able to get Ram Elements to function, but only after manually registering the HWLockDLL. To do that go to Start - and type "Run" + enter to get the command prompt. On the command prompt execute:

    regsvr32  "C:\Program Files (x86)\Common Files\Bentley\Engineering\RAMHWLock\HWLockDLL.dll"

    If it succeeds, a message should appear like this:

    See Also

    RAM Connection Support Solutions

    • installation
    • RAM Elements
    • HWLockDLL
    • HWLOCK.dll
    • RAM Connection
    • error message
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • jeremyhoesly Created by Bentley Colleague jeremyhoesly
    • When: Tue, Feb 4 2014 3:00 PM
    • Payel Last revision by Bentley Colleague Payel
    • When: Mon, Jun 10 2019 5:37 PM
    • Revisions: 13
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies