http://img.my.csdn.net/uploads/201210/29/1351496020_4994.jpg.thumb.jpg我是用SDK写的,要是MFC的我看不懂,我是新手,尽量引用“圣经”上的代码,我打算花大量的精力来啃掉这个“大怪物”我的问题是如何在记事本底部的边框上显示文字和时间,或者图片?(貌似论坛上没法直接上传图片啊,真有点郁闷……)

解决方案 »

  1.   

    谢谢啊,上面的问题被我解决了。我想问一下《Windows程序设计》第十一章里面的那个记事本源码是怎么编译的啊,我老是编译不通过,不知为何?有一个是poppad主程序,另外还有几个函数文件,不知是如何将它们连接的?  
      

  2.   

    最好上错误码看看。因为有些时候比较老的代码调用库,新版的VS不兼容。《Windows程序设计》很多代码编译不通,因为历史好悠久了。
      

  3.   

    我想问一下《Windows程序设计》第十一章里面的那个记事本源码是怎么编译的啊,我老是编译不通过,不知为何?有一个是poppad主程序,另外还有几个函数文件,不知是如何将它们连接的?我是用vc.6编译的,我是在工程:添加文件到工程,然后加入源文件包括resource.h头文件,接着运行,但是没有通过。
    代码如下:
    错误结果:
    --------------------Configuration: QQ - Win32 Debug--------------------
    Compiling...
    QQ.CPP
    PopPrnt0.c
    PopFile.c
    PopFind.c
    PopFont.c
    Linking...
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFindReplaceText(struct HWND__ *,int *,struct tagFINDREPLACEA *)" (?PopFindReplaceText@@YAHPAUHWND__@@PAHPAUtagFINDREPLACEA@@@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFindFindText(struct HWND__ *,int *,struct tagFINDREPLACEA *)" (?PopFindFindText@@YAHPAUHWND__@@PAHPAUtagFINDREPLACEA@@@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "void __cdecl PopFontDeinitialize(void)" (?PopFontDeinitialize@@YAXXZ)
    QQ.OBJ : error LNK2001: unresolved external symbol "void __cdecl PopFontSetFont(struct HWND__ *)" (?PopFontSetFont@@YAXPAUHWND__@@@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFontChooseFont(struct HWND__ *)" (?PopFontChooseFont@@YAHPAUHWND__@@@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "struct HWND__ * __cdecl PopFindReplaceDlg(struct HWND__ *)" (?PopFindReplaceDlg@@YAPAUHWND__@@PAU1@@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFindNextText(struct HWND__ *,int *)" (?PopFindNextText@@YAHPAUHWND__@@PAH@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFindValidFind(void)" (?PopFindValidFind@@YAHXZ)
    QQ.OBJ : error LNK2001: unresolved external symbol "struct HWND__ * __cdecl PopFindFindDlg(struct HWND__ *)" (?PopFindFindDlg@@YAPAUHWND__@@PAU1@@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopPrntPrintFile(struct HINSTANCE__ *,struct HWND__ *,struct HWND__ *,char *)" (?PopPrntPrintFile@@YAHPAUHINSTANCE__@@PAUHWND__@@1PAD@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFileSaveDlg(struct HWND__ *,char *,char *)" (?PopFileSaveDlg@@YAHPAUHWND__@@PAD1@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFileWrite(struct HWND__ *,char *)" (?PopFileWrite@@YAHPAUHWND__@@PAD@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFileRead(struct HWND__ *,char *)" (?PopFileRead@@YAHPAUHWND__@@PAD@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFileOpenDlg(struct HWND__ *,char *,char *)" (?PopFileOpenDlg@@YAHPAUHWND__@@PAD1@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "void __cdecl PopFontInitialize(struct HWND__ *)" (?PopFontInitialize@@YAXPAUHWND__@@@Z)
    QQ.OBJ : error LNK2001: unresolved external symbol "void __cdecl PopFileInitialize(struct HWND__ *)" (?PopFileInitialize@@YAXPAUHWND__@@@Z)
    Debug/QQ.exe : fatal error LNK1120: 16 unresolved externals
    执行 link.exe 时出错.QQ.exe - 1 error(s), 0 warning(s)
      

  4.   

    “QQ.OBJ : error LNK2001: unresolved external symbol "int __cdecl PopFindReplaceText”
    缺文件吧
    你搜索“PopFindReplaceText”看看在那个文件中。