On 10.01.20 18:27, berni44 wrote:
This clearly shows, that packageName is only instatiated once at top
level although mod0 and mod1 are two different things (at least their
stringof produces different results) and therefore should be
instantiated twice.
Now I don't know if this is a bug in
On Friday, 10 January 2020 at 14:48:49 UTC, Marcone wrote:
How create "Open" and "Save as" Dialog using "Win32 Api" and
Dlang? Please send me a simple example code in Dlang. Thank you
very much.
Have a look at this website:
http://www.winprog.org/tutorial/app_two.html
It helped me a lot
On Friday, 10 January 2020 at 00:02:52 UTC, Johan wrote:
For LDC:
[...]
Simpler variant:
```
import ldc.intrinsics;
...
const result = llvm_fma(a, b, c);
```
This LLVM intrinsic is also used in LDC's Phobos for
std.math.fma(); unfortunately, upstream Phobos just has a
`real`-version, so
How create "Open" and "Save as" Dialog using "Win32 Api" and
Dlang? Please send me a simple example code in Dlang. Thank you
very much.
On Friday, 10 January 2020 at 14:52:36 UTC, Adam D. Ruppe wrote:
On Friday, 10 January 2020 at 14:48:49 UTC, Marcone wrote:
How create "Open" and "Save as" Dialog using "Win32 Api" and
Dlang? Please send me a simple example code in Dlang. Thank
you very much.
You just call GetOpenFileName or
On Friday, 10 January 2020 at 15:06:07 UTC, Marcone wrote:
Very complicated. Can you send me the simple clear code?
https://docs.microsoft.com/en-us/windows/win32/dlgbox/using-common-dialog-boxes
On Friday, 10 January 2020 at 14:48:49 UTC, Marcone wrote:
How create "Open" and "Save as" Dialog using "Win32 Api" and
Dlang? Please send me a simple example code in Dlang. Thank you
very much.
You just call GetOpenFileName or GetSaveFileName.
here it is in my minigui.d
I'm trying to understand issue 17441 [1]. I reduced it (including
Phobos) to the following (and added some message to point out the
problem):
test.d:
---
alias parentOf(alias sym) = __traits(parent, sym);
template packageName(alias T)
{
pragma(msg, "IN: ", T.stringof);
static if
On Thursday, 9 January 2020 at 21:55:26 UTC, Dennis wrote:
On Thursday, 9 January 2020 at 13:04:33 UTC, Marcone wrote:
[...]
Windows has the 'common dialog' module with a ChooseColor
function you can use.
[...]
Very Good! Working very well!