[Mono-list] kernel32.dll.so problem

eric.lemoine@esial.uhp-nancy.fr eric.lemoine@esial.uhp-nancy.fr
Fri, 23 Apr 2004 09:34:33 +0200


 Hi,

 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?

 Thanks.

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


This is the complete log of the test (take a look at the end)

# 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 
[HpTestLauncher.exe]
Method System.SystemException:.ctor (string) emitted at 0x40afb0e8 to 
0x40afb10f [HpTestLauncher.exe]
Method System.Exception:.ctor (string) emitted at 0x40afb110 to 0x40afb171 
[HpTestLauncher.exe]
Method System.Object:.ctor () emitted at 0x40afb178 to 0x40afb17d 
[HpTestLauncher.exe]
Method System.MonoType:get_FullName () emitted at 0x40afb180 to 0x40afb19a 
[HpTestLauncher.exe]
Method System.Exception:set_HResult (int) emitted at 0x40afb1a0 to 0x40afb1ae 
[HpTestLauncher.exe]
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 
[HpTestLauncher.exe]
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 
[HpTestLauncher.exe]
Method System.DBNull:.ctor () emitted at 0x40afb830 to 0x40afb840 
[HpTestLauncher.exe]
Method System.Convert:.cctor () emitted at 0x40afb848 to 0x40afb9f2 
[HpTestLauncher.exe]
Method System.Int32:Parse (string) emitted at 0x40afb9f8 to 0x40afbd6a 
[HpTestLauncher.exe]
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 
[HpTestLauncher.exe]
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 
[HpTestLauncher.exe]
Method HpTestLauncher.TestArithm:.ctor () emitted at 0x40afbf80 to 0x40afbf90 
[HpTestLauncher.exe]
Method HpTestLauncher.HiPerfTimer:.ctor () emitted at 0x40afbf98 to 0x40afc00e 
[HpTestLauncher.exe]
Method (wrapper managed-to-native) 
HpTestLauncher.HiPerfTimer:QueryPerformanceFrequency (long&) emitted at 
0x40afc010 to 0x40afc06c [HpTestLauncher.exe]
Killed