| Anonymous | Login | Signup for a new account | 2013-05-23 02:46 CEST | ![]() |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI | fpcprojects: fpprofiler |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0021852 | FPC | FCL | public | 2012-04-24 10:17 | 2012-04-24 10:41 | ||||
| Reporter | jshand2010 | ||||||||
| Assigned To | Michael Van Canneyt | ||||||||
| Priority | normal | Severity | trivial | Reproducibility | N/A | ||||
| Status | resolved | Resolution | no change required | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | 2.7.1 | Product Build | latest build | ||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0021852: TFileStream problems | ||||||||
| Description | Enclosed 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. | ||||||||
| Tags | No tags attached. | ||||||||
| FPCOldBugId | |||||||||
| Fixed in Revision | |||||||||
| Attached Files | |||||||||
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 | |
| Main | My View | View Issues | Change Log | Roadmap |



