Tech Tip: Getting a list of Plug-ins loaded by 4D programmatically
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: January 4, 2005
In 2004, you can now programmatically get a list of plug-ins that are loaded in 4th Dimension by using the command GET PLUGIN LIST. The command GET PLUGIN LIST also detects the plug-ins that are intergrated into 4D for example 4D Chart. This command is useful when used along with the command 'Is license available' to check if the plug-in is available. The example below demonstrates how the command is used.
ARRAY LONGINT(plugnum;0)
ARRAY TEXT(plugname;0)
GET PLUGIN LIST(plugnum;plugname)
The plug-in numbers will be returned in the variable plugnum and the name of the plug-ins will be returned in the variable plugname.