On 30/09/2018 7:24 PM, Vinod K Chandran wrote:
Hi,
I would like to do some win api coding in D. I just taste the syntactic
sugar but cant do anything more. I have few questions.
1. Does WinMain is needed for a D program in order to use win api ?
No.
2. Can we use D strings in win api functio
Hi,
I would like to do some win api coding in D. I just taste the
syntactic sugar but cant do anything more. I have few questions.
1. Does WinMain is needed for a D program in order to use win api
?
2. Can we use D strings in win api functions ?, If not, please
show me how to convert strings
On Saturday, 29 September 2018 at 15:52:30 UTC, helxi wrote:
I'm writing a utility that checks for specific keyword(s) found
in the files in a given directory recursively. What's the best
strategy to avoid opening a bin file or some sort of garbage
dump? Check encoding of the given file?
If s
On Saturday, 29 September 2018 at 23:46:26 UTC, helxi wrote:
Thanks. Would you say
https://dlang.org/library/std/encoding/get_bom.html is useful
in this context?
Eh, not really, most text files will not have one.
On Saturday, 29 September 2018 at 16:01:18 UTC, Adam D. Ruppe
wrote:
On Saturday, 29 September 2018 at 15:52:30 UTC, helxi wrote:
I'm writing a utility that checks for specific keyword(s)
found in the files in a given directory recursively. What's
the best strategy to avoid opening a bin file o
On Friday, 28 September 2018 at 11:08:57 UTC, Sebastiaan Koppe
wrote:
On Thursday, 27 September 2018 at 17:37:43 UTC, hridyansh
thakur wrote:
[snip]
What version of dmd do you use?
i am using ldc and gdc not dmd
LDC - the LLVM D compiler (1.11.0git-054d933):
based on DMD v2.081.0 and LLVM
On Saturday, 29 September 2018 at 15:52:30 UTC, helxi wrote:
I'm writing a utility that checks for specific keyword(s) found
in the files in a given directory recursively. What's the best
strategy to avoid opening a bin file or some sort of garbage
dump? Check encoding of the given file?
Simp
I'm writing a utility that checks for specific keyword(s) found
in the files in a given directory recursively. What's the best
strategy to avoid opening a bin file or some sort of garbage
dump? Check encoding of the given file?
If so, what are the most popular encodings (in POSIX if that
matt
On Saturday, 29 September 2018 at 06:01:50 UTC, Ritchie wrote:
How does a delegate with a stackpointer work? e.g. in this
example:
https://run.dlang.io/is/XviMSl
Does the second call to foo not overwrite the stack of the
first call and thereby the data pointed to by bar1? How is that
data pr
On Saturday, 29 September 2018 at 06:01:50 UTC, Ritchie wrote:
How does a delegate with a stackpointer work? e.g. in this
example:
https://run.dlang.io/is/XviMSl
Does the second call to foo not overwrite the stack of the
first call and thereby the data pointed to by bar1? How is that
data pr
10 matches
Mail list logo