GFLSDK v2.54 memory overwrite bug???
Moderators: helmut, XnTriq, xnview
GFLSDK v2.54 memory overwrite bug???
I am having serious trouble writing a Delphi component descended from TGraphic with GflSDK 2.54. The application keeps crashing with an EAccessViolation. After numerous tests I noticed a probable culprit: When I call gflDefaultLoadParams(LoadParams), it writes not only 120 bytes (size of TGFL_LOAD_PARAMS structure) but 132 bytes, overwriting other variables!! Could someone verify this on his system, please?
TGFL_SAVE_PARAMS misses the UserParams:
Code: Select all
...
UserParams: Pointer;
end;