Re: ESQL and Internal Date Conver Weird Prob.
Posted in 1998
Robert Ogren wrote: > > > (long (*colptr->sqldata)) still blows up in the malloc of rdatestr. [SNIP] > > > SIGSEGV ---> rdatestr((long)colptr->sqldata,ptrEcell->omc); > > I think that's your problem. Unless there's a typo. You could be safe and do the following: Create a variable called foo; long foo; . . . foo = (long) *colptr->sqldata; Then call rdatestr(foo,bar) with bar being the second variable. This way you can see what's in foo before the call, and you can verify that the call works. -Cheers. -- #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. *****************************