flat assembler
Message board for the users of flat assembler.

Index > Windows > Something for mIRC users

Author
Thread Post new topic Reply to topic
aaro



Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro
Little dll that shows messages in appbar when mIRC ain't on top.
Includes dll, sources and mIRC scripts
Copy mIRCbar.dll and mIRCbar.mrc in your mIRC folder, start mIRC, type /load -rs mircbar.mrc and /barautoon
Comments pls

[edit]
Attachment deleted
[/edit]


Last edited by aaro on 18 May 2004, 12:18; edited 5 times in total
Post 05 Oct 2003, 18:15
View user's profile Send private message Reply with quote
DeathfireD



Joined: 21 Oct 2003
Posts: 6
DeathfireD
mmm ya Im getting errors trying to decompress your ace file.

_________________
MenuetOS is cool
Post 22 Oct 2003, 01:02
View user's profile Send private message Visit poster's website Reply with quote
aaro



Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro
Try to download again changed format to zip
Post 23 Oct 2003, 12:59
View user's profile Send private message Reply with quote
DeathfireD



Joined: 21 Oct 2003
Posts: 6
DeathfireD
Thanks works great nice work got any more dlls or add-ons would like to see them. Ill add myn up later.

_________________
MenuetOS is cool
Post 23 Oct 2003, 18:49
View user's profile Send private message Visit poster's website Reply with quote
aaro



Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro
No that's the only one.. But if anyone have any good ideas what to do next i can try to make it
Post 24 Oct 2003, 08:55
View user's profile Send private message Reply with quote
Rookie



Joined: 21 Aug 2003
Posts: 44
Location: Planet Romania
Rookie
I'm not a regular user of IRC (I preffer IMs), but for the few times I use mIRC in the last month, your dll came in quite handy, and today I decided to make some modifications, hope you don't mind. Here's what I ended up with.


Description:
Download
Filename: mIRCmwin.zip
Filesize: 3.88 KB
Downloaded: 263 Time(s)


_________________
This is who I choose to be.


Last edited by Rookie on 25 Nov 2003, 19:54; edited 2 times in total
Post 02 Nov 2003, 19:25
View user's profile Send private message Reply with quote
aaro



Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro
I tried to use your add-on but it crashed my mIRC.
Using w2000 sp4 and mIRC 6.12. Hope you get it working
Post 03 Nov 2003, 11:09
View user's profile Send private message Reply with quote
Rookie



Joined: 21 Aug 2003
Posts: 44
Location: Planet Romania
Rookie
I am using Win98SE and mIRC 6.12 and it works fine. What I think crashes your system is the functions imported (Win2K+ has native Unicode, and I didn't use it). All you have to do is change the A (Ansi) suffix of the functions to W (Wide), and it should work fine after that.

_________________
This is who I choose to be.
Post 05 Nov 2003, 14:45
View user's profile Send private message Reply with quote
aaro



Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro
I'm using ansi all the time so can't be that(never even tried unicode), i'll se if i have some time to find out what's wrong
Post 08 Nov 2003, 12:32
View user's profile Send private message Reply with quote
Rookie



Joined: 21 Aug 2003
Posts: 44
Location: Planet Romania
Rookie
I'd appreciate that, as I have no way of further testing. Most of my colleagues use W98SE, and the ones that use 2K or XP are not connected to the Internet (you wouldn't believe the prices here, but that's another story); we do have sp4-ed Win2k at school, but mIRC is on the black list of apps that are not allowed, so... But I still think that the import section is to blame - maybe lstrcatA or lstrlenA are not located in kernel32.dll anymore - it's kind of obvious that I'm talking blindly here, so I think I'd better shut up know Embarassed .

_________________
This is who I choose to be.
Post 08 Nov 2003, 21:08
View user's profile Send private message Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv
I see 2 possible reason

1. Too many parameter passed. Resulted in imbalanced stack and wrong value of ebx,esi and edi. Common with fasm, but not masm.

2. Something screwed up with LocalAlloc. I tend to prefer HeapAlloc. msdn says that LocalAlloc is outdated..
Post 09 Nov 2003, 05:10
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
aaro



Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro
Found bug in your WM_CREATE
Code:
invoke  GetClientRect,[hWnd],[_client]
;Should be:
invoke  GetClientRect,[hWnd],_client
    

Now it's working, please update your attachment with corrected source and dll.
Btw. you don't have to push/pop esi, edi, and ebx in your WndProc because your not using them
Post 10 Nov 2003, 17:16
View user's profile Send private message Reply with quote
Rookie



Joined: 21 Aug 2003
Posts: 44
Location: Planet Romania
Rookie
Thanks for the fix, as it would have taken me ages to spot this bug (I always seem to mix pointers up with their values). I also included roticv's tip, as I like to keep everybody happy. To the best of my knownledge, LocalAlloc(...) was short for HeapAlloc(GetProcessHeap(),0,...). It doesn't surprise me at all that MSDN says it deprecated - I use a deprecated OS (Win98SE). Anyways, I updated the attachment for those who are interested in it.

The reason I push/pop esi, edi, and ebx although I don't use them is that I like to be on the safe side (when I wrote my own version of GetMainArgs I forgot to push the regs - lost track of the system crashes this led to - thank God for the Blue Screen, something Win2k+ users pray to never see).

_________________
This is who I choose to be.
Post 25 Nov 2003, 20:01
View user's profile Send private message Reply with quote
aaro



Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro
I have uploaded new version of mIRCbar on the top. Now it should work correctly with fullscreen applications.
[Edit] Fixed bug! UnloadDll was missing from dll/sources [/Edit]
Post 27 Nov 2003, 02:00
View user's profile Send private message Reply with quote
Rookie



Joined: 21 Aug 2003
Posts: 44
Location: Planet Romania
Rookie
Fun proggie... Didn't analyze the original source a lot, so I failed to notice the fix... Oh well... One suggestion, though: Why not replace the bar with a window? This was the reason I made my modifications, because I am an Auto-Hide Toolbar maniac (I use them a lot, on all 3 edges of the screen - excluding the one Windows has) - I like to keep my desktop clean, but unfortunately, when I look at the clock, switch tasks, try to Start/Programs/... or whatever the bar is kind of useless. And moving it to another edge doesn't help much, for the same reasons...
Anyway, very nice proggie...

_________________
This is who I choose to be.
Post 10 Dec 2003, 07:16
View user's profile Send private message Reply with quote
aaro



Joined: 21 Jun 2003
Posts: 107
Location: hel.fi
aaro
Rookie: In original version dll wasn't loaded all the time so it didn't catch ABN_FULLSCREENAPP messages. Btw. in the newest release you can set message hide delay and number of message lines it will show, so you can configure it no to clutter your desktop too mutch. For the newest version: http://www.mirc.net/projects.php?go=1071560305&get_desc=1
Post 21 Dec 2003, 18:08
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.