webForumDet fria alternativet

Windows 7 - Hittar inte DLL

9 svar · 4 065 visningar · startad av Gein

GeinMedlem sedan sep. 20005 700 inlägg
#1

Jag har ett program skrivet i Python som länkar in en DLL-fil som i sin tur är beroende av ftd2xx.dll. När jag kör detta program så får jag felet:

Det gick inte att starta programmet eftersom FTD2XX.dll saknas på datorn. Du kan försöka åtgärda problemet genom att installera om programmet.

Jag vill minnas att jag hade liknande problem i Windows XP men att jag kunde lösa det genom att lägga in katalogen som innehåller ftd2xx.dll i PATH-variabeln. Har provat detta nu i Windows 7 men det gör ingen skillnad.

Finns det någon Windows-expert som kan svara på varför ftd2xx.dll inte hittas (trots att den ligger i samma katalog som den första DLL:en jag länkar in) och hur man löser det i Windows 7?

GunnarDMedlem sedan juni 20014 290 inlägg
#2

Har du registrerat .dll filen?

Du gör det med kommandot:

regsvr32 "c:\full\path\to\dll.dll"
GeinMedlem sedan sep. 20005 700 inlägg
#3

GunnarD skrev:

Har du registrerat .dll filen?

Du gör det med kommandot:

regsvr32 "c:\full\path\to\dll.dll"

Aha, nej det har jag inte gjort! Men regsrv32 verkar den inte hitta när jag kör den i kommandotolken (eller i kör-fältet). Vart hittar jag den?
Maskinen är en Windows 7 Home Premium.

GeinMedlem sedan sep. 20005 700 inlägg
#4

Nu hittade jag den under c:\Windows\SysWOW64\regsrv32.exe men när jag kör den så får jag felet:

Modulen c:\Program Files (x86)\Telldus\ftd2xx.dll lästes in, men startadressen för DllRegisterServer hittades inte.

Kontrollera att c:\Program Files (x86)\Telldus\ftd2xx.dll är en giltig DLL- eller OCX-fil och försök igen.

:bla

LaspMedlem sedan juli 200012 980 inlägg
#5

Den skall ligga under system32 C:\Windows\system32

GeinMedlem sedan sep. 20005 700 inlägg
#6

Så här ligger det till. Jag har installerat TelldusCenter som bl.a. kommer med TelldusCenter.exe som använder TelldusCore.dll som använder ftd2xx.dll (allt följer alltså med TelldusCenters installation). Jag har nu skrivit ett eget program som använder TelldusCore.dll och följdaktligen också ftd2xx.dll.

Jag upptäckte precis att jag kan ställa mig i C:\Program Files (x86)\Telldus och därifrån köra mitt program. Då verkar allt fungera som det ska. Ska det behöva vara såhär i Windows? Att jag måste använda Telldus-katalog som arbetskatalog när jag kör mitt program? Är den enda lösningen på detta att man kopierar ut libftd2xx.dll till system32 manuellt?

LaspMedlem sedan juli 200012 980 inlägg
#7

Är det inte så att du måste registrera Tellduss dllér också?
Förr kunde man komplettera den generella dos sökvägen, är det slikt som fattas!
set path=%path%;sökväg1;sökväg2;
geinprogram.exe

GeinMedlem sedan sep. 20005 700 inlägg
#8

Lasp skrev:

Är det inte så att du måste registrera Tellduss dllér också?
Förr kunde man komplettera den generella dos sökvägen, är det slikt som fattas!
set path=%path%;sökväg1;sökväg2;
geinprogram.exe

Jag provade registrera TelldusCore.dll men fick samma fel som jag skrev tidigare. Efter lite googlande verkar det tyda på att dll:en inte ska/kan registreras?

LoLoMedlem sedan feb. 20072 750 inlägg
#9

Ftd2xx.dll Error Messages

This application failed to start because ftd2xx.dll was not found. Re-installing the application may fix this problem." - verkar ju vara din error.

How to Fix Ftd2xx.dll Errors
Important: Do not download ftd2xx.dll from a "DLL download" website. There are many reasons why downloading a DLL file is a bad idea. If you need a copy of ftd2xx.dll, it's best to obtain it from its original, legitimate source.

