DLLs and headaches

2009-05-04 Thread Unknown W. Brackets
This is kinda complicated, hopefully someone will still read it and try it. DLLs typically don't have access to the host process. Sometimes, when creating plugins, such access may be desirable. The typical solution is to have the host and plugins both load a secondary DLL. I've tried to rep

Re: DLLs and headaches

2009-05-04 Thread Don
Unknown W. Brackets wrote: This is kinda complicated, hopefully someone will still read it and try it. DLLs typically don't have access to the host process. Sometimes, when creating plugins, such access may be desirable. The typical solution is to have the host and plugins both load a second

Re: DLLs and headaches

2009-05-04 Thread Unknown W. Brackets
D2; but actually, it kinda works. It crashes on freeing the library, but it loads fine. If I use std.stdio, link says that primary.__ModuleInfo is missing, but that just means it crashes during compile/link. That said, I'm very dissapointed that Runtime doesn't support Posix yet. Means I'l

Re: DLLs and headaches

2009-09-17 Thread Richard Webb
Don Wrote: > If D2 -- I haven't been able to get D2 DLLs to work at all. They just > crash during the initialization (something to do with initialising the > thread-locals, I think, but I haven't been able to track it down > completely). Hi, I've recently been having a go at writing a COM obje

Re: DLLs and headaches

2009-09-25 Thread Don
Richard Webb wrote: Don Wrote: If D2 -- I haven't been able to get D2 DLLs to work at all. They just crash during the initialization (something to do with initialising the thread-locals, I think, but I haven't been able to track it down completely). Hi, I've recently been having a go at wri