Download a file into array (using std.net.curl.download)

z z at z.com
Wed Jul 7 11:54:39 UTC 2021


On Wednesday, 7 July 2021 at 10:27:47 UTC, notna wrote:
> On Windows:
> ```
> ::> dmd curl_get.d
> ::> .\curl_get.exe
>
> object.Error@(0): Access Violation
> ----------------
> 0x0283CA66
> 0x0041DE8D
> 0x004023A2
> 0x00402308
> 0x00414D33
> 0x00414CAD
> 0x00414B48
> 0x0040D41F
> 0x00402363
> 0x74B96359 in BaseThreadInitThunk
> 0x773887A4 in RtlGetAppContainerNamedObjectPath
> 0x77388774 in RtlGetAppContainerNamedObjectPath
> ```
>
> Nice and helpful Error messages is on the top of our desires 
> list, right?

On 64 bits you don't even get a stack trace or description.
Sad, i know.
If you want better i could recommend you to compile with `-g` and 
hook up a debugger, then just let it run and it should triger a 
breakpoint on 0xC0000009(access violation).


More information about the Digitalmars-d-learn mailing list