Re: Moving location of dub packages?

2019-07-21 Thread Andre Pany via Digitalmars-d-learn
On Sunday, 21 July 2019 at 22:45:02 UTC, Paul wrote: On Sunday, 21 July 2019 at 09:42:15 UTC, Andre Pany wrote: On Sunday, 21 July 2019 at 09:20:52 UTC, Andre Pany wrote: On Saturday, 20 July 2019 at 12:47:59 UTC, Paul wrote: [...] Maybe the custom cache paths could help you here:

Re: Why is Throwable.TraceInfo.toString not @safe?

2019-07-21 Thread Paul Backus via Digitalmars-d-learn
On Sunday, 21 July 2019 at 18:03:33 UTC, Johannes Loher wrote: I'd like to log stacktraces of caught exceptions in an @safe manner. However, Throwable.TraceInfo.toString is not @safe (or @trusted), so this is not possible. Why is it not @safe? Can it be @trusted? Thanks for your help!

Re: Moving location of dub packages?

2019-07-21 Thread Paul via Digitalmars-d-learn
On Sunday, 21 July 2019 at 09:42:15 UTC, Andre Pany wrote: On Sunday, 21 July 2019 at 09:20:52 UTC, Andre Pany wrote: On Saturday, 20 July 2019 at 12:47:59 UTC, Paul wrote: I'd like to move where dub has stored packages to a shorter path, is there a procedure for this? Thanks in advance!

Why is Throwable.TraceInfo.toString not @safe?

2019-07-21 Thread Johannes Loher via Digitalmars-d-learn
I'd like to log stacktraces of caught exceptions in an @safe manner. However, Throwable.TraceInfo.toString is not @safe (or @trusted), so this is not possible. Why is it not @safe? Can it be @trusted? Thanks for your help!

Re: Wrong vtable for COM interfaces that don't inherit IUnknown

2019-07-21 Thread Kagamin via Digitalmars-d-learn
On Sunday, 21 July 2019 at 07:04:00 UTC, rikki cattermole wrote: COM is used heavily in WinAPI since about Vista. Pretty much all new functionality has been exposed by it and NOT extern(Windows) functions which was the standard during up to about XP (for example notification icons would today

Re: Moving location of dub packages?

2019-07-21 Thread Andre Pany via Digitalmars-d-learn
On Sunday, 21 July 2019 at 09:20:52 UTC, Andre Pany wrote: On Saturday, 20 July 2019 at 12:47:59 UTC, Paul wrote: I'd like to move where dub has stored packages to a shorter path, is there a procedure for this? Thanks in advance! Maybe the custom cache paths could help you here:

Re: Moving location of dub packages?

2019-07-21 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 20 July 2019 at 12:47:59 UTC, Paul wrote: I'd like to move where dub has stored packages to a shorter path, is there a procedure for this? Thanks in advance! Maybe the custom cache paths could help you here: https://dub.pm/settings.html Kind regards Andre

Re: Wrong vtable for COM interfaces that don't inherit IUnknown

2019-07-21 Thread rikki cattermole via Digitalmars-d-learn
On 21/07/2019 5:44 PM, Kagamin wrote: On Tuesday, 16 July 2019 at 01:38:49 UTC, evilrat wrote: Also from what I see MS done this intentionally, means they either no longer loves COM or there was some other good reason. Primary consumer of COM interfaces is Visual Basic. It was really only