Dll compatibility between compilers

后端 未结 9 1728
小蘑菇
小蘑菇 2021-01-02 08:35

Is there some way to make c++ dlls built with diffrent compilers compatible with each other? The classes can have factory methods for creation and destruction, so each compi

9条回答
  •  春和景丽
    2021-01-02 08:52

    interesting.. what happens if you compile the dll in VC++ as well, and what if you put some debug statements in CreateClass()?

    I'd say its possible that your 2 different runtime 'versions' of cout are conflicting instead of your method call - but I trust that the returned function pointer/dllclass isn't 0x00000004?

提交回复
热议问题