CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    2

    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

  2. #2
    Join Date
    Apr 1999
    Posts
    48

    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




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured