Jump to content

Executing SQL query using a C function


Recommended Posts


I noticed that unilogic has a function named " SQL_QUERY " for executing SQL queries using c language.
I can see that it needs to be passed an array of a struct called " SQLParamData_t ".
This struct it seems that it has three fields: one for the data type, another one for the data length and finally a third for the data itself.
From some try and error I deduced some of this data types values (I hope correctly):

unsigned char    1
signed int    4
unsigned int    5
volatile char*    10

Any ideas where I can find the rest of them, for example the value  for volatile unsigned char* type?

Thanks in advance and best regards,


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...