Problem with Dll
-
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?
-
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?
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