Click here to Skip to main content
15,889,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDialog Application Issue Pin
gunrunnerjohn23-Feb-07 8:25
gunrunnerjohn23-Feb-07 8:25 
QuestionRe: Dialog Application Issue Pin
David Crow23-Feb-07 8:48
David Crow23-Feb-07 8:48 
AnswerRe: Dialog Application Issue [modified] Pin
gunrunnerjohn23-Feb-07 14:01
gunrunnerjohn23-Feb-07 14:01 
GeneralRe: Dialog Application Issue Pin
gunrunnerjohn24-Feb-07 3:31
gunrunnerjohn24-Feb-07 3:31 
GeneralRe: Dialog Application Issue Pin
gunrunnerjohn24-Feb-07 6:01
gunrunnerjohn24-Feb-07 6:01 
QuestionC# com and c++ event sink Pin
ahojed23-Feb-07 7:14
ahojed23-Feb-07 7:14 
QuestionRecord Video From Birmap Control Pin
Newton.ge23-Feb-07 6:28
Newton.ge23-Feb-07 6:28 
QuestionProblem With Background Image Pin
Semion_N23-Feb-07 6:24
Semion_N23-Feb-07 6:24 
Hello,
I'm using the source from the THIS ARTICLE:
http://www.codeproject.com/dialog/cdialogsk.asp[^]
but when I run this code:
.h file:
http://pastebin.com/887372[^]
.cpp file:
http://pastebin.com/887377[^]

I'v got the following errors:
<br />
<br />
1>DOLPHIN_MFC.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall CDialogSK::~CDialogSK(void)" (__imp_??1CDialogSK@@UAE@XZ) referenced in function "public: virtual __thiscall CDOLPHIN_MFCDlg::~CDOLPHIN_MFCDlg(void)" (??1CDOLPHIN_MFCDlg@@UAE@XZ)<br />
1>DOLPHIN_MFCDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall CDialogSK::~CDialogSK(void)" (__imp_??1CDialogSK@@UAE@XZ)<br />
1>DOLPHIN_MFCDlg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CDialogSK::CDialogSK(unsigned int,class CWnd *)" (__imp_??0CDialogSK@@QAE@IPAVCWnd@@@Z) referenced in function "public: __thiscall CDOLPHIN_MFCDlg::CDOLPHIN_MFCDlg(class CWnd *)" (??0CDOLPHIN_MFCDlg@@QAE@PAVCWnd@@@Z)<br />
1>DOLPHIN_MFCDlg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall CDialogSK::DoDataExchange(class CDataExchange *)" (__imp_?DoDataExchange@CDialogSK@@MAEXPAVCDataExchange@@@Z) referenced in function "protected: virtual void __thiscall CDOLPHIN_MFCDlg::DoDataExchange(class CDataExchange *)" (?DoDataExchange@CDOLPHIN_MFCDlg@@MAEXPAVCDataExchange@@@Z)<br />
1>DOLPHIN_MFCDlg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: static struct AFX_MSGMAP const * __stdcall CDialogSK::GetThisMessageMap(void)" (__imp_?GetThisMessageMap@CDialogSK@@KGPBUAFX_MSGMAP@@XZ) referenced in function "protected: static struct AFX_MSGMAP const * __stdcall CDOLPHIN_MFCDlg::GetThisMessageMap(void)" (?GetThisMessageMap@CDOLPHIN_MFCDlg@@KGPBUAFX_MSGMAP@@XZ)<br />
1>DOLPHIN_MFCDlg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual int __thiscall CDialogSK::OnInitDialog(void)" (__imp_?OnInitDialog@CDialogSK@@MAEHXZ) referenced in function "protected: virtual int __thiscall CDOLPHIN_MFCDlg::OnInitDialog(void)" (?OnInitDialog@CDOLPHIN_MFCDlg@@MAEHXZ)<br />
1>C:\Documents and Settings\Semion Naidis\My Documents\Visual Studio 2005\Projects\DOLPHIN_MFC\Debug\DOLPHIN_MFC.exe : fatal error LNK1120: 5 unresolved externals<br />


Why, And how can I solve them?



***Another little ask-Do you know any classes with a button that looks like switchs with On And OFF?
You know this metal switch...

SnaidiS(Semion)

AnswerRe: Problem With Background Image Pin
Semion_N23-Feb-07 9:42
Semion_N23-Feb-07 9:42 
GeneralRe: Problem With Background Image Pin
Mark Salsbery23-Feb-07 12:48
Mark Salsbery23-Feb-07 12:48 
GeneralRe: Problem With Background Image Pin
Semion_N23-Feb-07 20:19
Semion_N23-Feb-07 20:19 
GeneralRe: Problem With Background Image Pin
Mark Salsbery24-Feb-07 6:30
Mark Salsbery24-Feb-07 6:30 
QuestionUpdate image Pin
VonHagNDaz23-Feb-07 5:33
VonHagNDaz23-Feb-07 5:33 
AnswerRe: Update image Pin
Chris Losinger23-Feb-07 5:54
professionalChris Losinger23-Feb-07 5:54 
GeneralRe: Update image Pin
VonHagNDaz23-Feb-07 5:57
VonHagNDaz23-Feb-07 5:57 
GeneralRe: Update image Pin
John R. Shaw23-Feb-07 17:32
John R. Shaw23-Feb-07 17:32 
QuestionViewing running threads Pin
Like2Byte23-Feb-07 5:10
Like2Byte23-Feb-07 5:10 
AnswerRe: Viewing running threads Pin
David Crow23-Feb-07 5:54
David Crow23-Feb-07 5:54 
QuestionCanonicalise [c14n] XML doc C++ Pin
Andy H23-Feb-07 4:07
Andy H23-Feb-07 4:07 
QuestionTo determine if vc project is using unicode char set or mutlibyte char set Pin
Mushtaque Nizamani23-Feb-07 3:23
Mushtaque Nizamani23-Feb-07 3:23 
AnswerRe: To determine if vc project is using unicode char set or mutlibyte char set Pin
Nibu babu thomas23-Feb-07 3:26
Nibu babu thomas23-Feb-07 3:26 
AnswerRe: To determine if vc project is using unicode char set or mutlibyte char set Pin
James R. Twine23-Feb-07 5:15
James R. Twine23-Feb-07 5:15 
QuestionWhy they are no Virtual Constructors. Pin
uday kiran janaswamy23-Feb-07 3:01
uday kiran janaswamy23-Feb-07 3:01 
AnswerRe: Why they are no Virtual Constructors. Pin
toxcct23-Feb-07 3:04
toxcct23-Feb-07 3:04 
AnswerRe: Why they are no Virtual Constructors. Pin
David Crow23-Feb-07 3:05
David Crow23-Feb-07 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.