mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 3
R
redace Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Dec 2002
Posts: 3
I have coded a mirc .dll file that uses SendMessage to talk with mirc. It runs perfectly on my windows XP machine. I have had others test it and it worked on windows NT, but windows 95, 98, and ME users have problems with it. I've done some research, and the problem seems to be with the way windows 95, 98 and ME pass messages with SendMessage. They seem to use a different character set (ie, they don't use true UNICODE). Is there an easy or common fix for this? I have tried using the recommended API from microsoft, but it doesn't seem to have any effect. Surely it can't be this complicated frown

Any help or suggestions are appreciated.
Andrew

Joined: Dec 2002
Posts: 89
N
Babel fish
Offline
Babel fish
N
Joined: Dec 2002
Posts: 89
You won't have any problems like that if you compile your program with the UNICODE symbol NOT defined.

In this case, the SendMessage macro will be parsed into SendMessageA, equally supported by both Windows 95 and NT. If you make a Unicode build, SendMessage gets translated into SendMessageW, which may be the cause of your problems.

Windows 95/98/ME do not support true Unicode.


Sincerely,
Necroman, #mIRC @ Undernet
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Umm why would you be using Unicode anyway? mIRC doesn't support Unicode.


Link Copied to Clipboard