Hello,
I am developing with c.
I have tryied manage a blob data with c.
But the dll don't execute the function and it give timeout.
Anybody known how can i work with this data.
I have pasted the source code above of this email
Thanks you very much
Ruben
--------Begin Source Code------------
unsigned char *pTmp;
EXEC SQL BEGIN DECLARE SECTION;
sql type is blob(1M) bufferaux;
EXEC SQL END DECLARE SECTION;
debug("After declare section");
strncpy(serialaux,serial,10);
debug("Before SQL select");
EXEC SQL SELECT SDB into :bufferaux FROM TOKENS WHERE SERIE=:serialaux;
debug ("Keep memory for pTmp");
pTmp = (unsigned char *)malloc(bufferaux.length);
debug("Fill with 0 pTmp");
memset(pTmp, 0, bufferaux.length);
debug("Copy buffer in pTmp");
pTmp = bufferaux.data;
--------End Source Code------------