Re: How to avoid invalid memory operation errors (and more) in DLLs?

2015-01-18 Thread Heinz via Digitalmars-d-learn
On Wednesday, 14 January 2015 at 13:51:08 UTC, John Colvin wrote: Would it be possible for you to file this as a bug at issues.dlang.org ? While trying to file this issue, I was simplifing my test case and in the process I was able to make it not crash, but now core.thread.Thread.getThis().n

Re: How to avoid invalid memory operation errors (and more) in DLLs?

2015-01-14 Thread John Colvin via Digitalmars-d-learn
On Friday, 26 December 2014 at 00:40:45 UTC, Heinz wrote: Hello everyone, I'm making a big framework with D2 (DMD 2.066.1) and I've been encountering many errors related to threads in DLLs. My program flow is a main exe wich statically loads a main dll, then this main dll dynamically loads an e

How to avoid invalid memory operation errors (and more) in DLLs?

2014-12-25 Thread Heinz via Digitalmars-d-learn
Hello everyone, I'm making a big framework with D2 (DMD 2.066.1) and I've been encountering many errors related to threads in DLLs. My program flow is a main exe wich statically loads a main dll, then this main dll dynamically loads an extra dll and then this extra dll dynamically loads a final