-
Notifications
You must be signed in to change notification settings - Fork 1
The ActiveX DLL
This repo includes a 32-/64-bit ActiveX DLL compiled in twinBASIC, as well as a corresponding Inno Installer for installing the ActiveX DLL on your system. Once installed, the SolverWrapper code library can be referenced by your Excel VBA projects to expose the SolverWrapper object model without having to manage the SolverWrapper source code.
In order to use the ActiveX DLL in your VBA projects, you must set a VBA reference to SolverWrapper. From the VBA IDE, select Tools>References and scroll down the list of references until you see SolverWrapper. Click to set the checkmark and then hit OK from the References dialog.
Also of note is that the DLL requires no dependencies (such as .Net Framework) and was designed so that it can be used (alternatively) without registration, if use of IntelliSense and the Object Browser are not important.
I have included the twinBASIC source and project file, and the Inno Setup script in case you would like to compile and install from scratch.
For more details on installation, see the ActiveX DLL FAQ in this Wiki.
The SolverWrapper's ActiveX DLL Object Model in VBA's Object Browser:

Getting Started
How-to Topics
- Solver Primer
- A Walkthrough Example
- Using the Enhanced Callback
- Using SolverWrapper Events
- ActiveX DLL FAQ
- Using Without Registration
Object Model Overview