Closed

add custom DLL search path when application startup( Visual Studio 2017 )

Hi.

I'm racking my brain trying to come up to a DLL load problem.

I created empty qt application( no any feature ) that statically links to other lib files which load DLLs.

I'd like to have some DLLs in another folder other than the folder that the executable is in.

Something like %working_folder%\plugins - I'd rather not have dozens (yes ... dozens) of DLLs in my %working_folder%.

I'm trying to solve something that is part of the main app that will adjust the search path @ startup.

The problem I'm running into is that this new custom DLL path isn't in the system search path.

When I start the app it crashes (STATUS_DLL_NOT_FOUND) because the necessary DLLs are not in the appropriate places.

What I'd like to do is to check @ startup if this DLL folder is in the process environment variable search path and if not add it.

Problem is, the application attempts to load all these DLLs before the app executes one line of code.

I dont' want run from bat file.

If you can fix this issue, please send me invitation.

Please refer following links

[login to view URL]

I attach the source code with dll issue.

[login to view URL]

- visual studio 2017

- qt 5.14.2

Skills: C++ Programming, Windows Desktop, C Programming

See more: windows desktop application c++ visual studio 2017, application insights visual studio 2017, c# web application tutorial visual studio 2017, convert to web application missing visual studio 2017, bot application template visual studio 2017, win32 application wizard visual studio 2017, metadata file dll could not be found visual studio 2017, how to publish windows application in visual studio 2017, how to create asp.net web application in visual studio 2017, how to create wpf application in visual studio 2017, how to create a web application in visual studio 2017, how to debug console application in visual studio 2017, how to create mvc application in visual studio 2017, how to convert website into web application in visual studio 2017, how to create c++ console application in visual studio 2017, bot application template visual studio 2017 download, how to create mvc application in visual studio 2017 step by step, unable to copy file access to the path is denied visual studio 2017, how to create exe file for wpf application in visual studio 2017, how to create console application in visual studio 2017

About the Employer:
( 9 reviews ) Al-Mafraq, Jordan

Project ID: #28869022

4 freelancers are bidding on average $29 for this job

danchiksvetliy

Dear Almoutaz. I am confident in your project and I can finish it clearly on time. I am well experienced and skillful C/C++/C# programmer as you can see my past works on this site. I ensure the best quality of your pro More

$30 USD in 1 day
(4 Reviews)
3.6
Lightcanon

Hello, I am a professional C/C++ and Qt developer and I can solve this issue. As you said, the only way is to add this search path to environmental variables. So, There are multiple options for this to work (before run More

$30 USD in 2 days
(13 Reviews)
3.8
dimkapacha

Hi. I can instantly help you with your starting project with a successful completion. As a professional app developer, I ensure for a perfect ongoing project. You will never be disappointed in me for sure. Good lu More

$30 USD in 7 days
(2 Reviews)
1.7
Styleoshin

Hello, I'm a Software Developer with specialized skills in C++/Qt/OpenCV and three years of development. I can make your project as you like. I understand your problem, I never try that. But it's possible to communicat More

$27 USD in 5 days
(1 Review)
0.9