Skip navigation links
Restart Windows Explorer easily from your application!
Menu
ShellDispenser-Dev
Restart Windows Explorer easily from your application!

Setup your development environment

Below are the instructions on how to set up some development environments to use ShellDispenser-dev.  In most development environments however, code can call a DLL's functions directly without special settings.  The below instructions are meant to make the calls to ShellDispenser-Dev smoother and/or easier.  All referenced files can be found in the subfolder "Integration" in the ShellDispenser-Dev installation folder.

All C / C++ environments

You can use the LoadLibrary and GetProcAddress functions to access the ShellDispenser-Dev functions.  The functions all use the __stdcall calling convention.  See the "ShellDispenser-Dev.h" file for the correct function prototypes.

Microsoft Visual C++

For Microsoft Visual C++, you can reference the "ShellDispenser-Dev.lib" file as a linker include in your project build settings, and #include the "ShellDispenser-Dev.h" file in your source files to have the functions declared and ready to use.  This way you do not have to call LoadLibrary and GetProcAddress.

Code::Blocks with GCC / MingW

If your project is set to compile with the GCC compiler and the MingW libraries, then you can reference the "ShellDispenser-Dev.a" file as a linker include in your project build settings, and #include the "ShellDispenser-Dev.h" file in your source files to have the functions declared and ready to use.  This way you do not have to call LoadLibrary and GetProcAddress

Microsoft Visual Basic 6.0

The code to use ShellDispenser-Dev from VB is in the file "ShellDispenser-Dev.bas".  You can include this file into your project, and call the functions directly in your code from there on.

Visual Basic for Applications (VBA)

The code to use ShellDispenser-Dev from VBA is in the file "ShellDispenser-Dev.bas".  You can import this file into your VBA project, and call the functions directly in your code from there on.

Other environments

Consult your development environment's help files to get more information on how to accomplish this in your development environment.