Dear Kjell.
My initial idea was to wrap struct
GdaServerOperationCreateTableArg as a class inside the
Gda::ServerOperatio. It should look like:
Gda::ServerOperation::CreateTableArg. To do so I used
_CLASS_GENERIC macros. I wasn't successful. It may be
implemented manually, but in that case, it will not be wrap. I
see not option now how to transform C-style struct to C++
class. I am talking about struct to class conversion because
in C API there are a set of functions that can logically be
wrapped as methods for C++ class. However, simple macros will
not give enough flexibility for expansion the class. Do you
think it is a good idea to write a class from scratch (without
using macroses) based on C API? I may try this route but I
want to make sure it is not against *mm rules of porting.
I will play with your suggestion.
Thanks,