Re: Call D code from C#

2014-01-17 Thread MGW
I'm testing with the ability to connect to Qt https://github.com/MGWL/QtE-Qt_for_Dlang_and_Forth

Re: Call D code from C#

2014-01-12 Thread Jim Hewes
On 1/9/2014 10:38 AM, anthonyb wrote: On Thursday, 9 January 2014 at 17:56:46 UTC, Adam D. Ruppe wrote: On Thursday, 9 January 2014 at 16:15:23 UTC, bearophile wrote: Is QtD not good enough? When I tried it, a while ago, it was completely unusable - random runtime crashes. Which i a real

Re: Call D code from C#

2014-01-11 Thread anthonyb
On Friday, 10 January 2014 at 21:50:50 UTC, TC wrote: they lack modern features and portability and if I will be in position to choose UI framework for multiplatform business app, I will end up with Qt 5.x for sure. C++ remains the best tool for that job (Qt 5.x). And unfortunately, i do not

Re: Call D code from C#

2014-01-11 Thread Paulo Pinto
Am 11.01.2014 14:30, schrieb anthonyb: On Friday, 10 January 2014 at 21:50:50 UTC, TC wrote: they lack modern features and portability and if I will be in position to choose UI framework for multiplatform business app, I will end up with Qt 5.x for sure. C++ remains the best tool for that job

Re: Call D code from C#

2014-01-11 Thread Xavier Bigand
Le 11/01/2014 18:23, Paulo Pinto a écrit : Am 11.01.2014 14:30, schrieb anthonyb: On Friday, 10 January 2014 at 21:50:50 UTC, TC wrote: they lack modern features and portability and if I will be in position to choose UI framework for multiplatform business app, I will end up with Qt 5.x for

Re: Call D code from C#

