DiscussionsIssue archiveData Exchange and Application Framework

Archived discussion

MS Visual c++ Redistributable for OCCT 7.4

Data Exchange and Application FrameworkFri, 04/09/2021 - 13:213 replies

Browse this forum
QuestionAuthor

Hello Team, we are using STEP redeare OCCT API using OCCT 7.4 platform. Application works fine but it's showing error as System.IO.FileNotFoundException: Could not load file or assembly 'Çustom.dll' or one of its dependencies. The specified module could not be found.

May i know what MS Visual C++ Redistributal version is required on testing machine (non development) machine. We are facing this issue on MS Windows 2016 Server.

It has MS Visual c++ 2013, 2015 – 2019 x64 Redistrubutables but still not working.

Thanks in advance.

Thanks & Regards,

Author

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

'Çustom.dll' is not part of OCCT - I guess this is your library. In this case, I would pay attention to 'Ç' symbol in your message. If your library has indeed some non-Latin symbols in the name, that the issue might be caused by different locales in tested systems.

02Author

Hello Kirill, this is the custom DLL we have created using OCTT library for STEP file info extraction.

Same DLL works fine on development environment where MS VS is installed but not on windows Server we are using for testing. It shows error as failed to load DLL due to missing dependency library.

03Commenter-1

May i know what MS Visual C++ Redistributal version is required on testing machine (non development) machine.

OCCT is supposed to be built from source code, so that which CRT should be used for application distribution depends on your building environment and configuration.
If you don't have Dependency Walker, you may also try a small CheckDLL tool to get more information about why your DLL cannot be loaded.