C++ DLL plugin interface

后端 未结 2 1864
不思量自难忘°
不思量自难忘° 2021-01-03 04:48

I\'m planning on doing a C++ plugin interface ala How to create some class from dll(constructor in dll)?(с++) but concerns have been raised that if the interface is used to

2条回答
  •  感情败类
    2021-01-03 05:19

    An idea could be using standard extern C function to create a ClassFactory. Have some convenction about a fixed ( or more ) entry point the dll must expose to be a valid plugin.

提交回复
热议问题