Re: DLLs: Cleaning up

2013-07-17 Thread Chris
On Monday, 15 July 2013 at 15:59:42 UTC, Chris wrote: On Monday, 15 July 2013 at 15:26:49 UTC, Ellery Newcomer wrote: On 07/15/2013 07:18 AM, Chris wrote: doesn't work with newer versions of dmd does too. (I'm the maintainer) https://bitbucket.org/ariovistus/pyd Thank you very much (I

Re: DLLs: Cleaning up

2013-07-17 Thread Ellery Newcomer
On 07/17/2013 08:13 AM, Chris wrote: with some nasty surprises as regards obtaining (valid) paths on Windows as opposed to Linux / Mac. Do tell. (Any time and life saving advice about linking to other libraries / DLLs?) Thanks everyone! celerid should be up to the task.

Re: DLLs: Cleaning up

2013-07-15 Thread Chris
On Sunday, 14 July 2013 at 21:10:53 UTC, Ellery Newcomer wrote: On 07/11/2013 05:58 AM, Chris wrote: I have a DLL written in D I load into a Python application via ctypes like so: lib = CDLL(mydll) The DLL loads and can be used no problem. However, once the DLL is discarded of by the

Re: DLLs: Cleaning up

2013-07-15 Thread Ellery Newcomer
On 07/15/2013 07:18 AM, Chris wrote: doesn't work with newer versions of dmd does too. (I'm the maintainer) https://bitbucket.org/ariovistus/pyd

Re: DLLs: Cleaning up

2013-07-15 Thread Chris
On Monday, 15 July 2013 at 15:26:49 UTC, Ellery Newcomer wrote: On 07/15/2013 07:18 AM, Chris wrote: doesn't work with newer versions of dmd does too. (I'm the maintainer) https://bitbucket.org/ariovistus/pyd Thank you very much (I used an old version of pyd I had found at

Re: DLLs: Cleaning up

2013-07-14 Thread Ellery Newcomer
On 07/11/2013 05:58 AM, Chris wrote: I have a DLL written in D I load into a Python application via ctypes like so: lib = CDLL(mydll) The DLL loads and can be used no problem. However, once the DLL is discarded of by the program, the program either doesn't react or crashes. I still haven't

Re: DLLs: Cleaning up

2013-07-12 Thread Chris
On Thursday, 11 July 2013 at 19:37:31 UTC, dnewbie wrote: On Thursday, 11 July 2013 at 12:58:42 UTC, Chris wrote: I have a DLL written in D I load into a Python application via ctypes like so: lib = CDLL(mydll) The DLL loads and can be used no problem. However, once the DLL is discarded of

Re: DLLs: Cleaning up

2013-07-12 Thread Chris
On Friday, 12 July 2013 at 13:15:34 UTC, Chris wrote: On Thursday, 11 July 2013 at 19:37:31 UTC, dnewbie wrote: On Thursday, 11 July 2013 at 12:58:42 UTC, Chris wrote: I have a DLL written in D I load into a Python application via ctypes like so: lib = CDLL(mydll) The DLL loads and can be

DLLs: Cleaning up

2013-07-11 Thread Chris
I have a DLL written in D I load into a Python application via ctypes like so: lib = CDLL(mydll) The DLL loads and can be used no problem. However, once the DLL is discarded of by the program, the program either doesn't react or crashes. I still haven't worked out how to clean up the DLL

Re: DLLs: Cleaning up

2013-07-11 Thread dnewbie
On Thursday, 11 July 2013 at 12:58:42 UTC, Chris wrote: I have a DLL written in D I load into a Python application via ctypes like so: lib = CDLL(mydll) The DLL loads and can be used no problem. However, once the DLL is discarded of by the program, the program either doesn't react or