BroadcastSystemMessage Problem in Win95
I encountered a problem when using BroadcastSystemMessage in my program on Win95 using VC++ 5.0. The error encountered was "Link to missing export USER32.DLL:BroadcastMessageA."
It worked well if I use VC4.1. Can anyone help me to solve this problem because I have to use VC5.0.
nha
Re: BroadcastSystemMessage Problem in Win95
There's a knowledge base article on this one at Microsoft, http://support.microsoft.com, number
Q182809.
It's a problem with the way functions names are adjusted for UNICODE support.
Their suggestion is that you put this in the file where you use BroadcastSystemMessage:
#include <windows.h>
#ifdef BroadcastSystemMessage
#undef BroadcastSystemMessage
#define BroadcastSystemMessage BroadcastSystemMessage
#endif
Cheers,
Roger