Linux dll -> Windows dll

evilrat evilrat666 at gmail.com
Fri Jan 24 22:58:09 PST 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/breaker/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.


More information about the Digitalmars-d-learn mailing list