View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0021852FPCFCLpublic2012-04-24 10:172014-03-06 10:22
Reporterjshand2010 
Assigned ToMichael Van Canneyt 
PrioritynormalSeveritytrivialReproducibilityN/A
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version2.7.1Product Buildlatest build 
Target VersionFixed in Version 
Summary0021852: TFileStream problems
DescriptionEnclosed is my source code of my software program with the code of loading and saving to and from a dynamic array. i have been trying to get this sorted out this afternoon and it isn't working out very well.
TagsNo tags attached.
FPCOldBugId
Fixed in Revision
Attached Filestxt file icon tfilestream issues.txt [^] (834 bytes) 2012-04-24 10:17 [Show Content]
zip file icon bm2014.zip [^] (131,066 bytes) 2012-04-24 10:17

- Relationships

-  Notes
(0058940)
jshand2010 (reporter)
2012-04-24 10:19

it may not be a problem with the code for tfilestream itself. i would appreciate any help given

thanks guys
(0058942)
Michael Van Canneyt (administrator)
2012-04-24 10:41

Please ask such questions on the mailinglist.

Your problem is the use of ansistring in the userdata record.
You are in essence writing 2 pointers to the file, not the actual contents of the ansistring. Try changing the definition to shortstring.

- Issue History
Date Modified Username Field Change
2012-04-24 10:17 jshand2010 New Issue
2012-04-24 10:17 jshand2010 File Added: tfilestream issues.txt
2012-04-24 10:17 jshand2010 File Added: bm2014.zip
2012-04-24 10:19 jshand2010 Note Added: 0058940
2012-04-24 10:41 Michael Van Canneyt Status new => resolved
2012-04-24 10:41 Michael Van Canneyt Resolution open => no change required
2012-04-24 10:41 Michael Van Canneyt Assigned To => Michael Van Canneyt
2012-04-24 10:41 Michael Van Canneyt Note Added: 0058942
2014-03-06 10:22 Michael Van Canneyt Status resolved => closed



MantisBT 1.2.12[^]
Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker