In my program I am connecting to an AS400 through ODBC, and everything SEEMS to be ok. When the data is changed in my Delphi program the table in the AS400 is updated, but when looking into the Active Jobs, my users have pages of this error:
The pointer parameter passed to free or realloc is not valid
when looking into the details of the error:
Message: The pointer parameter passed to free or realloc
is not
valid.
Cause: The pointer parameter passed to free or realloc was not valid. This caused your function call to fail.
Recovery: Correct the invalid pointer parameter being passed to free or realloc.
Technical description: The value of the pointer passed to free or realloc is X'8000000000000000C5679C355C005910'.
The only thing that changes is the value of the pointer. I think I have figured out that the problem is occurring when the following lines are executed:
Has anyone experienced anything similar? I'm afraid I'm going to have to re-code all the portions that use the 'POST' method as shown above.
Thanks for any insight into this "problem"
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!
The pointer parameter passed to free or realloc is not valid
when looking into the details of the error:
Message: The pointer parameter passed to free or realloc
is not
valid.
Cause: The pointer parameter passed to free or realloc was not valid. This caused your function call to fail.
Recovery: Correct the invalid pointer parameter being passed to free or realloc.
Technical description: The value of the pointer passed to free or realloc is X'8000000000000000C5679C355C005910'.
The only thing that changes is the value of the pointer. I think I have figured out that the problem is occurring when the following lines are executed:
Code:
If frmPostpone.ModalResult = mrOK then
begin
With JMSData.qryJurorSearch do
begin
Edit;
FieldValues['TERMDATE'] := ConvertDate(frmPostpone.postponedate);
Post;
end;
lblTERMDATE.Caption := dateformat(JMSData.qryJurorSearch.FieldByName('TERMDATE').AsString);
FormLetter('PP');
end;
Thanks for any insight into this "problem"
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!