1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Erro (4132)

Discussão em 'Progress 4GL' iniciado por leandrol360, Janeiro 7, 2010.

  1. leandrol360

    leandrol360 Membro Participativo

    Boa tarde,

    Estou com o seguinte problema na máquina de um cliente:
    Toda vez que o ele abre um programa, aparece a mensagem de erro ** Invalid character unit value <value>, Changed to 320. (4132)
    Ele me disse que pode ter alguma coisa a ver com o IE8.

    Alguém tem alguma idéia do que se trata?
    Procurei na net mas não encontrei nada a respeito...

    []´s a todos,
    Obrigado!!!
  2. mepossamai

    mepossamai Sem Pontuação

    Olá leandrol360 ...
    vc está usando Webspeed? Se vc diz que é problema com o IE8, já testou com o Firefox? Chrome?

    segundo o Procedure Editor da Version 9.1D08... esse erro significa:
    "The maximum value of a character unit is 320. Anything larger is truncated to 320. This is a very large number, and you might want to check the logic behind using this large of a character unit."

    vc nao tem nenhum char declarado no programa?
  3. leandrol360

    leandrol360 Membro Participativo

    Olá Mepossamai!!

    Não estou usando Webspeed! É um sistema ERP (cliente-servidor), onde temos o menu principal para acessar todas as outras telas do sistema. Acontece que, somente em uma máquina, toda vez que o sistema é executado ou um novo programa é chamado ou finalizado aparece essa mensagem. Meu cliente diz que isso começou a ocorrer após ter instalado o IE8 com o WinXP. Agora ele está usando o Win7 (que já vem com o IE8) e o problema continua... Não sei se tem haver com o IE8, é só uma suposição...
    Alguém poderia me ajudar?

    []´s,
    Obrigado!!!
  4. Cobra.cne

    Cobra.cne Equipe de Suporte Moderador

    Olá,

    Tenta verificar a resolução do micro que esta apresentando problemas, pode ser algum problema assim.
    Uma solução da Progress fala também de BUG, da uma olhada abaixo:

    Código:
    ID: P14080
    Title: "Multiple display devices and higher resolutions cause error 4132 in SmartObjects and tools"
    Created: 11/19/2002	Last Modified: 04/11/2008
    Status: Verified
    
    
    Symptoms:  
    Multiple display devices and high display resolutions cause error 4132
    Horizontal resolution of display exceeds 1280 pixels
    One of the following conditions applies:
    Running an ADM2 application which uses the ADM2 smartToolbar.
    Running a Dynamics application
    Starting the Procedure Editor
    Starting the AppBuilder
    Opening a Window (.w file) in the AppBuilder
    Opening a Dialog-Box in the AppBuilder
    Opening a New Procedure window from AppBuilder
    The following error occurs:
    ** Invalid character unit value <value>, Changed to 320. (4132)
    
    
    Facts:  
    Progress 9.x
    OpenEdge 10.0x
    Dynamics
    Windows
    
    
    Cause:  
    Bug# 20040302-007
    
    
    Fixes:  
    Upgrade to Progress 9.1E01 or later release.
    Upgrade to OpenEdge 10.0B01 or later release.
    If using Dynamics, upgrade to  Dynamics  2.1B or later release
    
    
    Alternatively, one way to work around the issue is to change the ADM2 (and Dynamics) source code to reference SESSION:HEIGHT and SESSION:WIDTH with NO-ERROR.
    Please note that modifying the ADM2 source is neither recommended or supported. However, in cases where there is no alternative the following changes should be considered.
    
    The code below is taken from toolbar.p and provided as an example only.
    
    From:
    
       IF dMinHeight > 0 AND dMinHeight < (SESSION:HEIGHT - 1) AND
          dMinWidth > 0 AND dMinWidth < (SESSION:WIDTH - 1) AND
          (hWindow:WIDTH < dMinWidth OR hWindow:HEIGHT < dMinHeight) THEN
    
    To:
    
       ASSIGN locWidth  = SESSION:WIDTH NO-ERROR
              locHeight = SESSION:HEIGHT NO-ERROR.
    
       IF dMinHeight > 0 AND dMinHeight < (locHeight - 1) AND
          dMinWidth > 0 AND dMinWidth < (locWidth - 1) AND
          (hWindow:WIDTH < dMinWidth OR hWindow:HEIGHT < dMinHeight) THEN
    
    
    Notes:  
    Note that the real issue is a Progress limitation: Although Progress is now on 32-bit platforms, the 320 column restriction is still in place because the r-code structures which store row and column information haven't been updated from 16 bits to 32 bits.
    The bug fix suppresses the 4132 error messages by adding NO-ERROR where SESSION:WIDTH-CHARS and SESSION:HEIGHT-CHARS attributes are referenced. References to Written Documentation:
    
    Progress Solutions:
    
    P12469, "Expanded/Virtual Screen Resolutions and Progress Limits -- Error 4132"
    
    Espero que ajude.

    T+
  5. leandrol360

    leandrol360 Membro Participativo

    Valeu Cleilton... O problema era a resolução do monitor mesmo!!!
    Onde vc conseguiu achar essas informações?

    Obrigado!!!
    Abs.
  6. Cobra.cne

    Cobra.cne Equipe de Suporte Moderador

Compartilhe esta Página