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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problem with Dll

Problem with Dll

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 1149186
    wrote on last edited by
    #1

    Sir, I have a dll named Dll.dll. There were no errors at build time. Later on when I wanted to access the functions of this DLL through client,Then a Runtime error -Bad Image occured. The contents of this message are - "The application or DLL C:\\WINNT\\Dll.dll is not a valid Windows image.Pls check this against your installation diskette." What should I do? Why this occurs?

    R 1 Reply Last reply
    0
    • U User 1149186

      Sir, I have a dll named Dll.dll. There were no errors at build time. Later on when I wanted to access the functions of this DLL through client,Then a Runtime error -Bad Image occured. The contents of this message are - "The application or DLL C:\\WINNT\\Dll.dll is not a valid Windows image.Pls check this against your installation diskette." What should I do? Why this occurs?

      R Offline
      R Offline
      RonnyS
      wrote on last edited by
      #2

      Hello! I'm not sure but check these things: 1st. Have you written the dll by your self? -> Check that the Functions are exported (or something like that i don't know exactly the name) 2nd. Have you set the extra path for the dll directory? 3rd. Is there a lib File which you have to include? 4th. Is the dll File in the Debug folder?? I hope it helps! Ronny

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

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