Click here to Skip to main content
15,887,833 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a dll Hello.dll but now I changed the name of dell for 64 bit like hellox64.dll.but the problem is when I execute the exe the error message shows that


The program can't start becouse the hello.dll is missing from your computer.

but I have already changed the property of exe.In Linker->Input->Additional Dependencies as hellox64.lib. But the exe of 64 bit still not execute.
Posted

1 solution

Did you rebuild the dll (and lib file) and your executable or just rename them? If you just renamed them then the lib file (and your executable) will still be pointing at Hello.dll.
 
Share this answer
 
Comments
vikky08 3-Nov-11 9:18am    
Yes I rebuild both dll and exe.
Richard MacCutchan 3-Nov-11 9:45am    
Well something clearly did not get done because, as you can see, your program is still trying to load hello.dll rather than your renamed version. I would suggest you check all your names again and do a complete rebuild of both projects.
vikky08 3-Nov-11 10:02am    
I did Richard,But my time is not with me(I think).any way can you tell me except the Additional Dependencies in Linker where we can set the path of the library.
Richard MacCutchan 3-Nov-11 10:05am    
Make sure that the DLL project is correctly generating both Hellox64.lib and hellox64.dll. Make sure that you are including Hellox64.lib only in your linker settings. Finally make sure that Hellox64.dll is in the system directory, or the directory where the executable file is, so the system loader can find it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900