Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Delete Tree Item Pin
_AnsHUMAN_ 22-Aug-08 21:47
_AnsHUMAN_ 22-Aug-08 21:47 
QuestionSHFullScreen() causes MessageBox dismissal to be slow (Pocket PC Windows Mobile 6) Pin
abupriabi@yahoo.com22-Aug-08 15:37
abupriabi@yahoo.com22-Aug-08 15:37 
QuestionFOF_WANTMAPPINGHANDLE Pin
Bram van Kampen22-Aug-08 15:26
Bram van Kampen22-Aug-08 15:26 
AnswerRe: FOF_WANTMAPPINGHANDLE Pin
Perspx23-Aug-08 0:00
Perspx23-Aug-08 0:00 
GeneralRe: FOF_WANTMAPPINGHANDLE Pin
Bram van Kampen27-Aug-08 14:42
Bram van Kampen27-Aug-08 14:42 
GeneralRe: FOF_WANTMAPPINGHANDLE Pin
Perspx27-Aug-08 14:49
Perspx27-Aug-08 14:49 
QuestionCFtpConnection::GetFile() fails after CInternetSession::OpenURL() Pin
greghint22-Aug-08 13:57
greghint22-Aug-08 13:57 
Question"Unresolved External" error in object declaration Pin
nimaalamtsaz22-Aug-08 10:28
nimaalamtsaz22-Aug-08 10:28 
I have wrote the AList class to implement List data structure. I'm using a template for its declaration. The problem is when I declare an object of this class (AList<int> alist;), it gives me these two errors:

1. error LNK2019: unresolved external symbol "public: __thiscall AList<int>::AList<int>(void)" (??0?$AList@H@@QAE@XZ) referenced in function _main

2. fatal error LNK1120: 1 unresolved externals

I've written this class in two separated files named "AList.h" and "AList.cpp". The interesting thing is when I remove templates from the class and replace it with something like int, it works fine. And also when I write this exact class in the file which my main function is there, again it works fine!

Thanks for any help
QuestionRe: "Unresolved External" error in object declaration Pin
David Crow22-Aug-08 10:49
David Crow22-Aug-08 10:49 
AnswerRe: "Unresolved External" error in object declaration Pin
nimaalamtsaz23-Aug-08 9:19
nimaalamtsaz23-Aug-08 9:19 
AnswerRe: "Unresolved External" error in object declaration Pin
Jijo.Raj22-Aug-08 10:53
Jijo.Raj22-Aug-08 10:53 
AnswerRe: "Unresolved External" error in object declaration Pin
nimaalamtsaz23-Aug-08 9:33
nimaalamtsaz23-Aug-08 9:33 
QuestionDoxygen? Pin
Hugh S. Myers22-Aug-08 9:37
Hugh S. Myers22-Aug-08 9:37 
QuestionTreeView question [modified] Pin
Dennis L22-Aug-08 6:33
Dennis L22-Aug-08 6:33 
AnswerRe: TreeView question Pin
Mark Salsbery22-Aug-08 6:51
Mark Salsbery22-Aug-08 6:51 
AnswerRe: TreeView question Pin
Hamid_RT22-Aug-08 6:52
Hamid_RT22-Aug-08 6:52 
GeneralRe: TreeView question Pin
Dennis L22-Aug-08 6:57
Dennis L22-Aug-08 6:57 
QuestionRe: TreeView question Pin
Mark Salsbery22-Aug-08 7:30
Mark Salsbery22-Aug-08 7:30 
AnswerRe: TreeView question Pin
led mike22-Aug-08 7:36
led mike22-Aug-08 7:36 
GeneralRe: TreeView question Pin
Mark Salsbery22-Aug-08 7:47
Mark Salsbery22-Aug-08 7:47 
GeneralRe: TreeView question Pin
led mike22-Aug-08 7:57
led mike22-Aug-08 7:57 
GeneralRe: TreeView question Pin
Mark Salsbery22-Aug-08 8:19
Mark Salsbery22-Aug-08 8:19 
GeneralRe: TreeView question Pin
Hamid_RT22-Aug-08 7:50
Hamid_RT22-Aug-08 7:50 
QuestionLoading Bmp, Png, Tga, Raw Pin
CrocodileBuck22-Aug-08 5:10
CrocodileBuck22-Aug-08 5:10 
GeneralRe: Loading Bmp, Png, Tga, Raw Pin
Perspx22-Aug-08 5:22
Perspx22-Aug-08 5:22 

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.