Hello,

I am working through implementing NativeBoost interface to a C wrapper dll.

I have 8 callback functions to call in this interface. I am subclassing NBFFICallback as stated in the documentation. I am also implementing the fnSpec method based on the code in the header file.

fnSpec

    ^#( void (NBExternalString rowID, Row rowData))

This is the code in the header:

typedef void (*TABLE_ROW_CALLBACK)(const char *rowID, FXCHandle rowData);


Should I leave the return type as  void  or should I use  NBVoid?

I do not know C at all. Is the NBExternalString suitable for the const char *rowID? The documentation says you can use it for char*, but I don't know what difference const makes.

Thanks for any help.

Jimmie

Reply via email to