how to export callbacks on win64?

Jacob via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Oct 24 20:28:53 PDT 2016


On Tuesday, 25 October 2016 at 03:23:41 UTC, captaindet wrote:
> however, using ldc2-1.1.0-beta3-win64 w/ VS2015 i get the 
> following GTK warning "Could not find signal handler 
> 'myCallback'.  Did you compile with -rdynamic?"


What are you trying to do? Make a D shared library on windows? 
LDC might not export the functions making them visible. If you 
are making a DLL you might try using a .def file with the linker. 
https://msdn.microsoft.com/en-us/library/d91k01sh.aspx


More information about the digitalmars-d-ldc mailing list