Initialization function - vsmInit()

This DLL function is called by Embed to allow the DLL to perform initialization, particularly to insert userFunction blocks into the Blocks menu.

EXPORT32 int EXPORT PASCAL vsmInit()

You must tell Embed the path to your DLL in order for vsmInit() to be called at Embed start up.