Registering dll on windows 8


















VB6Class is used in a c class that is build against x I have tried both regasm from my 64bit folder and the 32bit folder, no luck When i run Dependency Walker a nice little application that checks if all your dll's dependencies are available and that your cpu version for the dll and its dependencies match , I still get the message "Modules with different CPU were found". What utility do you use to register this VB6 dll -- regasm or regsvr32?

I have tried both regsvr32 and regasm. All this in Command Prompt Admin? That is elevated command prompt? Add a comment. Active Oldest Votes. Is64BitOperatingSystem, System. Is64BitProcess ; I know it's a long shot but it might help in finding the root cause of the problem.

Bigtoe Bigtoe 3, 1 1 gold badge 27 27 silver badges 44 44 bronze badges. The main application and all the dll's that it uses are build for 32bit as the client machines all run on 32 bit. It's not your problem but that makes no sense and can cause other issues. Just call regsvr Office Office Exchange Server. Not an IT pro? Windows Client. Sign in. United States English. Ask a question. Quick access. Each time you register a new version of the assembly, Regasm.

For example, consider a scenario where you register the managed component, myComp. Later, you register myComp. You determine that all COM client applications on the computer are using myComp. This registry scheme allows you to unregister myComp. After registering an assembly using Regasm. If the assembly is only going to be activated by a single application, you can place it in that application's directory. The following command generates the file myTest.

This command does not update the registry. The following command registers all public classes contained in myTest. Skip to main content. If you have a bit version of Windows installed and the DLL is bit, then you should run the command using the bit version of regsvr Otherwise, you might see messages like:. Other issues could be that you need to right-click on the command prompt and choose Run as Administrator. Sometimes if the command prompt does not have administrator privileges, the register DLL command will fail.

Finally, if the regsvr32 command is missing or corrupt, you can run system file checker to repair any problems with the original Windows system files. If you still have issues, post a comment!



0コメント

  • 1000 / 1000