View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003186 | JEDI VCL | 00 JVCL Components | public | 2005-09-09 05:48 | 2006-06-27 07:56 |
Reporter | demonek | Assigned To | obones | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.30 | |||
Summary | 0003186: AV when adding Variant type variable to JvInspector | ||||
Description | I'd like to use variable that can keep null value, using Integer gives me 0 by default that is wrong. So I tried Variant, but get AV when executing TJvInspectorVarData.New method like : with TJvInspectorVarData.New(_InspCat, _value.Definition.Name, TypeInfo( Variant ), @(_item_ref.asVariant) ) do begin DisplayName := _value.Definition.A_Label; // <-- AV here Is there any way to fix it or handle with this problem. | ||||
Tags | No tags attached. | ||||
|
Can you post the zipped sources of a sample application? |
2006-04-03 10:26
|
variant_2006.04.03_18.32.24.zip (16,391 bytes) |
|
This is modified sample from jvcl. |
|
This is "expected" as the New function returns nil. This is because Variant is not a registered data type in the RegisterDataTypeKinds method. I have added a new Variant support class into the current SVN version. |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-09-09 05:48 | demonek | New Issue | |
2006-04-03 05:17 | obones | Note Added: 0008833 | |
2006-04-03 05:17 | obones | Status | new => feedback |
2006-04-03 10:26 | demonek | File Added: variant_2006.04.03_18.32.24.zip | |
2006-04-03 10:29 | demonek | Note Added: 0008843 | |
2006-06-08 02:55 | obones | Status | feedback => acknowledged |
2006-06-27 07:55 | obones | Status | acknowledged => resolved |
2006-06-27 07:55 | obones | Fixed in Version | => Daily / SVN |
2006-06-27 07:55 | obones | Resolution | open => fixed |
2006-06-27 07:55 | obones | Assigned To | => obones |
2006-06-27 07:55 | obones | Note Added: 0009690 |