1> D: \ vs2008 data packet \ printfs \ printfs \ printview CPP (32) : error C2440: "static_cast" : from "void (__thiscall CPrintView: : *) (CPrintInfo CDC *, *)" into "LRESULT (__thiscall CWnd: : *) (WPARAM, LPARAM)"
1> Within the scope of the matching target type not with this name function
1> D: \ vs2008 data packet \ printfs \ printfs \ printview CPP (33) : error C2440: "static_cast" : from "void (__thiscall CPrintView: : *) (CPrintInfo CDC *, *)" into "LRESULT (__thiscall CWnd: : *) (WPARAM, LPARAM)"
1> Within the scope of the matching target type not with this name function
1> D: \ vs2008 data packet \ printfs \ printfs \ printview CPP (34) : error C2440: "static_cast" : from "void (__thiscall CPrintView: : *) (void)" into "LRESULT (__thiscall CWnd: : *) (WPARAM, LPARAM)"
1> Within the scope of the matching target type not with this name function
1> D: \ vs2008 data packet \ printfs \ printfs \ printview CPP (121) : error C2511: "LRESULT CPrintView: : OnMyPrint (WPARAM, LPARAM)" : "CPrintView" is not found in overloaded member function
1> D: \ vs2008 data packet \ printfs \ printfs \ printview h (5) : see "CPrintView statement
"
I am using http://blog.csdn.net/fuyanzhi1234/article/details/6732038 reference
CodePudding user response:
This code is flawed,Change "use MFC in a static library" to "in a Shared DLL using MFC",
CodePudding user response:
Back upstairs but I use is "in a Shared DLL using MFC"