Re: Blobs n ESQL/C for Windows
Posted in 1996
Scott Ellard — — source: Informix-list mailing list archive (1991-1998)
In article <4l2l2j$s5m@news2.delphi.com> TYNEELY@news.delphi.com (TYNEELY@DELPHI.COM) writes: >I have a WFW 3.11 app that read/writes BLOBS to a Informix 5.x Online >engine using ESQL/C 5.01WE1 for Windows. The documentation for ESQL/C >say that if you pass in a -1 for your uffer size on a fetch Informix wil >allocate a buffer and return the size and a pointer to this buffer. When >does Informix actually release this buffer or is it up to my app? It is up to your app. The memory was allocated using GlobalAllocPtr() and should be freed using GlobalFreePtr(). These are both macros found in <windowsx.h>. Scott