Re: GetInterfaceInfo function of win32 api

2023-06-08 Thread Benny via Digitalmars-d-learn
On Thursday, 8 June 2023 at 06:22:08 UTC, Mike Parker wrote: On Thursday, 8 June 2023 at 05:52:43 UTC, Benny wrote: ``` ``` app.obj : error LNK2019: unresolved external symbol GetInterfaceInfo referenced in function _Dmain app.exe : fatal error LNK1120: 1 unresolved externals Error: linker

Re: GetInterfaceInfo function of win32 api

2023-06-07 Thread Benny via Digitalmars-d-learn
On Thursday, 8 June 2023 at 05:42:20 UTC, novice2 wrote: On Thursday, 8 June 2023 at 05:29:07 UTC, Benny wrote: Hello, Hi! I'm trying to call the function GetInterfaceInfo it would be nice to see the code didn't work. it would be nice to see specifics (error code, results, etc) ```

GetInterfaceInfo function of win32 api

2023-06-07 Thread Benny via Digitalmars-d-learn
Hello, I'm trying to call the function GetInterfaceInfo of iphlpapi.dll/runtimes of D, and it didn't work. I don't know how to call it, or what parameters I should put in. I checked the Microsoft Windows APIs, the D documentation of the function, and still, don't succeed. Can someone please

Congrats to D / Vibe-D -- techempower Round 15

2018-02-15 Thread Benny via Digitalmars-d
https://www.techempower.com/benchmarks/#section=data-r15=ph=plaintext https://www.techempower.com/benchmarks/#section=data-r14=ph=json D is finally showing up in the upper and middle parts of the tests. In some tests Vibe-D ( with LDC ) is showing a 10 to 80 times improvement compared to Round

Re: A betterC base

2018-02-08 Thread Benny via Digitalmars-d
On Friday, 9 February 2018 at 00:08:56 UTC, Adam D. Ruppe wrote: On Thursday, 8 February 2018 at 23:50:29 UTC, Ali wrote: But D, unlike many other languages, promotes itself as primarily a system programming language I think that's a mistake too. I'd rebrand it as a "general purpose"

My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread Benny via Digitalmars-d
First of all, please do not repost this on Reddit or any other forum. This is focused for the D community alone to help deal with internal issues and it does not need to be ridiculed as this is a personal opinion. As some have seen my posting in the past week regarding D, i like to explain

Re: Quora: Why hasn't D started to replace C++?

2018-02-01 Thread Benny via Digitalmars-d
On Thursday, 1 February 2018 at 15:47:50 UTC, Russel Winder wrote: For me: aptitude install ldc aptitude install gdc aptitude install dmd-bin aptitude install dub Seems to work fine, and no conflicts. […] Please try Windows and then come back ;)

Re: Quora: Why hasn't D started to replace C++?

2018-02-01 Thread Benny via Digitalmars-d
On Thursday, 1 February 2018 at 11:21:37 UTC, Russel Winder wrote: D should be proud of having a reference compiler, a GCC-based one, and an LLVM-based one. This is a Good Thing™, let no-one undermine this. Nothing wrong with choice as long as that choice does not introduces issues.

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Benny via Digitalmars-d
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: Here's a spoiler: 1) Andrei does an excellent job at managing his students [1] and there work over the last couple of months has been tremendous. As the experiment with UPB was very successful, there will be more projects like this

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Benny via Digitalmars-d
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: Let me say this again *uch* Never mind this rant. I am just fed up with the issues. I will not post anymore as its just a wast of time for everybody involved.

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread Benny via Digitalmars-d
On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton wrote: If I had to pick a second issue, it's that the ecosystem story is hard compared to other languages. New programmers aren't certain what to choose or how to get their environment up and running. Compared against Rust, Go, and

Re: How programmers transition between languages

2018-01-30 Thread Benny via Digitalmars-d
On Tuesday, 30 January 2018 at 11:55:42 UTC, rjframe wrote: - I click "Browse All Crates"; the default sort is alphabetical - not useful unless I'm just browsing, Right side: * Alphabetical * All-Time Downloads * Recent Downloads even then I'd likely want to browse by category.

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-27 Thread Benny via Digitalmars-d
On Saturday, 27 January 2018 at 22:58:27 UTC, H. S. Teoh wrote: I never said we should not offer good IDE support, in fact I said that we *need* good IDE support. But that in no way justifies the wrong claim that you can't be productive without an IDE. In fact, I find myself *more* productive

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-26 Thread Benny via Digitalmars-d
On Saturday, 27 January 2018 at 00:08:17 UTC, Benny wrote: * Rust: Jetbrain IntelliJ + Rust plugin. It looks like it has become a official supported plugin by Jetbrain. Works perfectly out of the box. Impressive results and issue hinting.

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-26 Thread Benny via Digitalmars-d
On Friday, 26 January 2018 at 21:59:51 UTC, Dgame wrote: You are not alone. The existing D-Tools are either really bad or do not work propely/not out of the box. And I have more important things to do than trying to setup the tools. Maybe someone likes that, but not me. But I have to say that

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-26 Thread Benny via Digitalmars-d
On Friday, 26 January 2018 at 03:40:26 UTC, Rubn wrote: You seem to be short tempered You think after two days trying to get a series of plugins to work? you tried 2 plugins rather quickly, without even trying to see if there were configurations or other options you could use to get

Re: How programmers transition between languages

2018-01-26 Thread Benny via Digitalmars-d
On Friday, 26 January 2018 at 09:02:03 UTC, Ola Fosheim Grøstad wrote: While this analysis of language popularity on Github is enlightening: http://www.benfrederickson.com/ranking-programming-languages-by-github-users/ What i found interesting is the comparison between the "newer" languages

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-26 Thread Benny via Digitalmars-d
On Friday, 26 January 2018 at 07:08:50 UTC, Johannes Loher wrote: Take this all with a grain of salt: I have only tested this on Linux and OS X, I have no clue about the situation on Windows. In general a lot of plugins tend to work better in POSIX systems then Windows. I think its more a

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-25 Thread Benny via Digitalmars-d
On Thursday, 25 January 2018 at 21:42:33 UTC, bachmeier wrote: Even one paid developer makes a big difference. You don't need hundreds. Making the problem harder is that many current D users don't have an interest in those tools. Therefore you're drawing from a small pool of part-time

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-25 Thread Benny via Digitalmars-d
On Thursday, 25 January 2018 at 19:53:39 UTC, Basile B. wrote: If you write OOP with few templates like often done in C#, Delphi, or more declarative style like Go or C, then DCD works fine. Your frustration probably comes from the fact that popular techniques in D are not supported by DCD:

Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-01-25 Thread Benny via Digitalmars-d
After months doing a different project, i need a programming language for a new client with specific needs. D comes to mind. As usual that involves downloading the compiler (dmd and ldc). So, lets install Visual Studio Code: * Code-D Plugin: - Syntax highlight *check* - After saving: DMD