Pro*C question
From: <koolkevinj_at_aol.com>
Date: 1996/11/06
Message-ID: <19961106165500.LAA22043_at_ladder01.news.aol.com>#1/1
Date: 1996/11/06
Message-ID: <19961106165500.LAA22043_at_ladder01.news.aol.com>#1/1
Does anyone know if it's possible to create a user defined type (i.e. LONG
VARCHAR ) in Pro C and create a host array of that type.
I create the type as
struct LV {
unsigned long len;
unsigned char arr[40000];
};
typedef struct LV Long_Varchar;
Then I define that type as a LONG VARCHAR(40000). I can create and fetch into the array but other that the data in array[0], the rest of the data is garbage. Has anyone ever done this?
Kevin Johnson Received on Wed Nov 06 1996 - 00:00:00 CET