Plug-in learning notes

xiaoxiao2021-03-06  41

Search for the "plug-in" related introduction article, there is an article about WINAMP plug-ins. It is studied. It is understood that WinAmp is called Dynamic Library DLL, and the interface supported by the main program and DLL will be used. All information tells the main program (via a set-up structure) to achieve the purpose of the main program for plug-in. I guess the main program may have an automatic search function on the plugin under the fixed path. When the program starts, some plugins are automatically cognitive and registered inside the main program (possibly through the INI file), when the main program is started next time, the plugin can be automatically loaded. The uninstall process of the plugin, the conjecture is the case, first put the registration inside the main program, then delete the corresponding DLL in the corresponding directory. This is a method of implementing a plugin through a DLL, a more advanced approach is a COM method.

转载请注明原文地址:https://www.9cbs.com/read-56558.html

New Post(0)