Re: GetInterfaceInfo function of win32 api

2023-06-07 Thread Mike Parker via Digitalmars-d-learn
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 exited with status 1120 ``` That's a linker error telling you

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) ```

Re: GetInterfaceInfo function of win32 api

2023-06-07 Thread novice2 via Digitalmars-d-learn
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 ex

Re: How does D’s ‘import’ work?

2023-06-07 Thread Ali Çehreli via Digitalmars-d-learn
On 6/7/23 21:17, Cecil Ward wrote: > I was thinking about the situation in C where I have a rule in a make > file that lists the .h files as well as the .c all as dependencies in > creating an object file. dmd's -makedeps command line switch should be helpful there. (I did not use it.) Ali

Re: How does D’s ‘import’ work?

2023-06-07 Thread Cecil Ward via Digitalmars-d-learn
On Friday, 2 June 2023 at 12:07:09 UTC, rempas wrote: On Thursday, 1 June 2023 at 03:47:00 UTC, Cecil Ward wrote: I have another question if I may, what do we do about getting makefiles right given that we have imports ? What do you mean with that? Give some more info please! I was thinkin