[Bug 15796] Americas Army Deploy Client does not install

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 3 13:39:22 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=15796





--- Comment #5 from Vincent Povirk <madewokherd at gmail.com>  2010-08-03 13:39:22 ---
Had a conversation on #monodev about how to implement this, and I'm taking
notes here so I don't forget.

The string from the application can apparently be parsed using the
mono_reflection_parse_type function. This gives a MonoAssemblyName, a
namespace, and a type name. An AppDomain is also required; probably a "default"
AppDomain should be created/stored for the process. The AppDomain and
MonoAssemblyName can be converted to a MonoAssembly using mono_assembly_loaded
or mono_domain_assembly_open. From there, it's easy use of example code from
http://www.mono-project.com/Embedding_Mono#Creating_objects

Once the object is created, I have to query it for a COM interface, and I have
no idea how to do that.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list