How Can I use .net dll in C program?

A program cannot locate a certain .dll file and won't run.?

  • One of the programs i am trying to use will never open and will always come up as an error saying that it cannot locate/find a .dll file. I've found this .dll and downloaded it but the program has no installation directory so how can i import the .dll into the program to make it run?

  • Answer:

    There's a place you need to copy it. Go into your Windows folder and find the System32 folder, and paste the .dll there. Also, if you're running a 64-bit system, there will be a SysWOW64 folder right under the system32 folder, and paste the .dll there too, just in case.

Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

You really should reinstall the program. Go to "Control Panel -> Add/Remove Programs" find your program and click install. Delete all the remaining program files. If you still have the setup file in the disk, delete it as well. Download the latest version of said program and install it. If you still insist in this version, try to find the ".exe" file. If the file you click is in your desktop, it's probably just a shortcut. You have to find the real "myprogram.exe" file, and put the .dll file in the same folder. Try it this way, should work. You could also try forcing the file inside. Inserting a dll into a running program is a very dangerous task. You have to use a program called "svchost.exe", it will host the dll into the target process. But it's highly recommended you do NOT do such. In my opinion, you should reinstall the whole program altogether.

oops there might be a problem that your program was infected by a virus and probably deleted by your anti virus thats why its not working properly.Ideally you should reinstall the program because this is a system file.

it could be malware, malwarebytes malware remover

perhaps you using demo version.

Just reinstall program.

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.