Beiträge von skoschke

    Das habe ich ja mehrfach versucht, in WPSpell_STDForm bekomme ich einen Fehler

    [dcc32 Fehler] WPSpell_StdForm.pas(56): E2003 Undeklarierter Bezeichner: 'TWPShadedForm'

    in

    Code
    type
      {$IFNDEF USEWPT_LANGCTRL}
      TWPShadedForm = class(TForm);
      {$ELSE}
      {$UNDEF SHOW_LANGUAGE_COMBO}
      {$ENDIF} 
    
       TWPSpellForm = class(TWPShadedForm) <--- hier

    Ciao
    Stefan

    Ich habe die WPSpell 1.70 entfernt und die 1.65 wieder installiert.

    Nach Änderung etlicher Uses (System.SysUtils, WinApi.Windows, VCL.Menus, ...) funktioniert WPSpell wieder!

    Die 1.70 habe ich nicht zum Laufen bekommen!

    Wäre es möglich, eine funktionierende 1.70 im Downloadportal zur Verfügung zu stellen?

    Danke
    Ciao

    Stefan

    Ich habe noch mal ganz von vorn begonnen:

    - WPTools 9 Package deinstalliert.

    - Verzeichnisse auf Festplatte gelöscht.

    - Setup WPTools 9.2.003

    - Setup WPSpell

    - WPINC.INC {$DEFINE WPSPELL} freigeschaltet

    - WPSpell_INC.INC {$DEFINE USEWPT_LANGCTRL} freigeschaltet

    - In WPSpell_Language.pas die fehlenden System.Sysutils / System.Typeinfo ergänzt

    - Package compiliert / installiert

    Und bekomme in WPSpell_StdForm bei

    {$IFNDEF USEWPT_LANGCTRL}

    protected

    procedure SetLabelLanguage(LabelLanguage: TWPSLanguages);

    {$ENDIF}


    [dcc32 Fehler] WPSpell_StdForm.pas(110): E2003 Undeklarierter Bezeichner: 'TWPSLanguages'

    Irgendwas habe ich immer noch vergessen denn dieser Code dürfte doch gar nicht abgearbeitet werden ( {$IFNDEF USEWPT_LANGCTRL}) denn das ist doch in der WPSpell_INC.INC definiert ?

    Danke

    Ciao

    Stefan

    Hallo,

    bereits beim Öffnen des Projekts kommt folgender Fehler:

    ---------------------------
    Fehler
    ---------------------------
    Zugriffsverletzung bei Adresse 50CD8BEC in Modul 'vcl270.bpl'. Lesen von Adresse 00000040.
    ---------------------------
    OK Details >>
    ---------------------------

    [50CD8BEC]{vcl270.bpl } Vcl.Graphics.TBitmap.FreeImage (Line 8434, "Vcl.Graphics.pas" + 1) + $0

    [5005FF9A]{rtl270.bpl } System.@IsClass (Line 18453, "System.pas" + 1) + $8

    [50CD8596]{vcl270.bpl } Vcl.Graphics.TBitmap.Changing (Line 8224, "Vcl.Graphics.pas" + 1) + $2

    [50CD8DF8]{vcl270.bpl } Vcl.Graphics.TBitmap.GetScanline (Line 8590, "Vcl.Graphics.pas" + 1) + $4

    [2BDE6ACD]{WPTools9_DX14_Pack_DS.bpl} Wputil.WPCopyRectFromPNGImage + $2BD

    [2BDE678A]{WPTools9_DX14_Pack_DS.bpl} Wputil.WPCopyRectFromImageList + $96

    [2BE31297]{WPTools9_DX14_Pack_DS.bpl} Wptbar.TWPSpeedButton.Paint + $423

    [50D01E19]{vcl270.bpl } Vcl.Controls.TGraphicControl.WMPaint (Line 14009, "Vcl.Controls.pas" + 7) + $5

    [50CF7172]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6

    [50CF6DAC]{vcl270.bpl } Vcl.Controls.TControl.Perform (Line 7258, "Vcl.Controls.pas" + 10) + $8

    [50CFC56E]{vcl270.bpl } Vcl.Controls.TWinControl.PaintControls (Line 10582, "Vcl.Controls.pas" + 27) + $D

    [50CFC36B]{vcl270.bpl } Vcl.Controls.TWinControl.PaintHandler (Line 10528, "Vcl.Controls.pas" + 24) + $8

    [500605CC]{rtl270.bpl } System.TMonitor.CheckOwningThread (Line 19506, "System.pas" + 2) + $0

    [500608F2]{rtl270.bpl } System.TMonitor.Exit (Line 19696, "System.pas" + 1) + $2

    [50D010D3]{vcl270.bpl } Vcl.Controls.TWinControl.WMPrintClient (Line 13509, "Vcl.Controls.pas" + 14) + $6

    [50CF7172]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6

    [50CFC0C7]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6

    [50CF6DAC]{vcl270.bpl } Vcl.Controls.TControl.Perform (Line 7258, "Vcl.Controls.pas" + 10) + $8

    [50CFCC77]{vcl270.bpl } Vcl.Controls.TWinControl.WMPaint (Line 10723, "Vcl.Controls.pas" + 18) + $D

    [5005FF9A]{rtl270.bpl } System.@IsClass (Line 18453, "System.pas" + 1) + $8

    [50D02BC1]{vcl270.bpl } Vcl.Controls.TCustomControl.WMPaint (Line 14385, "Vcl.Controls.pas" + 2) + $4

    [50CF7172]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6

    [50CFC0C7]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6

    [50CFB614]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10113, "Vcl.Controls.pas" + 3) + $6

    [501826A4]{rtl270.bpl } System.Classes.StdWndProc (Line 18175, "System.Classes.pas" + 8) + $0

    [50E5C233]{vcl270.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11028, "Vcl.Forms.pas" + 23) + $1

    [50E5C276]{vcl270.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11058, "Vcl.Forms.pas" + 1) + $4

    [50E5C5AD]{vcl270.bpl } Vcl.Forms.TApplication.Run (Line 11196, "Vcl.Forms.pas" + 26) + $3

    [00524DB8]{bds.exe } bds.bds (Line 222, "" + 13) + $2

    Nach langem Rumprobieren (wie soll man das Öffnen eines Projekts debuggen?) habe ich herausgefunden, dass der Fehler nicht mehr auftritt, wenn ich WPImagelist vom Formular entferne.

    Wo könnte das Problem liegen?

    Ciao

    Stefan

    Ich habe noch mal neu gestartet:

    WPSpell_INC.INC Originalzustand

    WPINC.INC geändert {$DEFINE WPSPELL}

    Jetzt wird in WPSpell_Language

    Code
    {$IFDEF WINCOM}{$DEFINE USEWPT_LANGCTRL}{$ENDIF}
    
    uses SysUtils
      {$IFDEF USEWPT_LANGCTRL}
       ,TypInfo, WPUtil, WPRTEDefs
      {$ENDIF}
      ;

    Sysutils nicht gefunden ?!

    Ciao

    Stefan

    Nachtrag:

    Ich erhalte noch einen weiteren Fehler:

    [dcc32 Fehler] E2161 Error: RLINK32: Unsupported 16bit resource in file "C:\.....\WPSpell\SPELLVCL\WPSpell_STDForm.DFM"

    Schau ich mir die an ist da irgendwelcher "Müll" drin, andere dfm's sind reiner Texr!

    Bitte dringend um Hilfe!

    Ciao

    Stefan

    Hallo,

    Im Programm hatte ich bisher WPSpell_LoadVCLStrings beim Start, die Unit WPSpell_Language ist eingebunden.

    Beim Compilieren erhalte ich

    [dcc32 Fehler] UnitMain.pas(1701): E2003 Undeklarierter Bezeichner: 'WPSpell_LoadVCLStrings'

    Was ist da passiert?

    Ciao

    Stefan

    Gut, die Positionierung des neuen Dialogs im OnShowDialog habe ich gefunden, nur gefällt er mir optisch und von der Bedienung her nicht so richtig, die alten Search / Replace - Dialoge waren da viel benutzerfreundlicher :-)

    Was mir jetzt bei den alten Dialogen aufgefallen ist:

    Das OnFindClose im WPTools 9 WPRichText wird überhaupt nicht mehr gefeuert wenn man den Dialog schließt !

    Ist da was von 8 auf 9 kaputtgegangen?

    Ciao

    Stefan

    Der neue Dialog hat das Focus-Problem nicht mehr, nach Schließen von diesem hat das WPRichText wieder den Focus und der Cursor blinkt :-)

    Nur eines ist unschön: der Dialog startet erstmalig an der obersten linken Ecke des Bildschirms, nach Verschieben behält er dann die neue Position bei bei erneutem Anzeigen.

    Nach Programmstart aber hat er wieder die linke obere Ecke.

    Einen Parent kann man nicht zuweisen und die Position anderweitig beeinflussen habe ich auch nichts gefunden, gibt es da noch einen Trick?

    ExecuteParented hat keine Wirkung, ExecuteAt ist ebenfalls wirkungslos, der Dialog startet beim ersten Mal immer in der oberen linken Ecke...

    Ciao

    Stefan