On Sunday, 25 February 2024 at 21:48:01 UTC, DUser wrote:
Did you remove the "#include " directive from your
wrapper module?
No,and yes,now :)
It compiles and runs as expected,another send mail example also
works great.
To summary,to write a reminder to myself,and a very simple
reference
On Sunday, 25 February 2024 at 13:36:43 UTC, ptcute wrote:
Thank you for the help.
I tried to modify the curl.h header exactly followinging the
above information and with the above mentioned simple curl
demo,unfortunately the error message are the same.
Did you remove the "#include "
On Sunday, 25 February 2024 at 10:23:26 UTC, DUser wrote:
On Thursday, 22 February 2024 at 01:23:36 UTC, ptcute wrote:
...
So what's the real issue behind?
Anyone help on this would be appreciated.
They are MSVC compiler intrinsics.
(https://issues.dlang.org/show_bug.cgi?id=23894)
On Thursday, 22 February 2024 at 01:23:36 UTC, ptcute wrote:
...
So what's the real issue behind?
Anyone help on this would be appreciated.
They are MSVC compiler intrinsics.
(https://issues.dlang.org/show_bug.cgi?id=23894)
Surprisingly I got it working by just replacing some includes
On Friday, 23 February 2024 at 11:32:15 UTC, ryuukk_ wrote:
Wich version of visual studio you have? From what i could find
online, it could be due to having an older version, try to
update it if it's too old
Sorry,forgot to mention this,it is:
Windows 10 64bit + dmd 2.106 + VS Community
Wich version of visual studio you have? From what i could find
online, it could be due to having an older version, try to update
it if it's too old
On Thursday, 22 February 2024 at 13:24:45 UTC, Danny Arends wrote:
On Thursday, 22 February 2024 at 01:23:36 UTC, ptcute wrote:
Greeings!
My c to d header wrapper file curl_d.c (just 2 lines):
...
So what's the real issue behind?
Anyone help on this would be appreciated.
According to the
On Thursday, 22 February 2024 at 01:23:36 UTC, ptcute wrote:
Greeings!
My c to d header wrapper file curl_d.c (just 2 lines):
...
So what's the real issue behind?
Anyone help on this would be appreciated.
According to the windows documentation, you'll need: Kernel32.lib
See:
Greeings!
My c to d header wrapper file curl_d.c (just 2 lines):
#include
#include //seems with or without this doesn't matter
Trying A: My main c file :direct_call_c.c:
#include
#include
#include "curl_d.c"
{...}
dmd -m64 direct_call_c.c curl_d.c curl.lib
...
direct_call_c.obj :