Hallo,
wenn ich in der BDS2006SP2 die Komponente auf ein Formular setze, verschwindet diese sofort wieder bzw. erhalte ich manchmal eine Exception in der DelphiSpeedUp10.dll.
Thanks in advance
Uwe
TWPLanguageControl v5.39 Problem Exception
-
-
- Offizieller Beitrag
Sorry,
don't know this problem. Use D2006 regularily.
But there may be only one TWPLanguageControl in the project and that should be in the first form or data module.
Regards,
Julian
-
i found 2 TWPLanguageControls in the project and delete all.
then i drop one on an empty form and put this form in the project.
this works, but when i open a form from the project with other wp Components the AV occurs again.
after deinstallation DSU 2.87 the AV goes to the rtl100bpl. -
More Testing Results.
1.start ide 2.open all Forms 3.click on wplc
gives bds error "List index out of bounds (0)" -
i read the topic Posted: Fri Apr 25, 2008 11:09 pm "Access violation when dropping a WPLanguageControl on a form"
i also use devexpress bar and other components.
can it be ? the bug in twplc is not fixed ?
-
- Offizieller Beitrag
This is what the language control does:
constructor TWPLanguageControl.Create(aOwner: TComponent);
begin
inherited Create(aOwner);
AutoCreateClosedTags := TRUE;
HTMLMode := FALSE;
DontSaveEmptyTags := TRUE;
FEntry := 'loc';
end;There is really nothing what causes an AV. The control is attached through a COM interface (IWPLocalizationInterface) since V5. That is initialized at runtime, not inside the IDE.
So the language control is not much different to the TWPXMLTree - which is based on.
If/Since there is a problem with DevExpress - please create a data module. Place the TWPLanguageControl there and create that datamodule at the start of the application.
Regards,
Julian