View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004412 | JEDI VCL | 00 JVCL Components | public | 2008-08-01 03:08 | 2008-11-02 12:40 |
Reporter | mcurko | Assigned To | AHUser | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.33 | ||||
Target Version | Fixed in Version | 3.35 | |||
Summary | 0004412: unit jvMemoryDataset | ||||
Description | under Borland Developer Studio 2006 procedure TJvMemoryData.DataConvert crashed if I use TWideStringField. If I to Stop Working this (use inherited), work normaly. Crash on call SetString ... Dest^ - bad pointer or type ??? ....exe raised exception class EAccessViolation message 'Access violation address 771544F1 in module oleaut32.dll. Read adress 000FFFC. | ||||
Additional Information | procedure TJvMemoryData.DataConvert(Field: TField; Source, Dest: Pointer; ToNative: Boolean); begin //mcurko - crash on SetString... { if Field.DataType = ftWideString then begin if ToNative then begin Word(Dest^) := Length(PWideString(Source)^) * 2; Move(PWideChar(Source^)^, (PWideChar(Dest) + 1)^, Word(Dest^)); end else begin SetString(WideString(Dest^), PWideChar(PChar(Source) + 2), Word(Source^) div 2); end; end else} inherited DataConvert(Field, Source, Dest, ToNative); end; | ||||
Tags | No tags attached. | ||||
2008-08-01 03:08
|
JvMemoryDataset.pas (75,874 bytes) |
|
So you don't understand a problem and you comment out the code that shows it? Nice... Seriously, this code is here because it is needed to handle widestrings. Better fix than make another bug reappear... |
|
Any proposition ? |
|
Already fixed in version 3.35 |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-08-01 03:08 | mcurko | New Issue | |
2008-08-01 03:08 | mcurko | File Added: JvMemoryDataset.pas | |
2008-09-03 09:22 | obones | Note Added: 0014532 | |
2008-09-03 09:22 | obones | Status | new => feedback |
2008-10-10 05:06 | obones | Note Added: 0014811 | |
2008-11-02 12:34 | AHUser | Relationship added | duplicate of 0004285 |
2008-11-02 12:40 | AHUser | Status | feedback => resolved |
2008-11-02 12:40 | AHUser | Fixed in Version | => 3.35 |
2008-11-02 12:40 | AHUser | Resolution | open => fixed |
2008-11-02 12:40 | AHUser | Assigned To | => AHUser |
2008-11-02 12:40 | AHUser | Note Added: 0014951 |