MSNLD / mono-chat-client

The official desktop client of Mono.Chat
1 stars 0 forks source link

Employ DLL Surrogate #3

Open realJoshByrnes opened 7 months ago

realJoshByrnes commented 7 months ago

We can employ DllHost as a DLL Surrogate. It's also possible to create our own surrogate executable, but the effort vs reward suggests it may be better to employ DllHost.

Suggested to run the main executable in a 64 bit environment (where available), and then create our own dll (which will run in the 32 bit environment via a surrogate). The DLL will call the AxMSNChat class and insert the chat control on the form.

realJoshByrnes commented 7 months ago

Marked as low priority - while it's a 'want', it is also far from a need. There's very little benefit to gain from this other than a native x64 build - which would still require x86 binaries.

If at some point Windows moves to pure x64, this won't work - and then we'll need to reconsider the options.