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.

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 to select 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.