Eldar Insafutdinov Wrote: > This way won't really work because there are dozens of such a functions - > that's for virtual dispatch. I have just solved it by declaring functions > "export extern (C)" and adding "_" prefix to function name when calling > GetProcAddress. So technically there are no issues to make qtd working on > windows!
So porting qtd to windows almost finished, but I experienced couple of new problems. One of them is that these callback functions that I declare on D side(as export extern C) of the binding and that should be called from C++ part which sits in DLL, they are not put by linker into executable if they are in a static library. If I compile module which contains them with the resulting executable - it works fine, functions are in executable. I tried -L/-L/NOPACKFUNCTIONS but it didn't help. What can solve this problem? Thank you.
