Hi All!
I migrating a ERP system ctd151 to gtd61.net, and I have some errors. What causes this mistake?
warning -- 'instance' added to method's calling conventionC:\Users\...\AppData\Local\Temp\m5edufoo.051\xmcl.il(162742) :
IL_0052: box [Unify.TD.Runtime.NumberDate]Unify.TD.Runtime.SalSystem.SalDecimal
IL_0053: callvirt void [Unify.TD.Runtime.System]Unify.TD.Runtime.SalSystem.WindowsMsgEventArgs::set_wParam(object) <-- row: 162742
IL_0054: box [Unify.TD.Runtime.NumberDate]Unify.TD.Runtime.SalSystem.SalDecimal
I found this in this topic: http://www.cetix.de/DotNetNews/Thread17 ... _Call.aspx
- Windows7
- .NET framework 3.0, 3.5, 4.0
- GTD 6.1-SP3.NET
TD-20714: ilasm error: warning -- 'instance' added to method's calling
Re: TD-20714: ilasm error: warning -- 'instance' added to method's calling
I reproduced the mistake in a mini test application. Although the error message is other, than the big ERP system, but the manner of the solution same thing.
The mistake comes then when the name of a column begins with two underscore character and there is a message handling under it. That is if I delete one underscore character or I delete it all of the messages handling from under it, will be compiling and running.
- Windows Server 2008 R2 Standard
- .NET framework 3.5.1, 4.0
- GTD 6.1-SP3.NET fresh install, activated
ps: Only silently ask, there was already anybody, anywhere, anytime, who succesfully migrate a big system (>150 module (exe), more thousand functions (window/dialog), custom DLL-s) to TD6.1-.NET (from ctd151ptf6)?
Code: Select all
SQLWindows Error Log
Application File: D:\test.app
--- Begin Error Output ---
Error encountered assembling: test.app(0) : error : syntax error at token ''(class [Unify.TD.Runtime.Syste' in: IL_004f: newobj instance void class [Unify.TD.Runtime.Wpf.Windows]Unify.TD.Runtime.Windows.SalColumn/CreateEventHandler::.ctor(object,
--- End Error Output ---
Code: Select all
Form Window: frm
Child Grid: tbl
Contents
Column: __col_wrong
Message Actions
On SAM_Create
Column: _col_good1
Message Actions
On SAM_Create
Column: __col_good2
Message Actions
- .NET framework 3.5.1, 4.0
- GTD 6.1-SP3.NET fresh install, activated
ps: Only silently ask, there was already anybody, anywhere, anytime, who succesfully migrate a big system (>150 module (exe), more thousand functions (window/dialog), custom DLL-s) to TD6.1-.NET (from ctd151ptf6)?
You do not have the required permissions to view the files attached to this post.
Re: TD-20714: ilasm error: warning -- 'instance' added to method's calling
Dear Gupta!
We have roughly 150 modules (exe), ~11250000 Sal Lines, ~7500 functions (form/table windows, dialog boxes) we would like to migrate our code to .NET.
We would like to know on which level you deals with the mentioned problem so that we could consider our further steps.
Formerly, we attached a test program with a complexity of a reactor controller. The test would last only 10 seconds...
We wait for your answer very much (ex.: worksforme) .
best regards
We have roughly 150 modules (exe), ~11250000 Sal Lines, ~7500 functions (form/table windows, dialog boxes) we would like to migrate our code to .NET.
We would like to know on which level you deals with the mentioned problem so that we could consider our further steps.
Formerly, we attached a test program with a complexity of a reactor controller. The test would last only 10 seconds...
We wait for your answer very much (ex.: worksforme) .
best regards
Re: TD-20714: ilasm error: warning -- 'instance' added to method's calling
Dear Gupta!
I tested with the new TD version. Unfortunately I have the same problem.
Environment:
- Windows 7 Enterprise 64bit
- .NET framework 3.0, 3.5, 4.0
- TD 6.2-SP1.NET
best regards
I tested with the new TD version. Unfortunately I have the same problem.
Environment:
- Windows 7 Enterprise 64bit
- .NET framework 3.0, 3.5, 4.0
- TD 6.2-SP1.NET
best regards
Re: TD-20714: ilasm error: warning -- 'instance' added to method's calling
Hi:
Just to let you know that I was able to reproduce the issue and logged a defect TD-20714.
We will keep you informed on any updates.
Thanks for the information.
Regards,
Victor Espinal
Just to let you know that I was able to reproduce the issue and logged a defect TD-20714.
We will keep you informed on any updates.
Thanks for the information.
Regards,
Victor Espinal
Who is online
Users browsing this forum: [Ccbot] and 1 guest