Autor Thema: easy_com.dll macht Probleme bei Win7 64bit  (Gelesen 12655 mal)

Offline stenei

  • Newbie
  • *
  • Beiträge: 10
easy_com.dll macht Probleme bei Win7 64bit
« am: Juni 09, 2011, 18:59:42 Nachmittag »
Hallo,

hab das problem, dass meine VB Anwendung mit der easy_com.dll unter Win7 und 64bit streikt.  :'(

System.BadImageFormatException kommt beim Ausführen mit VB2010.
Bin sogar Admin auf dem PC.

Bitte um Hilfe!

Offline edu31

  • Jr. Member
  • **
  • Beiträge: 76
Re:easy_com.dll macht Probleme bei Win7 64bit
« Antwort #1 am: Juni 10, 2011, 11:58:06 Vormittag »
Hallo steini,

übersetzte deine Basic-Anwendung mal mit der Einstellung Zielplattform "x86".

Wenn das allein noch nicht reicht, könnte noch die Nachinstallation des
"Microsoft Visual C++ 2005 Redistributable Package (x64)" auf dem betreffenden PC notwendig sein.

HTH
Eduard

Offline stenei

  • Newbie
  • *
  • Beiträge: 10
Re:easy_com.dll macht Probleme bei Win7 64bit
« Antwort #2 am: Juni 11, 2011, 18:25:32 Nachmittag »
Hallo Eduard,

vielen Dank für deine Antwort.
Habe leider nur VB2010 Express. Hier kann man die Zielplattform nicht ändern.
Es geht nur ANY-CPU.

Muss erstmal schaun on ich den Quell-Code bei einem Kollegen kompilieren lasse, der die Möglichkeit zum umstellen hat.

Werde dann das Ergebis posten.

Danke

Gruß
Stenei

Offline daniel.h

  • Jr. Member
  • **
  • Beiträge: 21
  • I love easy-Forum.net
Re:easy_com.dll macht Probleme bei Win7 64bit
« Antwort #3 am: Februar 13, 2014, 10:55:14 Vormittag »
Hier noch mal für alle "Express"-Nutzer:


http://msdn.microsoft.com/en-gb/vstudio/aa718685.aspx :

Express Editions:
The VB and C# Express products do not expose the Target property inside the development environment. You will need to carefully modify the project file using a text or XML editor.
1. Close the project and/or solution
2. Select Open File from the File menu
3. Navigate to the project directory, and highlight the project file
4. Press the Open button, the project file should open in the XML editor
5. Locate the first <PropertyGroup> section and add the following line:
<PlatformTarget>x86</PlatformTarget>
1. Save the project file
2. Reopen the project and/or solution using Open Project/Solution from the File menu
3. Continue with development, debugging, and testing

läuft perfekt.