C++ / CLI - How To Use Managed C++ DLL when Microsoft Visual C++ Redistributable is not installed?
If your .NET application uses components written in Managed C++, you face the necessity to distribute Microsoft Visual C++ Redistributable with it. If one attempts to launch such application in a system that doesn’t have the corresponding Microsoft Visual C++ Redistributable installed, the user will get a warning “This application has failed to start because the application configuration is incorrect”. Why this happens, and can that be done without installing Microsoft Visual C++ Redistributable?
Use ActiveX components without registration
Many applications use ActiveX and COM components. But all ActiveXs should be registered in the system registry to be used properly. This is a problem:
- registration in the registry requires admin rights
- sometimes registration influences to other applications
for example, your application uses Flash 7, but another application requires Flash 9 - your application should register an ActiveX at startup and unregister it when ActiveX is not needed anymore
for example, your application is so-called portable application
How to solve the task using BoxedApp?
.NET Runtime Embedding
If you are into developing .NET applications, you are likely to know that it requires .NET Runtime to have the success running them. If the runtime suite is not installed, whenever the program attempts to launch, it shows an ugly messagebox notifying you that mscoree.dll could not be found… (click to read more)
.NET Applications: How to Hide Assemblies And Unmanaged DLLs
One interesting task I’ve heard from one of our first customers is hidding assemblies and unmanaged DLLs. The target language is C#. Let’s explore how to solve this task with BoxedApp SDK…(click to read more)
How to embed Flash Player ActiveX using BoxedApp SDK
OK, let’s get started.
One of the most important features is embedding ActiveX into an application. BoxedAppSDK_RegisterCOMLibraryInVirtualRegistry registers a virtual file in a virtual registry. In detail, it loads a specified file (LoadLibrary) and calls DllRegisterServer (exported from the DLL). All changes made by DllRegisterServer are saved in the virtual registry; the system registry remains unchanged… (click to read more)


Recent Comments