🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.vcl.components.using.dotnet
1 messages
1 total messages Started by Tao Lei Sun, 01 Apr 2007 04:12
How to handle this exeption (running on Mono)
#230
Author: Tao Lei
Date: Sun, 01 Apr 2007 04:12
17 lines
1962 bytes
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 ---
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads