digitalmars.D.learn - Linux dll -> Windows dll
- Mineko (9/9) Jan 24 2014 Alright.. I've been having issues with getting windows DLL's to
- evilrat (6/15) Jan 24 2014 https://github.com/MinekoRox/Breaker-Engine/blob/master/src/breaker/util...
- Benjamin Thaut (8/15) Jan 25 2014 Windows Dlls are fundamentally broken. The only thing that works at the
- Mineko (2/2) Jan 25 2014 Ok thank both of you, looks like I really will have to wait on
Alright.. I've been having issues with getting windows DLL's to work with DMD, as in I can't make them and can't even compile without a bunch of errors. So, I need help on that, as the dll part of the site ain't helping. Also, any idea on how to convert some of the dll stuff on https://github.com/MinekoRox/Breaker-Engine/blob/master/src/br aker/utility/core.d to be windows compatible, I was having weird issues with that also.
Jan 24 2014
On Saturday, 25 January 2014 at 03:13:33 UTC, Mineko wrote:Alright.. I've been having issues with getting windows DLL's to work with DMD, as in I can't make them and can't even compile without a bunch of errors. So, I need help on that, as the dll part of the site ain't helping. Also, any idea on how to convert some of the dll stuff on https://github.com/MinekoRox/Breaker-Engine/blob/master/src/br aker/utility/core.d to be windows compatible, I was having weird issues with that also.https://github.com/MinekoRox/Breaker-Engine/blob/master/src/breaker/utility/core.d#L158 you are about this? it is just "dmd -shared -ofmydll.dll files.d", the problem is that you may have to add DllMain. if this doesn't works for you then put a error or describe what exactly doesn't work.
Jan 24 2014
Am 25.01.2014 04:13, schrieb Mineko:Alright.. I've been having issues with getting windows DLL's to work with DMD, as in I can't make them and can't even compile without a bunch of errors. So, I need help on that, as the dll part of the site ain't helping. Also, any idea on how to convert some of the dll stuff on https://github.com/MinekoRox/Breaker-Engine/blob/master/src/breaker/utility/core.d to be windows compatible, I was having weird issues with that also.Windows Dlls are fundamentally broken. The only thing that works at the moment are DLLs with a C-Interface (written in D). DLL support on Windows is nowhere near the shared library support on linux. I tried pushing for a fix, but its currently not a priority. See http://wiki.dlang.org/DIP45 Kind Regards Benjamin Thaut
Jan 25 2014
Ok thank both of you, looks like I really will have to wait on Windows DLL's.
Jan 25 2014