Thus spake the Users Guide:
You use/write a DECLARE SUB command if you developed an external module for ScriptBasic programs in C.
So if we have a dll and header using CDECL we can use it directly?
I'm thinking of the SQLite one in particular.
For example, if the header file contains:
int sqlite3_open(
const char *filename, /* Database filename (UTF-8) */
sqlite3 **ppDb /* OUT: SQLite db handle */
);
the first parameter is a pointer to a zero-terminated string and the second is a pointer to a 4-byte address containing a database handle.
What does our eqivalent Scriptbasic DECLARE statement look like?
Thanks,
Chris