A new version of the AJAX Wrapper DLL is available online for free at http://ajax.schwarz-interactive.de/download/ajax.zip. For demonstration I have added a new sample (including source code of sample project) that will show how to use the AJAX Wrapper DLL in you projects:
You can now use bool, int, string, xml and your own classes as return value. If you return your own class you will be able to use it directly as a real object. In the sample take a look at the AuthenticationInfo class.
Authenticate(user, pwd, authenticate_callback, authenticate_error);
alert("Hello " + res.Username);
alert("HTTP Status: " + xmlhttp.status);
On the client side you can use callbacks to allow asynchron calls to the webserver. A second callback will be called if an error occured.
For more details on AJAX: http://adaptivepath.com/publications/essays/archives/000385.php