Hi David,

> Am 21.01.2021 um 15:00 schrieb David Chisnall <gnus...@theravensnest.org>:
> 
> It looks as if you are missing the dllimport attribute on the classes that 
> you're referencing from another DLL.

Thanks so much, that was indeed it! My little DLL test setup is working now. I 
thought I had tried that before, but apparently not (correctly). This also 
removes the need for a module definition file. I’ll annotate all the classes in 
GNUstep with something like "GS_EXPORT_CLASS".

I did a first build of the GNUstep Base DLL with a couple classes annotated 
like this, but just got various crashes trying to use it in a test program so 
far. I’ll dig into those further next week.

Meanwhile on the MinGW side I’m also still working on creating steps for you to 
build Clang with the MinGW patches and will let you know when I have those 
ready.

Thanks again and have a good weekend.

Frederik

Reply via email to