Adding a custom block to an Embed menu

Whether you created your custom block using the Embed DLL Wizard or by writing it entirely by hand in C++, Pascal, or Fortran, you can easily add the block to an Embed menu by following the procedure below.

If you hand-coded your DLL, make sure the DLL function:

      Exports the vsmInit() function

      Calls setUserBlockMenu() from within vsmInit()

To add a custom block to an Embed menu

1.    Choose Edit > Preferences.

2.    Click the Addons tab.

3.    Double-click on the ellipsis (…) and type in the path to the DLL function, or click to locate the DLL function. If you created the DLL function using the Embed DLL Wizard, the DLL function will reside in the \DEBUG directory directly below the project directory.

4.    Click OK, or press ENTER.