Binding a DLL to a userFunction block

If you do not want your custom block to appear in a menu, you can bind the corresponding DLL to a userFunction block. Embed calls the DLL each time the block is executed.

To bind a DLL to a userFunction

1.    Under Blocks > Extensions, drag a userFunction block in your diagram.

2.    Right-click the block, or choose Edit > Block Properties and click the block.

3.    In the DLL File Name box, enter the name of the DLL file containing the user function.

4.    In the Base Function Name box, enter the base name of the function.

5.    Click OK, or press ENTER.