[Mono-devel-list] Pb: kernel32.dll.so and Mono (Linux)

eric.lemoine at esial.uhp-nancy.fr eric.lemoine at esial.uhp-nancy.fr
Wed Apr 21 05:35:52 EDT 2004


 I tried a test program that uses a multimedia timer. It requires kernel32.dll 
and runs perfectly on MS.NET and Mono (Windows).
 To make it run on Linux, I have made a symbolic link: kernel32.dll -> 
kernel32.dll.so (Wine).
 But when I ran the test program, some errors occured with the dll...

 Does anyone have a solution?


 Eric Lemoine (eric.lemoine at esial.uhp-nancy.fr)

This is the complete log of the test:

# mono -v  HpTestLauncher.exe 1
Method (wrapper runtime-invoke) System.OutOfMemoryException:.ctor 
(object,intptr,intptr) emitted at 0x40afb000 to 0x40afb08f [HpTestLauncher.exe]
Method System.OutOfMemoryException:.ctor () emitted at 0x40afb090 to 
0x40afb0d0 [HpTestLauncher.exe]
Method Locale:GetText (string) emitted at 0x40afb0d8 to 0x40afb0e0 
Method System.SystemException:.ctor (string) emitted at 0x40afb0e8 to 
0x40afb10f [HpTestLauncher.exe]
Method System.Exception:.ctor (string) emitted at 0x40afb110 to 0x40afb171 
Method System.Object:.ctor () emitted at 0x40afb178 to 0x40afb17d 
Method System.MonoType:get_FullName () emitted at 0x40afb180 to 0x40afb19a 
Method System.Exception:set_HResult (int) emitted at 0x40afb1a0 to 0x40afb1ae 
Method (wrapper runtime-invoke) System.NullReferenceException:.ctor 
(object,intptr,intptr) emitted at 0x40afb1b0 to 0x40afb23f [HpTestLauncher.exe]
Method System.NullReferenceException:.ctor () emitted at 0x40afb240 to 
0x40afb280 [HpTestLauncher.exe]
Method (wrapper runtime-invoke) System.StackOverflowException:.ctor 
(object,intptr,intptr) emitted at 0x40afb288 to 0x40afb317 [HpTestLauncher.exe]
Method System.StackOverflowException:.ctor () emitted at 0x40afb318 to 
0x40afb346 [HpTestLauncher.exe]
Method (wrapper runtime-invoke) System.AppDomain:DoAssemblyLoad 
(object,intptr,intptr) emitted at 0x40afb348 to 0x40afb3e2 [HpTestLauncher.exe]
Method System.AppDomain:DoAssemblyLoad (System.Reflection.Assembly) emitted at 
0x40afb3e8 to 0x40afb458 [HpTestLauncher.exe]
Method System.MulticastDelegate:op_Equality 
(System.MulticastDelegate,System.MulticastDelegate) emitted at 0x40afb460 to 
0x40afb49e [HpTestLauncher.exe]
Method (wrapper runtime-invoke) HpTestLauncher.TestLauncher:Main 
(object,intptr,intptr) emitted at 0x40afb4a0 to 0x40afb531 [HpTestLauncher.exe]
Method HpTestLauncher.TestLauncher:Main (string[]) emitted at 0x40afb538 to 
0x40afb6b2 [HpTestLauncher.exe]
Method System.Convert:ToInt32 (string) emitted at 0x40afb6b8 to 0x40afb6e5 
Method (wrapper runtime-invoke) System.Convert:.cctor (object,intptr,intptr) 
emitted at 0x40afb6e8 to 0x40afb768 [HpTestLauncher.exe]
Method (wrapper runtime-invoke) System.DBNull:.cctor (object,intptr,intptr) 
emitted at 0x40afb770 to 0x40afb7f0 [HpTestLauncher.exe]
Method System.DBNull:.cctor () emitted at 0x40afb7f8 to 0x40afb82d 
Method System.DBNull:.ctor () emitted at 0x40afb830 to 0x40afb840 
Method System.Convert:.cctor () emitted at 0x40afb848 to 0x40afb9f2 
Method System.Int32:Parse (string) emitted at 0x40afb9f8 to 0x40afbd6a 
Method (wrapper runtime-invoke) System.Char:.cctor (object,intptr,intptr) 
emitted at 0x40afbd70 to 0x40afbdf0 [HpTestLauncher.exe]
Method System.Char:.cctor () emitted at 0x40afbdf8 to 0x40afbe28 
Method (wrapper managed-to-native) System.Char:GetDataTablePointers 
(byte*&,byte*&,double*&,uint16*&,uint16*&,uint16*&,uint16*&) emitted at 
0x40afbe30 to 0x40afbe76 [HpTestLauncher.exe]
Method System.Char:IsWhiteSpace (char) emitted at 0x40afbe78 to 0x40afbf40 
Method HpTestLauncher.TestArithm:.ctor () emitted at 0x40afbf80 to 0x40afbf90 
Method HpTestLauncher.HiPerfTimer:.ctor () emitted at 0x40afbf98 to 0x40afc00e 
Method (wrapper managed-to-native) 
HpTestLauncher.HiPerfTimer:QueryPerformanceFrequency (long&) emitted at 
0x40afc010 to 0x40afc06c [HpTestLauncher.exe]

More information about the Mono-devel-list mailing list