The main console interface implements the IAPPLICATIONCONTEXTEX01 interface, which can be executed manually by loading DLLs and configuration files, as described in the demo (samples\manualloadlib)
IAPPLICATIONCONTEXTEX01 =Interface(iinterface) ['{10009F97-1949-476D-9CE1-1AF003B47DCB}'] <summary>//Loading library files</summary>//<returns>//load succeeds return True, failure returns false, can get exception with Raiselastoserror</returns>//<param name= "Pvlibfile" > (Pansichar) </param>functionCheckloadlibraryfile (Pvlibfile:pansichar): Boolean;stdcall; <summary>//Load configuration file</summary>//<returns>//Load failed return false< file may not exist >//</returns>//<param N Ame= "Pvconfigfile" > (Pansichar) </param>functionCheckloadbeanconfigfile (Pvconfigfile:pansichar): Boolean;stdcall; End;
ApplicationContext as Iapplicationcontextex01.checkloadlibraryfile (' Plugin\*.dll,plugin02\*.dll ');
Or
ApplicationContext as Iapplicationcontextex01.checkloadlibraryfile (' C:\pluginA.dll ');
Configuration file load Usage consistent
* According to [youth] proposed program to strengthen the loading mode
[Mybean instruction]-add IAPPLICATIONCONTEXTEX01 interface to load library files manually