A Windows DLL stored on Debian, then downloaded back to Windows won’t work anymore

Incubbus

I have a program which I want to distribute through my webserver running Debian.

So I uploaded my files—containing DLLs—to the server. After I did let them download through my updating application I got an error. So I tried downloading them like I uploaded them: Via Eclipse IDE. But the error did also occur:

Title of the Error Dialog:

Main.exe - Bad Image

Error:

Blabla.dll is either not designed to run on Windows or it contains an error […] Error status 0xc0000130.

So I am wondering what causes the DLL corruption. Has it to do with Eclipse or Debian?

EDIT The md5 checksums of the original, the uploaded and the downloaded file are different.

EDIT2 It seems this is an issue between the codepage selected in eclipse which is UTF-8. I will test it with cp1250 (quick test did work so far, but my app crashed) in detail tomorrow.

EDIT3 Also, my updater didn't work correctly interpreting the downloaded files as text files.

Dmitry Grigoryev

One typical reason may be an incomplete upload. Check the size of the uploaded DLLs, reupload if the size is smaller than expected.

Another reason is the file conversion between Windows and UNIX, which damages binary files when they are mistakenly transferred in text mode. I don't believe this is your case (since you seem to be using HTTP and not FTP), but it might be worth checking.

Otherwise you'll have to compare your original DLL compiled by Eclipse with the DLL you download from your webserver, and post the differences here for further analysis.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Windows 7 computer won't boot and recovery doesn't work

분류에서Dev

Unable to access windows partition anymore

분류에서Dev

Why won't this MySQL stored procedure work?

분류에서Dev

Error message "firefox doesn't work anymore"

분류에서Dev

Windows 10 won't boot to safe mode

분류에서Dev

Why wmctrl doesn't work for certain windows?

분류에서Dev

Windows Update doesn't work on Window 8.1

분류에서Dev

How to get Windows data back

분류에서Dev

VLC - YouTube videos won't play anymore

분류에서Dev

Android Studio won't mark problems anymore

분류에서Dev

VM doesn't work anymore after umount an lv

분류에서Dev

HTML Table hide Column doesn't work anymore?

분류에서Dev

New articles don´t work in Joomla 3.3.3 anymore

분류에서Dev

Windows 10: How to make File downloaded to Desktop appears as last

분류에서Dev

Laptop with bad screen won't load Windows when it restarts

분류에서Dev

Install partly downloaded updates in Debian

분류에서Dev

How to install Windows 10 after Debian

분류에서Dev

Mouse scroll doesn't work in Windows 10 start menu

분류에서Dev

Why doesn't Nodejs app work on Windows IIS

분류에서Dev

Windows 10 keeps loading thumbnails like if cache doesn't work

분류에서Dev

mingw dll을 Windows dll과 연결

분류에서Dev

Delphi link to windows dll statically or dynamically

분류에서Dev

Windows 7 won't boot after editing Windows loader partition with GParted

분류에서Dev

Windows 7 Upgrade keeps rolling back to Vista

분류에서Dev

Windows Phone 7 "back button" how to detect?

분류에서Dev

RequestContext won't work

분류에서Dev

How does Windows API work?

분류에서Dev

Mint UEFI partition suddenly not recognized by UEFI anymore - after booting Windows 7 once

분류에서Dev

System won't boot anymore after software update

Related 관련 기사

뜨겁다태그

보관