How to bind Mirc to Visual Studio in C#?

156 Views Asked by At

I am working on a game in unity and it requires some kind of chat client. I have to bind mIRC to Visual Studio and Unity so I can begin the next phase, coding the client. I am having issues with finding a tutorial since this is kind of a complicated situation.

I chose mIRC so I don't have to reinvent the wheel completely with a chat client and it looks prettier than what I can do. I want to do this in C# since I am very familiar with this language. I tried searching the internet for tutorials on how to do so but none of them suit my needs.

At the end, I want to have a DLL ready so Visual Studio can communicate with Unity and mIRC.

1

There are 1 best solutions below

0
JD Byrnes On

Your question isn't 100% clear, is this what you mean?...

It sounds like you want to embed a mIRC window in your application...

The easiest way would be to get mIRC to load a DLL of yours, then use that interface to get the hwnd of a window via the mIRC $window alias (or similar).

Once you have that, you should be able to embed the window within your own app (and potentially hide the rest of mIRC) using Windows APIs.