关于WIN2000下屏保的制作
小弟参阅了此帖http://expert.csdn.net/Expert/topic/2815/2815331.xml?temp=.9703333可是源代码在VS.NET下编译总是通不过
提示有无法解析的外部符号。
而且有一堆警告:“对目标平台不支持”。
查阅MSDN发现ScreenSaverProc、ScreenSaverConfigureDialog、RegisterDialogClasses这些函数支持的平台只有Windows NT 3.1,和Windows 95
如此说来也就不能用于WIN2000了。可是要如何才能制作2000下的屏保呢?

解决方案 »

  1.   

    I tried this with Visual Studio 6.0 and Windows XP professional+SP1, pass.
    I think it should be ok on Windows 2000 and VS6.0;
    But I didn't do any test about VS2003.net; I don't know if it works; anyway, they're different platforms, right?
    You could leave a e-mail address here, I can send you the sample for reference...
      

  2.   

    Thank you very much!
    E_mail:[email protected]
      

  3.   

    Already sent it to you, please check.
      

  4.   

    zhangcrony(为了不再郁闷地生活﹐我不得不郁闷地工作) :
    你给的源代码在VS.NET下无法通过。e:\myprogramm\simplescr\SimpleScr.cpp(49): error C3861: “DefScreenSaverProc”: 即使使用参数相关的查找,也未找到标识符
    ~-~
      

  5.   

    加入
    #include <acrnsave.h>
    后出现
    SimpleScr error LNK2019: 无法解析的外部符号 __imp__InitCommonControlsEx@4 ,该符号在函数 _WinMainN@16 中被引用
    SimpleScr fatal error LNK1120: 1 个无法解析的外部命令
    郁闷~~~
      

  6.   

    ****Refer to what I have said:I tried this with Visual Studio 6.0 and Windows XP professional+SP1, pass.
    I think it should be ok on Windows 2000 and VS6.0;
    But I didn't do any test about VS2003.net; I don't know if it works; anyway, they're different platforms, right?
    You could leave a e-mail address here, I can send you the sample for reference...
      

  7.   

    I didn't do any test about VS2003.net; I don't know if it works; anyway, they're different platforms, right?
      

  8.   

    Don't cry...Refer to this sample please...Could be helpful to you...So, just stop crying... and keep studying the issue...hoho :)
      

  9.   

    http://www.codeproject.com/useritems/dotnetscr/dotnetscr.zip
      

  10.   

    It's written by a Idian programmer, whose name is Rakesh Rajan
      

  11.   

    but It's written by c#.........
    :-<