CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    1,488

    ChangeWindowMessageFilter could not be located in a screen saver

    Hi:


    I'm writing a screen saver to work under Windows XP/Vista/7. It seems to work fine under Vista/7 but on Windows XP it gives out an error that the entry point for ChangeWindowMessageFilter could not be located in USER32.dll. The thing is that I was not linking to that API and my only guess is that it came from ScrnSavw.lib that I'm linking to in order to make a screen saver.

    Can someone tell me how to make my project compatible with Windows XP?

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: ChangeWindowMessageFilter could not be located in a screen saver

    Get some previous screen saver SDK version compatible with XP?
    Implement your screen saver some other way, in C# for example?
    Get rid of the saver at all? Who needs one? For example, I have a habit to disable screensavers, always and unconditionally.
    Best regards,
    Igor

  3. #3
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    1,488

    Re: ChangeWindowMessageFilter could not be located in a screen saver

    Thanks, Igor. I did find this resolution yesterday, but unfortunately the latest version of the ScrnSavw.lib file I was able to get hold of is from VS 2003. If someone still has a copy of VS 2005, can you attach your version of that file (it's in the SDK folder: C:\Program Files (x86)\Microsoft SDKs\Windows)?

    PS. I'm not writing this screen saver for my own pleasure, it's a request from a client.

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: ChangeWindowMessageFilter could not be located in a screen saver

    Please never mind, 'twas just a joke.
    Best regards,
    Igor

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