Note: Start Windows in Safe Mode to complete any of the following steps if you're unable to access Windows normally due to the ftd2xx.dll error.

1.

  Restore ftd2xx.dll from the Recycle Bin. The easiest possible cause of a "missing" ftd2xx.dll file is that you've mistakenly deleted it.

  If you suspect that you've accidentally deleted ftd2xx.dll but you've already emptied the Recycle Bin, you may be able to recover ftd2xx.dll with a free file recovery program.

  Important: Recovering a deleted copy of ftd2xx.dll with a file recovery program is a smart idea only if you're confident you've deleted the file yourself and that it was working properly before you did that.

2.

  Run a virus/malware scan of your entire system. Some ftd2xx.dll errors could be related to a virus or other malware infection on your computer that has damaged the DLL file. It's even possible that the ftd2xx.dll error you're seeing is related to a hostile program that's masquerading as the file.

3.

  Use System Restore to undo recent system changes. If you suspect that the ftd2xx.dll error was caused by a change made to an important file or configuration, a System Restore could solve the problem.

4.

  Reinstall the program that uses the ftd2xx.dll file. If the ftd2xx.dll DLL error occurs when you use a particular program, reinstalling the program should replace the file.

  Important: Try your best to complete this step. Reinstalling the program that provides the ftd2xx.dll file, if possible, is a likely solution to this DLL error.

5.

  Update the drivers for hardware devices that might be related to ftd2xx.dll. If, for example, you're receiving a "The file ftd2xx.dll is missing" error when you play a 3D video game, try updating the drivers for your video card.

  Note: The ftd2xx.dll file may or may not be related to video cards - this was just an example. The key here is to pay very close attention to the context of the error and troubleshoot accordingly.

6.

  Roll back a driver to a previously installed version if ftd2xx.dll errors began after updating a particular hardware device's driver.

7.

  Run the sfc /scannow System File Checker command to replace a missing or corrupt copy of the ftd2xx.dll file. If this DLL file is provided my Microsoft, the System File Checker tool should restore it.

8.

  Install any available Windows updates. Many service packs and other patches replace or update some of the hundreds of Microsoft distributed DLL files on your computer. The ftd2xx.dll file could be included in one of those updates.

9.

  Test your memory and then test your hard drive. I've left the majority of hardware troubleshooting to the last step, but your computer's memory and hard drive are easy to test and are the most likely components that might cause ftd2xx.dll errors as they fail.

  If the hardware fails any of your tests, replace the memory or replace the hard drive as soon as possible.

10.

  Repair your installation of Windows. If the individual ftd2xx.dll file troubleshooting advice above is unsuccessful, performing a startup repair or repair installation should restore all Windows DLL files to their working versions.

11.

  Use a free registry cleaner to repair ftd2xx.dll related issues in the registry. A free registry cleaner program may be able to help by removing invalid ftd2xx.dll registry entries that might be causing the DLL error.

  Important: I rarely recommend the use of registry cleaners. I've included the option here as a "last resort" attempt before the destructive step coming up next.

12.

  Perform a clean installation of Windows. A clean install of Windows will erase everything from the hard drive and install a fresh copy of Windows. If none of the steps above correct the ftd2xx.dll error, this should be your next course of action.

  Important: All the information on your hard drive will be erased during a clean install. Make sure you've made the best attempt possible to fix the ftd2xx.dll error using a troubleshooting step prior to this one.

13.

  Troubleshoot for a hardware problem if any ftd2xx.dll errors persist. After a clean install of Windows, your DLL problem can only be hardware related.

http://pcsupport.about.com/od/findbyerrormessage/a/ftd2xx-dll-not-found-missing-error.htm

GeinMedlem sedan sep. 20005 700 inlägg
#10

LoLo skrev:

This application failed to start because ftd2xx.dll was not found. Re-installing the application may fix this problem." - verkar ju vara din error.

How to Fix Ftd2xx.dll Errors
Important: Do not download ftd2xx.dll from a "DLL download" website. There are many reasons why downloading a DLL file is a bad idea. If you need a copy of ftd2xx.dll, it's best to obtain it from its original, legitimate source.

Note: Start Windows in Safe Mode to complete any of the following steps if you're unable to access Windows normally due to the ftd2xx.dll error.

1.

  Restore ftd2xx.dll from the Recycle Bin. The easiest possible cause of a "missing" ftd2xx.dll file is that you've mistakenly deleted it.

  If you suspect that you've accidentally deleted ftd2xx.dll but you've already emptied the Recycle Bin, you may be able to recover ftd2xx.dll with a free file recovery program.

  Important: Recovering a deleted copy of ftd2xx.dll with a file recovery program is a smart idea only if you're confident you've deleted the file yourself and that it was working properly before you did that.

2.

  Run a virus/malware scan of your entire system. Some ftd2xx.dll errors could be related to a virus or other malware infection on your computer that has damaged the DLL file. It's even possible that the ftd2xx.dll error you're seeing is related to a hostile program that's masquerading as the file.

3.

  Use System Restore to undo recent system changes. If you suspect that the ftd2xx.dll error was caused by a change made to an important file or configuration, a System Restore could solve the problem.

4.

  Reinstall the program that uses the ftd2xx.dll file. If the ftd2xx.dll DLL error occurs when you use a particular program, reinstalling the program should replace the file.

  Important: Try your best to complete this step. Reinstalling the program that provides the ftd2xx.dll file, if possible, is a likely solution to this DLL error.

5.

  Update the drivers for hardware devices that might be related to ftd2xx.dll. If, for example, you're receiving a "The file ftd2xx.dll is missing" error when you play a 3D video game, try updating the drivers for your video card.

  Note: The ftd2xx.dll file may or may not be related to video cards - this was just an example. The key here is to pay very close attention to the context of the error and troubleshoot accordingly.

6.

  Roll back a driver to a previously installed version if ftd2xx.dll errors began after updating a particular hardware device's driver.

7.

  Run the sfc /scannow System File Checker command to replace a missing or corrupt copy of the ftd2xx.dll file. If this DLL file is provided my Microsoft, the System File Checker tool should restore it.

8.

  Install any available Windows updates. Many service packs and other patches replace or update some of the hundreds of Microsoft distributed DLL files on your computer. The ftd2xx.dll file could be included in one of those updates.

9.

  Test your memory and then test your hard drive. I've left the majority of hardware troubleshooting to the last step, but your computer's memory and hard drive are easy to test and are the most likely components that might cause ftd2xx.dll errors as they fail.

  If the hardware fails any of your tests, replace the memory or replace the hard drive as soon as possible.

10.

  Repair your installation of Windows. If the individual ftd2xx.dll file troubleshooting advice above is unsuccessful, performing a startup repair or repair installation should restore all Windows DLL files to their working versions.

11.

  Use a free registry cleaner to repair ftd2xx.dll related issues in the registry. A free registry cleaner program may be able to help by removing invalid ftd2xx.dll registry entries that might be causing the DLL error.

  Important: I rarely recommend the use of registry cleaners. I've included the option here as a "last resort" attempt before the destructive step coming up next.

12.

  Perform a clean installation of Windows. A clean install of Windows will erase everything from the hard drive and install a fresh copy of Windows. If none of the steps above correct the ftd2xx.dll error, this should be your next course of action.

  Important: All the information on your hard drive will be erased during a clean install. Make sure you've made the best attempt possible to fix the ftd2xx.dll error using a troubleshooting step prior to this one.

13.

  Troubleshoot for a hardware problem if any ftd2xx.dll errors persist. After a clean install of Windows, your DLL problem can only be hardware related.

http://pcsupport.about.com/od/findbyerrormessage/a/ftd2xx-dll-not-found-missing-error.htm

Jo, jag hittade också den där sidan när jag sökte men jag tyckte inte den hjälpte mig. Jag har ju inte "tappat bort" dll-filen, den följer ju med Telldus installation.

138 ms totalt · 3 externa anrop · v20260731065814-full.30151723
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
135 ms — hämta tråd, inlägg och bilagor (db)