Results 245 comments of Esme

Stubbing NetworkChange, it runs into problems with the startup process for the WindowsFormsApplicationBase class. We may be able to import both of those from .NET core and/or referencesource. Unfortunately, once...

Imported NetworkChange from corefx on the master branch: https://github.com/madewokherd/mono/commit/46e7ab36aed68db5e16a58d5bdce93fe890984fa The GUI now comes up and appears to function, except that it's not able to render anything except a solid black...

The GUI is drawn by twitchui.exe which doesn't load mscoree at all. This leads me to believe the remaining problem is not caused by wine-mono, but I could be wrong.

Would you be able to test a patch? My guess from the stack trace is that the thread was created by unmanaged code, so Mono doesn't know its apartment state....

In theory, we should implement regasm and use that, since windows programs may also need this functionality.

Wine's oleview utility may also be useful for comparing our typelibs to those generated by native.

Sorry, what we actually want is tlbexp, not regasm.

OK, turns out there's a .NET API that looks the same as tlbexp: http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.itypelibconverter.convertassemblytotypelib%28v=vs.110%29.aspx There's also a method in Marshal that gets a typeinfo from a Type: http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.getitypeinfofortype%28v=vs.110%29.aspx I would...

Note the conversion rules are documented here: http://msdn.microsoft.com/en-us/library/xk1120c3(v=vs.110).aspx