Can somebody help me with exporting functions from a DLL? I am defining functions in C++ like extern "C" __declspec(dllexport) void* __qtd_QObject_QObject_QObject(args) After compiling a DLL with MINGW and producing a lib file for it with implib I am trying to use them from D. In D I declare them as extern (C) void* __qtd_QObject_QObject_QObject(args); And then compile it and link it to the .lib file made by implib for that DLL, but optlink complains that symbol is undefined. I tried to use that Cfunction from C++ and it worked. What I can do?
- Re: QtD 0.1 is out! Eldar Insafutdinov
- Re: QtD 0.1 is out! Don
- Re: QtD 0.1 is out! naryl
- Re: QtD 0.1 is out! naryl
- Re: QtD 0.1 is out! Don
- Re: QtD 0.1 is out! Nick Sabalausky
- Re: QtD 0.1 is out! Arnold S.
- Re: QtD 0.1 is out! Eldar Insafutdinov
- Re: QtD 0.1 is out! Mike Parker
- Re: QtD 0.1 is out! Eldar Insafutdinov
- Re: QtD 0.1 is out! Eldar Insafutdinov
- Re: QtD 0.1 is out! Bill Baxter
- Re: QtD 0.1 is out! Eldar Insafutdinov
- Re: QtD 0.1 is out! Eldar Insafutdinov
- Re: QtD 0.1 is out! Bill Baxter
- Re: QtD 0.1 is out! Denis Koroskin
- Re: QtD 0.1 is out! Eldar Insafutdinov
- Re: QtD 0.1 is out! Max Samukha
- Re: QtD 0.1 is out! Eldar Insafutdinov
- Re: QtD 0.1 is out! Eldar Insafutdinov
- Re: QtD 0.1 is out! Eldar Insafutdinov