Dll not found from visual studio | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Dll not found from visual studio

Hi I have a visual studio project which should use one of the existing Dll. I have set lib file path and lib name in linker section of the project property.. also added header path to additional include directory in C++ section Project gets build without any compiler erro but exe of application not executing mentioning that DLL is not loaded. I tried to copy DLL onto system 32 and project debug folder having exe file. How to remove this mirror

3rd Jul 2021, 1:24 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
6 Answers
+ 1
The one I am mentioning in linker as lib file... For example; I mentioned asc.lib in linker dependency, it says asc.dll missing
3rd Jul 2021, 5:34 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
Can u tell me which dll file ia missing. actully i was also facing error in dll while using SFML but when i pasted dll file on my project it was working properly .
3rd Jul 2021, 11:49 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
I had pasted lib into application directory both In debug and release... However , DLL is also required ? Do we have both DLL and lib for external (to the application) application ? ps : asc is not actual name of DLL... it is example name... I just used that name as I don't know whether I am allowed to reveal name of DLL I am trying to refer
3rd Jul 2021, 9:06 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
Many thanks Martin Taylor ... It solved now... I appended DLL folder path into Property->debugging->environment along with existing path and issue solved... Dll is our own developed DLL and sorry for not sharing name as it is confidential and I don't have previllege
3rd Jul 2021, 9:53 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
It was our own developed DLL and not distributed to others yet A.S. ... Yes , you can paste DLL into the project path or else other option is to set environment variable path with path where required DLL is available
3rd Jul 2021, 3:48 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
You can download them from this website. https://pcpatchedup.com/
24th Jul 2023, 8:48 AM
Mohd sabir Rao
Mohd sabir Rao - avatar