2014-01-11 Thread Jacob Carlborg
On 2014-01-10 22:50, TC wrote: I looked at it and on the first sight it seems as a wrapper around GTK on linux side and native windows toolkit on windows. In this case I would probably rather use gtkd directly and hope for fewer problems. (but both should be tried and decided after that, DWT

Re: Call D code from C#

2014-01-11 Thread Paulo Pinto
On 11.01.2014 19:33, Xavier Bigand wrote: Le 11/01/2014 18:23, Paulo Pinto a écrit : Am 11.01.2014 14:30, schrieb anthonyb: On Friday, 10 January 2014 at 21:50:50 UTC, TC wrote: they lack modern features and portability and if I will be in position to choose UI framework for multiplatform

Re: Call D code from C#

2014-01-10 Thread anthony
Hi Dejan, GTK is not an option for me mainly because I do not like the way programs written with appears on the screen. It is a little...ugly! Qt does a lot better in that field, it also has (QT) better documentation, better tools etc etc. This is why I first looked for Qt binding for D.

Re: Call D code from C#

2014-01-10 Thread evilrat
On Friday, 10 January 2014 at 09:54:27 UTC, anthony wrote: Hi Dejan, GTK is not an option for me mainly because I do not like the way programs written with appears on the screen. It is a little...ugly! Qt does a lot better in that field, it also has (QT) better documentation, better tools

Re: Call D code from C#

2014-01-10 Thread Rory McGuire
gtk has a web based backend available. On Fri, Jan 10, 2014 at 7:31 AM, Rikki Cattermole alphaglosi...@gmail.comwrote: ... It would have enabled building a GUI app and then very simply building it for a web as well. Without changing much code. Don't think any GUI toolkit exists that can do

Re: Call D code from C#

2014-01-10 Thread Rikki Cattermole
On Friday, 10 January 2014 at 15:02:18 UTC, Rory McGuire wrote: gtk has a web based backend available. Awesome didn't know that thanks!

Re: Call D code from C#

2014-01-10 Thread TC
Have a look at DWT: https://github.com/d-widget-toolkit/dwt I looked at it and on the first sight it seems as a wrapper around GTK on linux side and native windows toolkit on windows. In this case I would probably rather use gtkd directly and hope for fewer problems. (but both should be

Call D code from C#

2014-01-09 Thread anthony
Hi to all here, (another one here that wants to desperately use D in his work environment!) So, I am a C# and C++ guy who is used to high quality tools and UI libraries. I discovered VisualD and I settled on using it, it is really awesome! The only problem that concerns me is the lack of

Re: Call D code from C#

2014-01-09 Thread anthony
Oopss...I think I posted on the wrong section of the forum and I do not see a way to put it on the correct one... :(

Re: Call D code from C#

2014-01-09 Thread anthony
Thanks for the (ultra fast) reply! I has that coming that P/Invoke is the only way, unfortunately. Are you aware of any other problems using this technique ?

Re: Call D code from C#

2014-01-09 Thread John Colvin
On Thursday, 9 January 2014 at 15:58:20 UTC, anthony wrote: Hi to all here, (another one here that wants to desperately use D in his work environment!) So, I am a C# and C++ guy who is used to high quality tools and UI libraries. I discovered VisualD and I settled on using it, it is really

Re: Call D code from C#

2014-01-09 Thread bearophile
anthony: The only problem that concerns me is the lack of a UI library to use with the language. GTK+ is not an option for me. Qt is but I do not see any way to use it from D. Is QtD not good enough? Bye, bearophile

Re: Call D code from C#

2014-01-09 Thread evilrat
On Thursday, 9 January 2014 at 16:09:11 UTC, anthony wrote: Thanks for the (ultra fast) reply! I has that coming that P/Invoke is the only way, unfortunately. Are you aware of any other problems using this technique ? why unfortunately? using this in visual studio allows me debug both C#/D

Re: Call D code from C#

2014-01-09 Thread Radu
On Thursday, 9 January 2014 at 15:58:20 UTC, anthony wrote: Hi to all here, (another one here that wants to desperately use D in his work environment!) So, I am a C# and C++ guy who is used to high quality tools and UI libraries. I discovered VisualD and I settled on using it, it is really

Re: Call D code from C#

2014-01-09 Thread anthonyb
QtD does not seem to be actively developed and i want something that is somewhat future safe, if you can say that about our job!

Re: Call D code from C#

2014-01-09 Thread anthonyb
Hhmm...It sounds interesting! Looking at it right now... Thanks! You can expose D code as COM objects and use them from C# this way. http://dlang.org/dll.html#com

Re: Call D code from C#

2014-01-09 Thread Adam D. Ruppe
On Thursday, 9 January 2014 at 16:15:23 UTC, bearophile wrote: Is QtD not good enough? When I tried it, a while ago, it was completely unusable - random runtime crashes.

Re: Call D code from C#

2014-01-09 Thread anthonyb
On Thursday, 9 January 2014 at 17:56:46 UTC, Adam D. Ruppe wrote: On Thursday, 9 January 2014 at 16:15:23 UTC, bearophile wrote: Is QtD not good enough? When I tried it, a while ago, it was completely unusable - random runtime crashes. Which i a real shame...If D was able to access a UI

Re: Call D code from C#

2014-01-09 Thread Dejan Lekic
On Thursday, 9 January 2014 at 15:58:20 UTC, anthony wrote: Hi to all here, (another one here that wants to desperately use D in his work environment!) So, I am a C# and C++ guy who is used to high quality tools and UI libraries. I discovered VisualD and I settled on using it, it is really

Re: Call D code from C#

2014-01-09 Thread tc
Which i a real shame...If D was able to access a UI like Qt, it would give a tremendous push to the language. Not being able to use easily some UI from D is holding back many people. I think Qt is the only reason some people prefer C++ even now. I'm from C# world and this is exactly what will

Re: Call D code from C#

2014-01-09 Thread tc
May I ask why is GtkD not an option? Do not get me wrong, I am not a GTK advocate, I am myself a FLTK user/developer. However, GTK would probably be my second choice after FLTK, if I ever had to chose another GUI toolkit for my C++ projects. Look at this comparison: http://bit.ly/KFbLbs In

Re: Call D code from C#

2014-01-09 Thread Rikki Cattermole
On Thursday, 9 January 2014 at 22:09:14 UTC, tc wrote: Which i a real shame...If D was able to access a UI like Qt, it would give a tremendous push to the language. Not being able to use easily some UI from D is holding back many people. I think Qt is the only reason some people prefer C++

Re: Call D code from C#

2014-01-09 Thread Jacob Carlborg
On 2014-01-09 23:09, tc wrote: I'm from C# world and this is exactly what will make a huge difference. Have a nice portable language with a nice portable UI toolkit. I would like to learn Qt, but for me C++ is a no go (I'm too much used to GC world simplicity/productivity). Have a look at