同上,最好能给我个例子,谢谢!

解决方案 »

  1.   

    奇怪,它不是附带了3个MFC程序的例子SDI、MDI、DLG参考这三个例子就行
      

  2.   

    你要是没有,留下你的邮箱。上面三个例子是SkinMagic自带的例子,比较权威^_^
      

  3.   

    我刚下载了一个,不是说是SDK的吗?
      

  4.   

    2003.3.1 SkinMagic SDK V1.0 released!
    Bug Fixed:1,SkinMagic SDK
      *Fix Radio button flicker problem
      *Fix Check button flicker problem
      *Fix Menu paint problem under MDI window
      *Fix Rebar problem
      *Fix menu scroll problem
      *Fix flicker problem when change skin.
      +Add automatic adjust control position by skin
      +Add font property to all control
      
    2,SkinMagicBuilder
      +Add Zoom tool
      +Add Visual Object Editor
      +Add WYSWYG skin control edit.
      +Add SkinMagicEditor use guide.
      +Add more you can find in program.http://www.appspeed.com
      

  5.   

    为什么它自带的例子可以编译运行,而我生成一个新应用程序照着他做的一样做,编译没错,可是运行到VERIFY(1==SetWindowSkin(m_pMainWnd->m_hWnd,"MainFrame"));到这时,却说内存引用错,不能为read,这是为何呀?
      

  6.   

    通过比较后发现,SkinMagic中的DialogDemo共有四处修改(其他几个也是如此)
    1.stdafx.h  中加入“SkinMagicLib.h”
    2.DialogDemo.h中加入“virtual int ExitInstance();”
    3.DialogDemo.cpp中加入
             VERIFY( 1 == InitSkinMagicLib( AfxGetInstanceHandle(), "Demo" , 
      NULL,
      NULL ) ); VERIFY( 1 == LoadSkinFile("corona.smf") ); 
    SetDialogSkin("Dialog");
    4.DialogDemo.cpp中加入 “ExitSkinMagicLib();”
    我根据上面的例子写了一个helloworld,Compile通过,但Build出现如下错误--------------------Configuration: HelloWorld - Win32 Debug--------------------
    Linking...
    HelloWorld.obj : error LNK2001: unresolved external symbol "int __stdcall SetDialogSkin(char *)" (?SetDialogSkin@@YGHPAD@Z)
    HelloWorld.obj : error LNK2001: unresolved external symbol "int __stdcall LoadSkinFile(char *)" (?LoadSkinFile@@YGHPAD@Z)
    HelloWorld.obj : error LNK2001: unresolved external symbol "int __stdcall InitSkinMagicLib(struct HINSTANCE__ *,char *,char *,char *)" (?InitSkinMagicLib@@YGHPAUHINSTANCE__@@PAD11@Z)
    HelloWorld.obj : error LNK2001: unresolved external symbol "void __stdcall ExitSkinMagicLib(void)" (?ExitSkinMagicLib@@YGXXZ)
    Debug/HelloWorld.exe : fatal error LNK1120: 4 unresolved externals
    Error executing link.exe.HelloWorld.exe - 5 error(s), 0 warning(s)请指出我的可能的错误所在!