Error XS1558 ('IMap.Exe.Functions' does not have a suitable static Main method)
Posted: Tue Apr 23, 2019 2:20 pm
So, let's follow the code:
1. Start()
// IMap.Exe.Functions
using System
using System.Windows.Forms
[STAThread];
public static method Start(asCmdLine as string[] ) as void
try
global::_003CModule_003E._0024AppInit()
action := { =>
Application.EnableVisualStyles()
try
DoRealStart(asCmdLine)
catch ex as Exception
MessageBox.Show(ex:Message)
end try
}
action()
finally
global::_003CModule_003E._0024AppExit()
GC.Collect()
GC.WaitForPendingFinalizers()
end try
2. Click on: global::_003CModule_003E._0024AppInit()
// <Module>
using IMap.Exe
using Softway_Common
using System
using System.Runtime.CompilerServices
using Vulcan.Runtime
using VulcanRTFuncs
[CompilerGenerated];
internal static method _0024AppInit() as void
try
State.AppModule := typeof(IMap.Exe.Functions):Module
State.CompilerOptionFOvf := false
State.CompilerOptionOvf := false
State.CompilerOptionVO11 := false
Softway_Common.Functions._0024Init1()
VulcanRTFuncs.Functions._0024Init1()
IMap.Exe.Functions._0024Init1()
catch innerException as Exception
throw Exception{"Error when executing code in Vulcan INIT procedure(s)", innerException}
end try
3. Softway_Common.Functions._0024Init1():
// Softway_Common.Functions
using System.Runtime.CompilerServices
[CompilerGenerated];
public static method _0024Init1() as void
4. VulcanRTFuncs.Functions._0024Init1():
// VulcanRTFuncs.Functions
public static method _0024Init1() as void
InitSettings()
5. IMap.Exe.Functions._0024Init1():
// IMap.Exe.Functions
using System.Runtime.CompilerServices
[CompilerGenerated];
internal static method _0024Init1() as void
I think all calls of:
global::_003CModule_003E._0024AppInit()
are here. I cannot see something of my code.
George
1. Start()
// IMap.Exe.Functions
using System
using System.Windows.Forms
[STAThread];
public static method Start(asCmdLine as string[] ) as void
try
global::_003CModule_003E._0024AppInit()
action := { =>
Application.EnableVisualStyles()
try
DoRealStart(asCmdLine)
catch ex as Exception
MessageBox.Show(ex:Message)
end try
}
action()
finally
global::_003CModule_003E._0024AppExit()
GC.Collect()
GC.WaitForPendingFinalizers()
end try
2. Click on: global::_003CModule_003E._0024AppInit()
// <Module>
using IMap.Exe
using Softway_Common
using System
using System.Runtime.CompilerServices
using Vulcan.Runtime
using VulcanRTFuncs
[CompilerGenerated];
internal static method _0024AppInit() as void
try
State.AppModule := typeof(IMap.Exe.Functions):Module
State.CompilerOptionFOvf := false
State.CompilerOptionOvf := false
State.CompilerOptionVO11 := false
Softway_Common.Functions._0024Init1()
VulcanRTFuncs.Functions._0024Init1()
IMap.Exe.Functions._0024Init1()
catch innerException as Exception
throw Exception{"Error when executing code in Vulcan INIT procedure(s)", innerException}
end try
3. Softway_Common.Functions._0024Init1():
// Softway_Common.Functions
using System.Runtime.CompilerServices
[CompilerGenerated];
public static method _0024Init1() as void
4. VulcanRTFuncs.Functions._0024Init1():
// VulcanRTFuncs.Functions
public static method _0024Init1() as void
InitSettings()
5. IMap.Exe.Functions._0024Init1():
// IMap.Exe.Functions
using System.Runtime.CompilerServices
[CompilerGenerated];
internal static method _0024Init1() as void
I think all calls of:
global::_003CModule_003E._0024AppInit()
are here. I cannot see something of my code.
George