Hi All,<br><br>This is my first post here. I have been experimenting with the Redland library using .Net 2.0/C#/VS2005 and I've been getting the same error several times now, so I'm probably doing something wrong here. Perhaps someone can help me out here.
<br><br>I'm working on a very simple query, with the following code:<br><br>// read a simple rdf document<br>string a = &quot;<a href="http://www.dajobe.org/foaf.rdf">http://www.dajobe.org/foaf.rdf</a>&quot;;<br>parser.ParseIntoModel
(model, a);<br><br>// create the query<br>string querystring = @&quot;PREFIX rdf: &lt;<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>&gt;<br>PREFIX foaf: &lt;<a href="http://xmlns.com/foaf/0.1/">
http://xmlns.com/foaf/0.1/</a>&gt;<br>SELECT *<br>WHERE { ?x rdf:type foaf:Person .&nbsp; ?x foaf:name ?name }&quot;;<br><br>// execute &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <br>QueryResults qr = model.Execute(new Query(querystring));<br><br>It results in an error in qr stating:
<br>'qr.Current' threw an exception of type 'System.AccessViolationException'<br><br>Is this a binding/memory problem?<br><br>Are there some example applications written in C# (besides the examples in the bindings archive) published on the web?
<br><br>Greetings,<br>Arnoud<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>