Using both .so and .dll on Windows

后端 未结 3 1765
猫巷女王i
猫巷女王i 2020-12-17 01:04

I am writing a program in windows in C++ in which users will be able to compile extensions in the form of dynamic-link libraries (windows), or shared object files (linux). <

3条回答
  •  佛祖请我去吃肉
    2020-12-17 01:27

    DLLs and SOs are fundamentally different formats, so in short, no, you can't load a DLL on Linux or an SO on Windows.

提交回复
热议问题