This is a migrated thread and some comments may be shown as answers.

Lack InicializeComponebt() method.

4 Answers 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Isidro Padilla
Top achievements
Rank 1
Isidro Padilla asked on 11 Jun 2012, 05:16 PM

 

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

4 Answers, 1 is accepted

Sort by
0
Nikolay G Rusev
Telerik team
answered on 14 Jun 2012, 03:34 PM
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 >>

0
Isidro Padilla
Top achievements
Rank 1
answered on 14 Jun 2012, 04:49 PM
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.
0
Isidro Padilla
Top achievements
Rank 1
answered on 14 Jun 2012, 06:14 PM
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
0
Nikolay G Rusev
Telerik team
answered on 19 Jun 2012, 02:00 PM
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 >>

Tags
General Discussions
Asked by
Isidro Padilla
Top achievements
Rank 1
Answers by
Nikolay G Rusev
Telerik team
Isidro Padilla
Top achievements
Rank 1
Share this question
or