Win32 DLLs in D

Виталий Фадеев vital.fadeev at gmail.com
Sat Jun 6 04:46:56 UTC 2020


On Friday, 5 June 2020 at 18:00:40 UTC, Poyeyo wrote:
> Hello everyone.
>
> I want to create a windows plugin.dll that could be called from 
> rFactor, and I want to try D first, instead of going directly 
> to C++ as the rFactor example.
>
> I am trying to wrap my head around this:
>
> https://wiki.dlang.org/Win32_DLLs_in_D
>
> ... which seems quite outdated,
>
> and this:
>
> https://forum.dlang.org/post/mscgsclxwtjcferfxoet@forum.dlang.org
>
> ... which seems incomplete,
>
> ... and dub, which makes a mess of all my efforts.
>
> Can someone with the right knowledge please update the wiki 
> with a modern example that also uses dub for both the Dll and 
> the test program?
>
> Dub is not a requirement, just a convenience that would be much 
> appreciated.
>
> Best regards.

D language dll example.
Creating DLL for hook create, activate, destroy window and hook 
keyboard events.

https://github.com/vitalfadeev/dlang-dll


More information about the Digitalmars-d-learn mailing list