Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to handle this exeption (running on Mono)

10 views
Skip to first unread message

Tao Lei

unread,
Apr 1, 2007, 12:12:25 AM4/1/07
to
Hello, I tried to create a very simple (the "Hello" level) VCL.NET application, and run it on Mono.
On the start of the application, the following exception rises, how to deal with it, please?

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for
Project1.Units.Project1 ---> System.TypeInitializationException: An exception was thrown by the type initializer for
Borland.Vcl.Units.SysUtils ---> System.EntryPointNotFoundException: GetVersionEx
at (wrapper managed-to-native) Borland.Vcl.Units.Windows:GetVersionEx (Borland.Vcl._OSVERSIONINFO&)
at Borland.Vcl.Units.SysUtils.InitPlatformId () [0x00000]
at Borland.Vcl.Units.SysUtils.Borland.Vcl.SysUtils () [0x00000]
at Borland.Vcl.Units.SysUtils..cctor () [0x00000]
--- End of inner exception stack trace ---

at <0x00000> <unknown method>
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (RuntimeTypeHandle type) [0x00000]
at Project1.Units.Project1..cctor () [0x00000]
--- End of inner exception stack trace ---


0 new messages