Lack InicializeComponebt() method.

5 posts, 0 answers
  1. Isidro Padilla
    Isidro Padilla avatar
    31 posts
    Member since:
    Sep 2012

    Posted 11 Jun 2012 Link to this post

     

    I encountered a strange behavior in the latest version of JustDecompiler (JustDecompiler 2012.2.607.1 (released on 6/11/2012)).
    This version does not generate the method "InicializeComponents () of the main form. Generate the method call:

                    public frmMain()

                                   {

                                                   frmMain _frmMain = this;

                                                   base.FormClosing += _frmMain.frmMain_FormClosing;

                                                   frmMain _frmMain1 = this;

                                                   base.Load += _frmMain1.frmStart_Load;

                                                   frmMain.__ENCAddToList(this);

                                                   this.InitializeComponent();

                                                   this.ImpostaInfo();

                                   }

    But not the method:

    Private void InicializeComponent()

    {

    :::

    ::.

    }

    I've checked several executables and all lack that method. It seems that only occurs on the main form.

    You can verify this by downloading the open source program from the following address:

     

    http://www.diegolunadei.it/luna/luna.rar

  2. Nikolay G Rusev
    Admin
    Nikolay G Rusev avatar
    44 posts

    Posted 14 Jun 2012 Link to this post

    Hi,

     Can you give us some more details on how to reproduce this problem, since everything seems OK at our side?
    screenshot

    Regards,
    Nikolay G Rusev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Isidro Padilla
    Isidro Padilla avatar
    31 posts
    Member since:
    Sep 2012

    Posted 14 Jun 2012 Link to this post

    As you show me in the attached picture, your system does not produce the error, but I always get this error, even with new version of 06.12.2012.

    I do not understand what happens because I have no problem with other decompilers as ILSpy, SAE, Reflector, DotPeek. It is very rare.

    I'll have to check my computer, but do not know where to start because as indicated 4 decompilers perform decompilation of "InicializeComponent ()" correctly.

    My OS is Windows Vista SP2. Now I'll check with another OS and another computer.

    Any suggestions?

    Thanks and forgive this inconvenience.
  5. Isidro Padilla
    Isidro Padilla avatar
    31 posts
    Member since:
    Sep 2012

    Posted 14 Jun 2012 Link to this post

    Hi
    I have solved the problem as follows:

    1) I installed JustDecompiler on another computer with the same operating system and have proven to work properly.

    2) I returned to the computer where it did not work and I uninstalled JustDecompiler completely.

    3) I installed JustDecompiler again and is working properly.

    A further clarification:
    JustDecompiler generated InitializeComponent () correctly, but not saved to disk when asked to "create project". JustDecompiler saved the file frmMain (), but without  the method InitializeComponebt ().

    I always installed JustDecompiler without uninstalling the  previous version, this may be the cause of the error, any residue of previous installations.

    Now what I wonder without answer is: why the other 4 compilers do not get an error?
    Good luck.
    Isidro Padilla
  6. Nikolay G Rusev
    Admin
    Nikolay G Rusev avatar
    44 posts

    Posted 19 Jun 2012 Link to this post

    Hi,

     Thank you for the clarification. We were able to reproduce the error this time. The problem is due to a bug in the project generation and it has nothing to do with the installer. This should be fixed in some of the forthcoming releases, so please, stay tuned.

    Kind regards,
    Nikolay G Rusev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner