Out Parameters in .decl

Blitz3D Forums/Blitz3D Userlibs/Out Parameters in .decl

HappyCat(Posted 2005) [#1]
I'm assumming that as Blitz doesn't support ByRef parameters that it isn't possible to create a .decl file for a .dll that uses Out parameters?

Can BlitzMax do this?

Edit: Actually I just got it working by declaring it as a * and passing in a type with just a single integer field in it. Didn't think that was going to work :-)


Damien Sturdy(Posted 2005) [#2]
Thats a new one! Did anyone else know you could do this????


HappyCat(Posted 2005) [#3]
Yeah, was a surprise to me, but so far it's working well. I'm managing to write a .decl and Blitz3D wrapper for SQLite 3.

Lovely!