C# and DLL , Please give little help :) - 12/11/04 05:04 PM
Hi
Recently, I've been trying to make some kind of shitlist with an dll that check over a MDB (Access) database. Actually, the DLL is working fine for being benchmarking into a "test" application that did emulate hundred of call by couples of second. there is 3 basic method in it : checkban, addban, checkbanchannel.
Now that is my situation :
Im using a Windows XP Professional, p4 2.4 512k , well enough good computer I think. I had some example of a little dll using regasm.exe for supporting COM Object with my dll, (which I had been familiar over pass for being supporting vb6). But the little problem is over the stability... my mIRC crash hardcore on me , I'm actually using $comcall for multithreading and this is not getting me better result. (Since much poeple can join at time, I need it multi-threaded). This idea would be to use a ODBC connector that I make in C# to be able to query over MySQL and then if offline, over the cache in MDB.
My question is :
I heard that C# dll for mIRC can be done in two way. COM and the others one. Is that true ? How it called and finnaly, could some1 just give me a little template of a simple method/class with this other method.
It would be very instructive and appreciated
Recently, I've been trying to make some kind of shitlist with an dll that check over a MDB (Access) database. Actually, the DLL is working fine for being benchmarking into a "test" application that did emulate hundred of call by couples of second. there is 3 basic method in it : checkban, addban, checkbanchannel.
Now that is my situation :
Im using a Windows XP Professional, p4 2.4 512k , well enough good computer I think. I had some example of a little dll using regasm.exe for supporting COM Object with my dll, (which I had been familiar over pass for being supporting vb6). But the little problem is over the stability... my mIRC crash hardcore on me , I'm actually using $comcall for multithreading and this is not getting me better result. (Since much poeple can join at time, I need it multi-threaded). This idea would be to use a ODBC connector that I make in C# to be able to query over MySQL and then if offline, over the cache in MDB.
My question is :
I heard that C# dll for mIRC can be done in two way. COM and the others one. Is that true ? How it called and finnaly, could some1 just give me a little template of a simple method/class with this other method.
It would be very instructive and appreciated