Question
I am attempting to register the plugin DLLs (AdvancedExpertDAI.dll, ACC_Init.dll, PLL_DDR2_SDRAM_AMI_Init.dll) associated with the application notes "EE-243 - Using the Expert DAI for SHARC Processors" and "EE-322 - Expert Code Generator for SHARC Processors", but I receive the following error when calling regsvr32.exe from the command line:
"The module <moduleName> was loaded but the call to DllRegisterServer failed with error code 0x80020009. For more information about this problem, search online using the error code as a search term".
===============================
Answer
As explained in the accompanying application note, which can be found in our Technical Library, when registering these DLLs you need to ensure that you launch the Command Prompt using the "Run as Administrator" feature. This is selected by right-clicking on the "Command Prompt" and selecting "Run as Administrator", as shown here:
This is necessary when registering these plugins with VisualDSP++ tools when running Windows Vista, Windows 7, and Windows 8 Operating Systems.
Note: you must explicitly select the "Run as Administrator" option. Windows Vista, Windows 7, and Windows 8 impose Registry restrictions, even for Administrator users.