Avoiding NETDLL.DLL Errors When Loading Generated Projects in Delphi
When loading generated Chameleon projects in Delphi, some users get a NETDLL.DLL error. Although the error is rare, it is most likely to occur after upgrading Chameleon.
This section provides guidelines for avoiding a NETDLL.DLL error when upgrading Chameleon.
To avoid getting a NETDLL.DLL error:
Close all projects from your Delphi environment.
Remove all Chameleon-related packages from your Delphi environment (e.g. CHMnetPackage5).
Exit Delphi completely.
Search for NETDLL.DLL on your machine, and verify that you only have one copy. If you have more than one, delete any copies that are not in the Chameleon installation directory.
Upgrade Chameleon.
Regenerate your stubcode from Chameleon. This re-installs the Chameleon-related packages you deleted earlier.
If you follow these steps, you should not experience a NETDLL.DLL error when loading generated projects in Delphi.