My C may be a litle rusty, but is "**A" the proper way to declare a 2D array? Won't that just declare a pointer to a pointer?
I'd try using an array format in the prototype, and pass in a 2d array initialized to the proper size in LabVIEW through the pointer in the Library call.