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