Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

Cadi2108

@Cadi2108
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled""
    C Cadi2108

    First I put it in folder when is file .exe. Now I put it to C:\Windows\SysWOW64, but application have error, that not found this library.

    C# question announcement

  • Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled""
    C Cadi2108

    I think in Visual Studio. I don't know details, it's my friend's library, I didn't create it.

    C# question announcement

  • Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled""
    C Cadi2108

    I didn't add my library to references. Before (on x86) I didn't add also and it was OK.

    C# question announcement

  • Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled""
    C Cadi2108

    I tried to build my project as "AnyCPU", x86 and 64 bit, results are always the same: "BadImageFormatException was unhandled". According to the guideline, I used CORFLAGS. After call: CorFlags.exe library.dll I have:

    Error CF008 : The specified file does not have a valid managed header.

    C# question announcement

  • Using own .dll in 64 bit version system - exception: ""BadImageFormatException was unhandled""
    C Cadi2108

    I am trying to use any DLL in Windows 7 64 bit version. It give me exception "BadImageFormatException was unhandled". The same .dll works fine with Windows XP. The .dll was written in ASM and built using AnyCPU platform. Here is the call in project:

    [DllImport("library.dll")] static extern bool MyFunction(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);

    Anyone has come across it, is there a way to resolve it? Best regards.

    C# question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups