Click here to Skip to main content
15,917,940 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionActiveX returning custom types from methods?? Pin
jhinze23-Feb-07 10:13
jhinze23-Feb-07 10:13 
QuestionReferences vs. Pointers Pin
Yonggoo23-Feb-07 9:15
Yonggoo23-Feb-07 9:15 
AnswerRe: References vs. Pointers Pin
Joe Woodbury23-Feb-07 9:32
professionalJoe Woodbury23-Feb-07 9:32 
GeneralRe: References vs. Pointers Pin
Yonggoo23-Feb-07 9:46
Yonggoo23-Feb-07 9:46 
GeneralRe: References vs. Pointers Pin
David Crow23-Feb-07 10:28
David Crow23-Feb-07 10:28 
GeneralRe: References vs. Pointers Pin
Joe Woodbury23-Feb-07 10:34
professionalJoe Woodbury23-Feb-07 10:34 
GeneralRe: References vs. Pointers Pin
Jörgen Sigvardsson23-Feb-07 11:35
Jörgen Sigvardsson23-Feb-07 11:35 
GeneralRe: References vs. Pointers Pin
PJ Arends23-Feb-07 12:54
professionalPJ Arends23-Feb-07 12:54 
GeneralRe: References vs. Pointers Pin
Jörgen Sigvardsson23-Feb-07 13:42
Jörgen Sigvardsson23-Feb-07 13:42 
AnswerRe: References vs. Pointers Pin
Mark Salsbery23-Feb-07 10:44
Mark Salsbery23-Feb-07 10:44 
QuestionStrange errors related to getline()... Pin
CoffeeAddict1923-Feb-07 9:12
CoffeeAddict1923-Feb-07 9:12 
AnswerRe: Strange errors related to getline()... Pin
Newbie0023-Feb-07 9:51
Newbie0023-Feb-07 9:51 
GeneralRe: Strange errors related to getline()... Pin
CoffeeAddict1923-Feb-07 9:55
CoffeeAddict1923-Feb-07 9:55 
QuestionRe: Strange errors related to getline()... Pin
Newbie0023-Feb-07 10:00
Newbie0023-Feb-07 10:00 
AnswerRe: Strange errors related to getline()... Pin
Newbie0023-Feb-07 10:18
Newbie0023-Feb-07 10:18 
GeneralRe: Strange errors related to getline()... Pin
CoffeeAddict1923-Feb-07 12:20
CoffeeAddict1923-Feb-07 12:20 
AnswerRe: Strange errors related to getline()... Pin
CoffeeAddict1923-Feb-07 10:42
CoffeeAddict1923-Feb-07 10:42 
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)

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.