Copyright © 2011-2018 MultiMedia Soft

Effects.VstLoad method

Previous pageReturn to chapter overviewNext page



Loads a VST effect from an external dynamic-link library (DLL) file.


IMPORTANT NOTE ABOUT USAGE UNDER X64: VST effects are not supported under x64 versions of Windows until the container application is not compiled specifically for x86.


For further details about managing a VST effect refer to the How to manage VST effects section.

For further details about methods related to the use of special effects refer to the EffectsMan class.





[Visual Basic]

Public Function VstLoad (

strPathname as String

) as Int32



public Int32 VstLoad (

string strPathname




public: Int32 VstLoad (

string strPathname









String representing the filename or absolute pathname of the DLL file containing the VST effect.

If the string specifies a path but the file does not exist in the specified directory, the function fails. When specifying a path, be sure to use backslashes (\), not forward slashes (/).

If the string does not specify a path, the function uses the standard search strategy of the LoadLibrary Windows API to find the file.



Return value






> 0

Numeric value representing the unique identifier of the VST effect: this unique identifier will be used in order to invoke further methods related to the use of the loaded VST effect.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.