curl : access violation

Vic via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 22 03:10:40 PST 2015


I am testing simple code in Geany (Windows 7, DMD compiler):

import std.stdio,std.net.curl;
void main()
{
// Return a char[] containing the content specified by an URL
auto content = get("dlang.org");
}

It compiled ok, but I get error after running exe file:
object.Error@(0): Access Violation





More information about the Digitalmars-d-learn mailing list