I have an old VB6 COM DLL and have rewritten the code in a C# Class Library but need to be able to create a DLL to replace the current one. The DLLs created by building the new project cannot be registered through the command prompt. I tried first (as administrator):
regsvr32 Converter.dll
And it failed with:
The module Converter.dll was loaded but the entry-point DllRegisterServer was not found.
Make sure that "Converter.dll" is a valid DLL or OCX file and then try again.
Then I tried this script:
RegAsm.exe -tlb -codebase Converter.dll
And I got back that RegAsm.exe is not recognized as a command.
The current VB6 DLL is called from XML passed through a remote server application.
Since viewing the post sent to me in a comment, I have ran into another problem when building this DLL, and that is I need to reference Adobe Illustrator but the .aip file I need to reference is invalid when the project is et up for COM. I get back
"Please make sure that the file is accessible, and that it is a valid assembly or COM component".
One more edit: I upgraded Illustrator to the newest version and that issue was corrected. I grabbed the DLL from the /bin/Release directory and tried regsvr32 but once again received:
The module "Converter.dll" was loaded but the entry point DllRegisterServer was not found. Make sure that "Converter.dll" is a valid DLL or OCX file and then try again.