GFLSDK v2.54 memory overwrite bug???
Moderators: XnTriq, helmut, xnview
-
- Posts: 6
- Joined: Wed Dec 13, 2006 3:37 pm
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?
-
- Posts: 33
- Joined: Thu Nov 30, 2006 8:01 am
- Location: Arbois - 39
-
- Author of XnView
- Posts: 44461
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 78
- Joined: Wed Aug 04, 2004 8:32 pm
-
- Posts: 78
- Joined: Wed Aug 04, 2004 8:32 pm
TGFL_SAVE_PARAMS misses the UserParams:
Code: Select all
...
UserParams: Pointer;
end;
-
- Posts: 6
- Joined: Wed Dec 13, 2006 3:37 pm