I am writing a integration program.
I have a dll referenced in my project from one of the programs I am integrating with and it builds fine.
But I need to exclude it from my setup because the user needs to purchase the other software I integrate with to get the dll. My program needs to be able to run with or without that dll. There are conditions in place so that the code doesn't call anything from the dll if the other program is not installed on the users computer. The problem is that I still get an error telling me the dll was not found when my program is installed and run.
The code knows if the dll is there or not so how do I get it to run without crashing if it isn't there?
I have a dll referenced in my project from one of the programs I am integrating with and it builds fine.
But I need to exclude it from my setup because the user needs to purchase the other software I integrate with to get the dll. My program needs to be able to run with or without that dll. There are conditions in place so that the code doesn't call anything from the dll if the other program is not installed on the users computer. The problem is that I still get an error telling me the dll was not found when my program is installed and run.
The code knows if the dll is there or not so how do I get it to run without crashing if it isn't there?