Skinned printer properties produces an AV (6.68)

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #33912
    HeDiBo
    Participant

    Although the SkinningRules property of the SkinManager says srStdForms = False, the standard printer properties dialog is still skinned (the form is heavily augmented by the printer producer HP).

    Upon leaving the Printer Properties dialog, an access violation occurs. Here is the stack trace:

    CODE
    Access violation at address 6EBAE1B4 in module 'COMPSTUI.dll'. Read of address 00000034.

    Exception class: EAccessViolation
    Exception address: 6EBAE1B4



    Stack list, generated 04/08/2010 13:17:24
    [6EBAE1B4] SetCPSUIUserData + $88D
    [00404DAF] System.@HandleAnyException (Line 9501, “system.pas” + 13) + $0
    [0043CBB3] CommCtrl.TreeView_SetBkColor (Line 8476, “CommCtrl.pas” + 1) + $F
    [00606426] acSBUtils.TacTreeViewWnd.RestoreStdParams (Line 4056, “acSBUtils.pas” + 2) + $1B
    [0060B01C] acSBUtils.TacMainWnd.Destroy (Line 5368, “acSBUtils.pas” + 18) + $5
    [00601F36] acSBUtils.TacScrollWnd.Destroy (Line 2939, “acSBUtils.pas” + 3) + $9
    [00404890] System.TObject.Free (Line 8385, “system.pas” + 1) + $4
    [00576E41] acDials.TacProvider.Destroy (Line 543, “acDials.pas” + 3) + $42
    [00404890] System.TObject.Free (Line 8385, “system.pas” + 1) + $4
    [004189BB] SysUtils.FreeAndNil (Line 16368, “SysUtils.pas” + 3) + $3
    [0057E06C] acDials.CleanArray (Line 2370, “acDials.pas” + 5) + $3
    [00575E65] acDials.SkinHookCBT (Line 294, “acDials.pas” + 38) + $0
    [006F0C9C] ppPrintr.TppCustomPrinter.ShowPropertiesDialog (Line 3224, “ppPrintr.pas” + 12) + $28
    [00724661] ppPDlg.TppPrintDialog.btnPrinterPropertiesClick (Line 680, “ppPDlg.pas” + 2) + $9
    [0049466E] Controls.TControl.Click (Line 4767, “Controls.pas” + 9) + $C
    [0045B5AB] StdCtrls.TButton.Click (Line 3520, “StdCtrls.pas” + 3) + $3
    [0045B712] StdCtrls.TButton.CNCommand (Line 3572, “StdCtrls.pas” + 1) + $11
    [00494439] Controls.TControl.WndProc (Line 4707, “Controls.pas” + 53) + $8
    [0049846A] Controls.TWinControl.WndProc (Line 6468, “Controls.pas” + 33) + $6
    [0045B3D6] StdCtrls.TButtonControl.WndProc (Line 3452, “StdCtrls.pas” + 13) + $6
    [00494120] Controls.TControl.Perform (Line 4610, “Controls.pas” + 10) + $F
    [004985F7] Controls.DoControlMsg (Line 6521, “Controls.pas” + 6) + $22
    [00498E61] Controls.TWinControl.WMCommand (Line 6707, “Controls.pas” + 1) + $9
    [00494439] Controls.TControl.WndProc (Line 4707, “Controls.pas” + 53) + $8
    [00498576] Controls.TWinControl.DefaultHandler (Line 6502, “Controls.pas” + 30) + $28
    [00494439] Controls.TControl.WndProc (Line 4707, “Controls.pas” + 53) + $8
    [0049846A] Controls.TWinControl.WndProc (Line 6468, “Controls.pas” + 33) + $6
    [00497FAC] Controls.TWinControl.MainWndProc (Line 6319, “Controls.pas” + 3) + $9
    [00439C78] Classes.StdWndProc (Line 11128, “Classes.pas” + 8) + $0
    [00498576] Controls.TWinControl.DefaultHandler (Line 6502, “Controls.pas” + 30) + $28
    [00494B8D] Controls.TControl.WMLButtonUp (Line 4898, “Controls.pas” + 1) + $8
    [00494439] Controls.TControl.WndProc (Line 4707, “Controls.pas” + 53) + $8
    [0049B5E0] Controls.TWinControl.GetHandle (Line 7972, “Controls.pas” + 1) + $3
    [00498233] Controls.TWinControl.IsControlMouseMsg (Line 6406, “Controls.pas” + 1) + $A
    [0049846A] Controls.TWinControl.WndProc (Line 6468, “Controls.pas” + 33) + $6
    [0045B3D6] StdCtrls.TButtonControl.WndProc (Line 3452, “StdCtrls.pas” + 13) + $6
    [00497FAC] Controls.TWinControl.MainWndProc (Line 6319, “Controls.pas” + 3) + $9
    [00439C78] Classes.StdWndProc (Line 11128, “Classes.pas” + 8) + $0
    [004B580C] Forms.TApplication.ProcessMessage (Line 6985, “Forms.pas” + 13) + $4
    [004B5853] Forms.TApplication.HandleMessage (Line 7004, “Forms.pas” + 1) + $6
    [004B172C] Forms.TCustomForm.ShowModal (Line 4866, “Forms.pas” + 33) + $5
    [0078F6B1] ppProd.TppProducer.PrintToPrinter (Line 1347, “ppProd.pas” + 27) + $B
    [0078F24B] ppProd.TppProducer.Print (Line 1093, “ppProd.pas” + 14) + $3
    [007726A7] ppReport.TppReport.Print (Line 967, “ppReport.pas” + 25) + $3
    [007767B8] ppViewr.TppViewer.Print (Line 481, “ppViewr.pas” + 26) + $B
    [0094ABE5] rbPrevw.TauRBPrintPreview.spbPreviewPrintClick (Line 351, “..DELPHICOMMONrbPrevw.pas” + 2) + $9
    [0049466E] Controls.TControl.Click (Line 4767, “Controls.pas” + 9) + $C
    [0046C542] Buttons.TSpeedButton.Click (Line 1159, “Buttons.pas” + 1) + $3
    [0046C523] Buttons.TSpeedButton.MouseUp (Line 1152, “Buttons.pas” + 25) + $D
    [005A72F1] sSpeedButton.TsSpeedButton.MouseUp (Line 965, “sSpeedButton.pas” + 8) + $11
    [00494B6C] Controls.TControl.DoMouseUp (Line 4893, “Controls.pas” + 2) + $27
    [00492BCB] Controls.TControl.SetMouseCapture (Line 3998, “Controls.pas” + 2) + $12
    [00494BF4] Controls.TControl.WMLButtonUp (Line 4905, “Controls.pas” + 8) + $8
    [00494439] Controls.TControl.WndProc (Line 4707, “Controls.pas” + 53) + $8
    [005A4E52] sSpeedButton.TsSpeedButton.DoDrawText (Line 409, “sSpeedButton.pas” + 16) + $85
    [005A4EEC] sSpeedButton.TsSpeedButton.DrawCaption (Line 423, “sSpeedButton.pas” + 7) + $1E
    [005CFBC3] sSkinManager.TsSkinManager.IsValidSkinIndex (Line 1897, “sSkinManager.pas” + 1) + $1B
    [0043F342] Graphics.TFont.GetHandle (Line 1618, “Graphics.pas” + 42) + $1E
    [00440BC7] Graphics.TCanvas.SetPenPos (Line 2439, “Graphics.pas” + 1) + $9
    [005A518E] sSpeedButton.TsSpeedButton.GraphRepaint (Line 460, “sSpeedButton.pas” + 10) + $41
    [005A6E61] sSpeedButton.TsSpeedButton.WndProc (Line 870, “sSpeedButton.pas” + 83) + $6
    [00494120] Controls.TControl.Perform (Line 4610, “Controls.pas” + 10) + $F
    [004982C4] Controls.TWinControl.IsControlMouseMsg (Line 6423, “Controls.pas” + 18) + $17
    [004983D0] Controls.TWinControl.WndProc (Line 6453, “Controls.pas” + 18) + $6
    [005DF299] sCommonData.TsCommonData.Skinned (Line 838, “sCommonData.pas” + 6) + $18
    [0059C577] sPanel.TsPanel.WndProc (Line 456, “sPanel.pas” + 161) + $6
    [00497FAC] Controls.TWinControl.MainWndProc (Line 6319, “Controls.pas” + 3) + $9
    [00439C78] Classes.StdWndProc (Line 11128, “Classes.pas” + 8) + $0
    [004B580C] Forms.TApplication.ProcessMessage (Line 6985, “Forms.pas” + 13) + $4
    [004B5853] Forms.TApplication.HandleMessage (Line 7004, “Forms.pas” + 1) + $6
    [004B172C] Forms.TCustomForm.ShowModal (Line 4866, “Forms.pas” + 33) + $5
    [0078F4E2] ppProd.TppProducer.PrintToScreen (Line 1272, “ppProd.pas” + 16) + $B
    [0078F241] ppProd.TppProducer.Print (Line 1091, “ppProd.pas” + 12) + $3
    [007726A7] ppReport.TppReport.Print (Line 967, “ppReport.pas” + 25) + $3
    [00941C8C] frReports.TfrReportButtons.PrintReport (Line 252, “frReports.pas” + 3) + $5
    [009412F7] frReports.TfrReportButtons.btnPrintLogClick (Line 144, “frReports.pas” + 20) + $D
    [0049466E] Controls.TControl.Click (Line 4767, “Controls.pas” + 9) + $C
    [0046C542] Buttons.TSpeedButton.Click (Line 1159, “Buttons.pas” + 1) + $3
    [0046C523] Buttons.TSpeedButton.MouseUp (Line 1152, “Buttons.pas” + 25) + $D
    [005A72F1] sSpeedButton.TsSpeedButton.MouseUp (Line 965, “sSpeedButton.pas” + 8) + $11
    [00494B6C] Controls.TControl.DoMouseUp (Line 4893, “Controls.pas” + 2) + $27
    [00492BCB] Controls.TControl.SetMouseCapture (Line 3998, “Controls.pas” + 2) + $12
    [00494BF4] Controls.TControl.WMLButtonUp (Line 4905, “Controls.pas” + 8) + $8
    [00494439] Controls.TControl.WndProc (Line 4707, “Controls.pas” + 53) + $8
    [005CFBC3] sSkinManager.TsSkinManager.IsValidSkinIndex (Line 1897, “sSkinManager.pas” + 1) + $1B
    [005DF299] sCommonData.TsCommonData.Skinned (Line 838, “sCommonData.pas” + 6) + $18
    [005A6E61] sSpeedButton.TsSpeedButton.WndProc (Line 870, “sSpeedButton.pas” + 83) + $6
    [00494120] Controls.TControl.Perform (Line 4610, “Controls.pas” + 10) + $F
    [004982C4] Controls.TWinControl.IsControlMouseMsg (Line 6423, “Controls.pas” + 18) + $17
    [004983D0] Controls.TWinControl.WndProc (Line 6453, “Controls.pas” + 18) + $6
    [005DF299] sCommonData.TsCommonData.Skinned (Line 838, “sCommonData.pas” + 6) + $18
    [00575299] sFrameAdapter.TsFrameAdapter.NewWndProc (Line 338, “sFrameAdapter.pas” + 211) + $9
    [0060ACD1] acSBUtils.TacMainWnd.CallPrevWndProc (Line 5309, “acSBUtils.pas” + 6) + $9
    [00601C18] acSBUtils.Ac_LButtonUp (Line 2847, “acSBUtils.pas” + 85) + $13
    [005CFBC3] sSkinManager.TsSkinManager.IsValidSkinIndex (Line 1897, “sSkinManager.pas” + 1) + $1B
    [0060259E] acSBUtils.TacScrollWnd.acWndProc (Line 3043, “acSBUtils.pas” + 100) + $16
    [00497FAC] Controls.TWinControl.MainWndProc (Line 6319, “Controls.pas” + 3) + $9
    [00439C78] Classes.StdWndProc (Line 11128, “Classes.pas” + 8) + $0
    [004B580C] Forms.TApplication.ProcessMessage (Line 6985, “Forms.pas” + 13) + $4
    [004B5853] Forms.TApplication.HandleMessage (Line 7004, “Forms.pas” + 1) + $6
    [004B5AEE] Forms.TApplication.Run (Line 7088, “Forms.pas” + 16) + $3
    [0094BF95] AuSync.initialization (Line 58, “G:AURAAuSyncAuSync.dpr” + 13) + $7



    System : Windows XP Professional, Version: 5.1, Build: A28, “Service Pack 3”
    Processor: Intel, Pentium 4, 2780 MHz MMX
    Display : 1280×1024 pixels, 32 bpp



    Active Controls hierarchy:
    TButton “btnPrinterProperties”
    TPanel “pnlPrint”
    TppPrintDialog “ppPrintDialog”


    How can I prevent the printer properties dialog to appear skinned? It does a very poor job of skinning it, with loads of rendering problems

    #43115
    HeDiBo
    Participant

    I found out that clearing all SkinningRules makes skinning the Printer Properties dialog go away. But that's too rigorous. I want standard warnings, etc. to stay skinned.

    #43135
    Support
    Keymaster

    Can you verify this dialog in the ASkinDemo.exe version 7, please? Many changes were made in the v7 and problem may be solved already.
    And can you show me a screenshot of dialog?

    You can disable srStdDialogs property before dialog showing and enable it after dialog closing. This dialog will not be skinned in this case.

    #43151
    HeDiBo
    Participant

    QUOTE (Support @ Aug 6 2010, 08:38 AM) <{POST_SNAPBACK}>
    Can you verify this dialog in the ASkinDemo.exe version 7, please? Many changes were made in the v7 and problem may be solved already.
    And can you show me a screenshot of dialog?

    You can disable srStdDialogs property before dialog showing and enable it after dialog closing. This dialog will not be skinned in this case.

    These are the PrinterSetup screens for version 6 and version 7. They have exactly the same flaws:

    [attachment=4113:PrinterP…ngErrors.jpg] ( Version 6.68 )

    [attachment=4114:PrinterP…ersion_7.jpg] ( Version 7.04 )

    #43182
    Support
    Keymaster

    Hello

    Thank you for screenshots. Which HP printer you have installed?
    I'll try to install drivers and I will look this dialog on my PC.

    #43187
    HeDiBo
    Participant

    QUOTE (Support @ Aug 21 2010, 06:44 AM) <{POST_SNAPBACK}>
    Hello

    Thank you for screenshots. Which HP printer you have installed?
    I'll try to install drivers and I will look this dialog on my PC.

    The printer is a HP Color Laserjet CP1515n PCL 6 used over the internal network.

    #43189
    Support
    Keymaster

    Thank you, I see glitches now and I'll try to fix it soon.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.