Re: ESQL and Internal Date Conver Weird Prob.
Posted in 1998
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Well I wen back and cast it to the value which rdatestr wants (long (*colptr->sqldata)) still blows up in the malloc of rdatestr. strange, I've skipped the call for now, will look at again later when I'm not ticked off at it. Thanks Rob Mike Segel wrote: > Robert Ogren wrote: > > > > Having a strange problem show up when trying to access the a column with > > the type DATE. > > Any help is appreciated, I am probably overlooking something but just > > don't see it. > > > SIGSEGV ---> rdatestr((long)colptr->sqldata,ptrEcell->omc); > > Just a hunch, it looks like it dies when it calls this function. > Whats the prototype look like? And since it dies at the call, > are you sure you're passing a pointer or the value? > > -Mikey > > PS. I could be wrong. Not enough sleep, too much caffeine so what do I > know? > > -- > #include <std_disclaimer.h> /* Mike Segel (MS385) */ > #include <No_Spam.h> > #ifdef OFFENDED_BY_CONTENT > The author takes no responsibility for this post. > Any resembalence to a coherent rational thought is purely coincidence. > -The Management. > #endif > ***************************** > * Attention * > -*- Due to AGIS's Refusal to Act Responsibly > -*- Due to ACSI's Refusal to Act Responsibly > > We are blocking all of their domains at the packet level. > This block will exist until they modify their policies to > conform to existing RFCs and net community standards. > > We encourage all ISPs and domain holders to do the same. > *****************************