mdrubin / ironclad

Automatically exported from code.google.com/p/ironclad
Other
0 stars 0 forks source link

Win32-specific code #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
These functions definitely need to work, or to be mapped to equivalents:

kernel32.LoadLibrary
kernel32.FreeLibrary
kernel32.GetProcAddress
msvcr71._fdopen
msvcr71._open_osfhandle
msvcr71.fclose

These functions will be necessary if we get weird STA/MTA locking problems 
under Mono:

kernel32.CreateMutex
kernel32.WaitForSingleObject
kernel32.ReleaseMutex
kernel32.CloseHandle

These functions would be nice to have, for tests and/or convenience, even if 
they're not actually 
critical:

kernel32.GetModuleHandle
kernel32.GetlastError
kernel32.DebugBreak
msvcr71.memcpy

Original issue reported on code.google.com by fwere...@gmail.com on 3 Feb 2009 at 9:50

GoogleCodeExporter commented 8 years ago
I am attempting to build Ironclad on Ubuntu 10.04 and Mono 2.4.4. I've made 
some 
modifications to Unmanaged.cs that maps [some] of the Win32 P/Invokes to 
similar POSIX 
calls. I have yet to successfully build Ironclad on Linux, but this might be a 
step in 
that direction.

- Jonathan

Original comment by jben...@gmail.com on 21 Mar 2010 at 4:09

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you; that's very helpful. I'm hoping to find the time to do another burst 
of
work on Ironclad soon, and I'll look through this in more detail then.

Original comment by fwere...@gmail.com on 23 Mar 2010 at 4:30