Re: Using the Windows headers with Unicode

2016-01-08 Thread Steaivers via Digitalmars-d-learn
I see. I guess I need to pay more attention then. Thanks

Re: Using the Windows headers with Unicode

2016-01-08 Thread Rikki Cattermole via Digitalmars-d-learn
On 09/01/16 4:44 PM, Straivers wrote: So I've been trying to create a window, and have been working my way through the MSDN tutorials. However, I have always had to specifically specify if I was using either the Unicode or ANSI version of a struct or function. Looking through the druntime code (e

Using the Windows headers with Unicode

2016-01-08 Thread Straivers via Digitalmars-d-learn
So I've been trying to create a window, and have been working my way through the MSDN tutorials. However, I have always had to specifically specify if I was using either the Unicode or ANSI version of a struct or function. Looking through the druntime code (especially winuser.d), it appears tha

Re: Is this rdmd bug or my fault ?

2016-01-08 Thread Ivan Kazmenko via Digitalmars-d-learn
On Friday, 8 January 2016 at 15:45:52 UTC, zabruk70 wrote: Should i create bugreport, or this is my mistake? Same here: rdmd moduleA.d works. rdmd -g moduleA.d produces a linker error. What's more: rdmd -m64 -g moduleA.d fails, and rdmd -m64 moduleA.d also fails. I have dmd 2.069.2 here. Olde

Re: Is this rdmd bug or my fault ?

2016-01-08 Thread Tobi G. via Digitalmars-d-learn
On Friday, 8 January 2016 at 15:45:52 UTC, zabruk70 wrote: Should i create bugreport, or this is my mistake? I get also a compilation error (with rdmd and -g). Fortunately building manually with dmd works. So there has to be a bug in rdmd.. togrue

Re: vibe / how to use the Win32EventDriver ?

2016-01-08 Thread Robert M. Münch via Digitalmars-d-learn
On 2016-01-07 15:35:24 +, Robert M. Münch said: When I build for Windows, it seems that the "libevent" driver is used. I can see that there is a "Win32EventDriver" which setups a GUI message loop as well. How can I use this driver instead of the "libevent" one? Ok, after fiddling around f

Re: GTKD - Write Pixbuf back to context

2016-01-08 Thread TheDGuy via Digitalmars-d-learn
On Thursday, 7 January 2016 at 21:35:40 UTC, Gerald wrote: https://developer.gnome.org/gtkmm-tutorial/stable/sec-draw-images.html.en Does this work for you? Yes, thank you very much! cr.paint();

Re: vibe / how to use the Win32EventDriver ?

2016-01-08 Thread Robert M. Münch via Digitalmars-d-learn
On 2016-01-07 20:14:15 +, Daniel Kozak via Digitalmars-d-learn said: I remember e few days I have same issue but with libasync. I have to remove .dub from my home directory (I do not know where is it in windows) and after making new project I was able to make it works Just to be sure I un

Is this rdmd bug or my fault ?

2016-01-08 Thread zabruk70 via Digitalmars-d-learn
OS: Windows 7 (32 bit) dmd: 2.069.2 and 2.070.0-b1 Then i used "-g" switch with RDMD, then i have OPTLINK error. Reduced code, 3 modules, 2 of them in subdir: moduleA.d test\moduleB.d test\moduleC.d / module moduleA; public void funcA () { import test.moduleB: funcB; return; }

Re: Convert a hex string into a ubyte[] or OutBuffer

2016-01-08 Thread zabruk70 via Digitalmars-d-learn
On Thursday, 7 January 2016 at 23:15:41 UTC, Basile B. wrote: Damn, I've been trapped, thread exhumated from 2014 ... Yes, but my post was made yesterday. I don't want create new post and found this. Thank you for your time.

Re: Bug in csv or byLine ?

2016-01-08 Thread Guillaume Chatelet via Digitalmars-d-learn
On Friday, 8 January 2016 at 13:22:40 UTC, Tobi G. wrote: On Friday, 8 January 2016 at 12:13:59 UTC, Guillaume Chatelet wrote: On Friday, 8 January 2016 at 12:07:05 UTC, Tobi G. wrote: No, sorry. Under Windows DMD v2.069.2 it works perfectly in both cases. Which compiler do you use? - DMD64

Re: Bug in csv or byLine ?

2016-01-08 Thread Tobi G. via Digitalmars-d-learn
On Friday, 8 January 2016 at 12:13:59 UTC, Guillaume Chatelet wrote: On Friday, 8 January 2016 at 12:07:05 UTC, Tobi G. wrote: No, sorry. Under Windows DMD v2.069.2 it works perfectly in both cases. Which compiler do you use? - DMD64 D Compiler v2.069.2 on Linux. - LDC 0.16.1 (DMD v2.067.1,

Re: Linking a DLL to a DLL with packages

2016-01-08 Thread Benjamin Thaut via Digitalmars-d-learn
On Thursday, 7 January 2016 at 19:29:43 UTC, Thalamus wrote: Hi everyone, First off, I've been working with D for a couple of weeks now and I think it's the bee's knees! :) Except for DLLs. thanks! :) Dlls don't currently work on Windows. The only thing that works is giving your dlls a C-l

Re: Bug in csv or byLine ?

2016-01-08 Thread Guillaume Chatelet via Digitalmars-d-learn
On Friday, 8 January 2016 at 12:07:05 UTC, Tobi G. wrote: No, sorry. Under Windows DMD v2.069.2 it works perfectly in both cases. Which compiler do you use? - DMD64 D Compiler v2.069.2 on Linux. - LDC 0.16.1 (DMD v2.067.1, LLVM 3.7.0) So if it works on windows I guess it's a problem with the

Re: Bug in csv or byLine ?

2016-01-08 Thread Tobi G. via Digitalmars-d-learn
On Friday, 8 January 2016 at 09:59:26 UTC, Guillaume Chatelet wrote: Any idea ? No, sorry. Under Windows DMD v2.069.2 it works perfectly in both cases. Which compiler do you use? You could run DMD with the -g option. This will print often more useful output, if it fails. togrue

Bug in csv or byLine ?

2016-01-08 Thread Guillaume Chatelet via Digitalmars-d-learn
$ cat debug.csv timestamp,curr_property 2015-12-01 06:07:55,7035 $ cat process.d import std.stdio; import std.csv; import std.algorithm; import std.file; void main(string[] args) { version (Fail) { File(args[1], "r").byLine.jo