The error message could be either of the following.
LoadLibrary failed with error 87: The parameter is incorrect.LoadLibrary failed with error 87: Wrong Parameter.
What is LoadLibrary?
According to Microsoft documentation, the LoadLibrary function can be used to load a library module into the address space of a process and return a handle that can be used to get the address of a DLL function. LoadLibrary can specify a .exe file to get a handle that can be used in either:
Determining the location of a resource with the specified type and name in the specified module.Retrieving a handle that can be used to obtain a pointer to the first byte of the specified resource in memory.
When this issue occurs, it’s due to the machine’s graphics card configuration, and could be caused by the following:
The graphics card driver is out-of-date.There are conflicting graphics cards in the machine.Remote Desktop Protocol (RDP) is connecting by default to a built-in Intel video card and not the video card used by the 3D desktop application.
LoadLibrary failed, Error 87, The parameter is incorrect
If when you try to launch 3D programs like AutoCAD, Blender, or Chief Architect or when opening or creating a project or map document in ArcGIS Pro or ArcMap software, and the LoadLibrary failed with error 87: The parameter is incorrect error prompt pops up on your Windows 11/10 screen, you can try the recommended fixes below and see what resolves the issue on your system. Let’s take a look at the description of the process as it relates to each of the listed solutions.
1] Rename the atig6pxx.dll file
The atig6pxx.dll is a Dynamic Link Library (DLL) file that is part of PowerXpress Vista OpenGL Driver developed by Advanced Mirco Devices, Inc. This solution to the LoadLibrary failed with error 87: The parameter is incorrect error that occurs on your Windows 11/10 PC and requires you to rename the atig6pxx.dll file. To perform this task, do the following:
Make sure you are logged in as an administrator.Press the Windows key + E to open File Explorer.Navigate to the directory path below:
At the location, scroll and locate the atig6pxx.dll file.Once found, right-click and rename the file as atig6pxx.dll.bak.Exit File Explorer when done.
If you were unable to rename the file due to permissions despite logging in as an administrator, you can boot into Safe Mode and then repeat the DLL file rename operation. Read: Fix amd_ags_x64.dll missing error in Windows
2] Update the graphics card driver
An outdated AMD graphics card driver is known to be a culprit here. In this case, below are your options:
The easiest way to update your AMD drivers is by using AMD’s official system software – AMD Driver Autodetect. This program is straightforward to use and will make it easier for you to manage your graphics cards, and more. If a new driver is available, you will be notified. If you don’t have it installed on your PC already, you can head over to their website and download the latest version.You can manually update the graphics driver via Device Manager if you have already downloaded the .inf or .sys file for the driver.You can also update the driver via Command Prompt.In Windows Update, you can as well get the driver updates in the Optional Updates section.You can also go directly to the AMD website and download the latest version of the graphics card driver.Another option available for you is to automatically update your drivers using any of the free Driver Update Software for Windows 11/10 PC.
However, If the current driver does not fix the error, then try to roll back the driver or download and install an earlier version of the driver. If using a laptop connected to the docking station, disconnect the laptop from the docking station and relaunch the 3D program before reconnecting to the docking station. Also, check for firmware updates from the docking station manufacturer. Read: Windows keeps installing old AMD drivers
3] Disable the inbuilt graphics card
This solution applies when using Remote Desktop Protocol (RDP) to connect to a remote machine to remotely access any of these mentioned 3D desktop applications – the error could be related to the RDP session itself, as what may be occurring is a conflict between the video card specified by the RDP connection and the one used by the 3D software on the remote machine. RDP is connecting by default to a built-in Intel video card and not the video card used by the 3D software. In this case, to resolve the issue, you can disable the AMD driver or the inbuilt Intel video card during the remote desktop session. You disconnect and then reconnect the RDP session after you have disabled the graphics adapter. Read: Graphics hardware not officially supported for 3D Photoshop error
4] Resolve the issue of conflicting graphics cards
These 3D desktop applications rely heavily on the capabilities of graphic cards. Sometimes a conflict in graphics cards can cause these programs to crash, especially when a computer has a dedicated graphics card in addition to an integrated graphics card (for example. Intel with AMD FirePro). In this case, to troubleshoot to find out if the graphics cards are the culprit, you can carry out a series of disabling/re-enable/reboot steps to refresh the computer enough that the 3D program can determine which card to use when launching and displaying data. Do the following:
If open, close the 3D program.Next, press the Windows key + X to open the Power User Menu.Tap the M key on the keyboard to open Device Manager.Scroll down through the list of installed devices and expand the Display adapters section.Now, right-click and disable the first video card.Restart the computer.Open the 3D program again.Open Device Manager again and enable the first video card.Next, disable the second video card.Restart the computer.Open the 3D program again.Open Device Manager again and enable the second video card again.Restart the computer.Open the 3D program once again.
If the behavior is resolved by disabling one card or the other, this could indicate the graphics cards are causing the issue. Read: Integrated or Dedicated Graphics card – Which do I need?
5] Configure AMD Radeon to run the program executable in High Performance mode
This solution requires you to configure the AMD Radeon software or Catalyst Control Center to run the 3D desktop application executable file in High Performance mode. Do the following:
Launch the 3D program on your PC.Next, right-click the Desktop.Select AMD Radeon Settings from the menu.Select System.Select Switchable Graphics.In the Switchable Graphics menu, the Running Applications view (lists recent and current running applications and their assigned Switchable Graphics mode) will be displayed by default. If the desired application is not available in this view, click on the Running Applications option and select Installed Profile Applications to view all applications detected by the graphics driver.
The default mode for most applications is predetermined by the operating system. Applications with specific GPU requirements show a Lock icon beside the application name and cannot be changed; these applications always run on the integrated GPU, Power Saving mode. For applications that are not locked by the operating system, the following Switchable Graphics modes can be selected from the application drop-down menu:
Power Saving – Selects the integrated GPU, which consumes less power but provides lower performanceHigh Performance – Selects the discrete GPU, which consumes more power but provides better performanceBased on Power Source – Selects the integrated GPU when running on battery and selects the discrete GPU when plugged into a power outletNow, click on the drop-down for the application and select the desired mode for the application.Restart the application for the change to take effect.
Read: AMD Radeon software not opening in Windows 11
6] Reinstall the 3D software
If nothing works, you will have to clean uninstall the 3D program using the program’s native uninstaller tool (if available) or any free third-party Uninstaller Software to completely remove the software from your machine and any residual files from any previous installations, Windows registry keys, and license information. Once done, visit the program vendor website, and download and install the program on your Windows 11/10 PC. I hope this helps! Also read:
LoadLibrary failed with error 1114LoadLibrary function error STATUS DLL NOT FOUNDLoadlibrary failed with errors 126, 87, 1114, or 1455
How do I fix Loadlibrary failure with Error 87?
One of the ways to fix Loadlibrary failed with Error 87 is to rename a particular DLL file. do the following:
Click the Windows Start button.Type in atig6pxx.dll.Right-click the file and choose Open File Location (typically C:/Windows/System32).Change the file name from atig6pxx.dll to atig6pxx.dll.bak.Click Continue.
Can’t complete your request because the parameter is incorrect 87?
If you get Error 87 the Parameter is Incorrect error while trying to start the Windows Update service on your Windows 11/10 computer, chances are the default services have been modified to the point where some entries have become corrupted. Read: Fix The parameter is an incorrect error while printing a document
Why is the parameter incorrect?
The parameter is incorrect error means that a user’s request for access to a folder path has failed. According to the error’s definition, the user is unable to access their data on the device or copy/paste and move the files along a folder path. Error parameters are provider-specific values that are incorporated into error messages. For example, the provider might associate the error message “Cannot open table
What is a parameter in a laptop?
Any value passed to a program by the user or by another program to configure the program for a particular purpose. A parameter may be anything, for example, a file name, a coordinate, a range of values, a money amount, or a code of some kind.