Problem:
- Product Name: VisiBroker for C
- Product Version: 6.x
- Product Component: ORB Smart Agent
- Platform/OS Version: Windows
Up until VBE 5.2.1 latest patch, the Smart Agent is a self-contained executable that does not have external DLL dependencies. But this changes in VBE 6.0 onward.
Resolution:
Starting from Microsoft Visual C .NET 2002 or later, the shared CRT DLL is no longer distributed as a shared system component. Application Developers need to bundle the dependent DLLs along with their application distribution or install the DLLs as a redistributable package.
For VisiBroker 6.0, the dependent DLLs are MSVCI70.DLL or MSVCP70.DLL, MSVCR70.DLL, and MFC70.DLL.
For VisiBroker 6.5, the dependent DLLs are MSVCP71.DLL, MSVCR71.DLL, and MFC71.DLL.
The MSVCI70.DLL is for application that uses the classical iostream C libraries, whereas the MSVCP70.DLL is for application that uses the standard iostream C libraries.
The application developer could bundle these DLLs from the VC redist folder of the Microsoft Visual Studio installation or pick these up from the VisiBroker installation which has distributed these for convenience.
Therefore when redistributing the Smart Agent or the ORB applications from VBE 6.x, these dependent DLLs will also need to be packaged in as well. The free utility Dependency Walker could be used to check on what the VisiBroker binaries DLLs dependencies are.
Reference
Redistribution of the shared C runtime component in Visual C
Support Case: 579999
#VisiBroker
#Security




