I''ve verified the compiler error and it really is a bug in AngelScript. The -> is expecting a reference to a pointer on the left side, but your function returns a pure pointer. This is of course wrong, AngelScript should be able to handle both types, and this will be fixed for the next version.
I was however not able to verify the problem with the missing output from ExecuteString(), in my test application it worked fine. Are you sure you set up the asIOutStream correctly?
ExecuteString() doesn''t output all the information that Build() does. For example strings like Parsing ''script section''... isn''t output. In the case of a working string ExecuteString() will not output anything, but if there are any errors they should be output in the same manner as Build().
__________________________________________________________
www.AngelCode.com - game development and more...
AngelScript - free scripting library -
Tower - free puzzle game