thanks alot david, I've sent you a private message, hopefully I can use your tsring library for parsing now.
also, about this unload function
extern "C" int WINAPI UnloadDll(int timeout) {
if ( timeout == 1 ) {
return 1;
}
else return 0;
}
so mIRC wil always call this function when unloading the dll, and instead, keep the dll loaded?
another thing, i download your dcx dll stuff from mircscipts.org, the source folder seems to be empty though, i'll talk to you online, maybe soon, thanks!!
i just tried it, and after i made a call to the dll, i did this
//echo -a $dll(0) which echos 2 (2 other dlls loaded with my script)
it should be 3, which means the dll is unloading :S
(I did also put UnloadDll in exports file)