Click here to Skip to main content
16,004,653 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Singleton using mutex for windows application (exe) Pin
ramana.g25-Sep-08 1:01
ramana.g25-Sep-08 1:01 
AnswerRe: Singleton using mutex for windows application (exe) Pin
KarstenK25-Sep-08 1:04
mveKarstenK25-Sep-08 1:04 
GeneralRe: Singleton using mutex for windows application (exe) Pin
santhoshv8425-Sep-08 1:17
santhoshv8425-Sep-08 1:17 
GeneralRe: Singleton using mutex for windows application (exe) Pin
KarstenK25-Sep-08 2:18
mveKarstenK25-Sep-08 2:18 
AnswerRe: Singleton using mutex for windows application (exe) Pin
Ali Tavakol25-Sep-08 2:54
Ali Tavakol25-Sep-08 2:54 
QuestionCalling a URL and POST Pin
Monty225-Sep-08 0:46
Monty225-Sep-08 0:46 
AnswerRe: Calling a URL and POST Pin
Rajesh R Subramanian25-Sep-08 1:23
professionalRajesh R Subramanian25-Sep-08 1:23 
QuestionLink error: LNK 2001 unresolved symbol Pin
PCuong198325-Sep-08 0:34
professionalPCuong198325-Sep-08 0:34 
Sorry all about pre-my post

Here is my source code: http://www.in4site.com/hms.txt

When i run compiler i got this error

Error 1 error LNK2001: unresolved external symbol "private: static class std::list > * Hotel::_rooms" (?_rooms@Hotel@@0PAV?$list@VRoom@@V?$allocator@VRoom@@@std@@@std@@A) HSM.obj
Error 2 fatal error LNK1120: 1 unresolved externals C:\Users\Google\Documents\Visual Studio 2005\Projects\HMSv10\Debug\HMSv10.exe

i have looked up LNK2001 error code on MSDN website but no solution for this situation. Can any1 help me solve it ?
but when i use vs 2005 to compile i got LNK2001 error, but when i use vs 2008 to compile , i got no error, this program run normally ?
i dont know why ? can any1 answer this ?
thanks in advance
AnswerRe: Link error: LNK 2001 unresolved symbol Pin
toxcct25-Sep-08 0:45
toxcct25-Sep-08 0:45 
GeneralRe: Link error: LNK 2001 unresolved symbol Pin
PCuong198325-Sep-08 6:28
professionalPCuong198325-Sep-08 6:28 
AnswerRe: Link error: LNK 2001 unresolved symbol Pin
Cedric Moonen25-Sep-08 1:01
Cedric Moonen25-Sep-08 1:01 
GeneralRe: Link error: LNK 2001 unresolved symbol Pin
PCuong198325-Sep-08 6:53
professionalPCuong198325-Sep-08 6:53 
QuestionShow a button in pressed state using CMFCToolbar Pin
Farhat Aisha24-Sep-08 23:56
Farhat Aisha24-Sep-08 23:56 
AnswerRe: Show a button in pressed state using CMFCToolbar Pin
Redeye9225-Sep-08 1:57
Redeye9225-Sep-08 1:57 
GeneralRe: Show a button in pressed state using CMFCToolbar Pin
_Marina_2-Dec-09 2:53
_Marina_2-Dec-09 2:53 
GeneralRe: Show a button in pressed state using CMFCToolbar Pin
Redeye922-Dec-09 3:17
Redeye922-Dec-09 3:17 
GeneralRe: Show a button in pressed state using CMFCToolbar Pin
_Marina_2-Dec-09 3:32
_Marina_2-Dec-09 3:32 
QuestionLink error: LNK2001 Fatal error Pin
PCuong198324-Sep-08 23:43
professionalPCuong198324-Sep-08 23:43 
AnswerRe: Link error: LNK2001 Fatal error Pin
Rajesh R Subramanian24-Sep-08 23:46
professionalRajesh R Subramanian24-Sep-08 23:46 
AnswerRe: Link error: LNK2001 Fatal error Pin
Cedric Moonen24-Sep-08 23:49
Cedric Moonen24-Sep-08 23:49 
AnswerRe: Link error: LNK2001 Fatal error Pin
toxcct25-Sep-08 0:05
toxcct25-Sep-08 0:05 
GeneralRe: Link error: LNK2001 Fatal error Pin
Rajesh R Subramanian25-Sep-08 0:25
professionalRajesh R Subramanian25-Sep-08 0:25 
QuestionFunctions in C Structure Pin
msr_codeproject24-Sep-08 23:38
msr_codeproject24-Sep-08 23:38 
AnswerRe: Functions in C Structure Pin
toxcct24-Sep-08 23:46
toxcct24-Sep-08 23:46 
AnswerRe: Functions in C Structure Pin
CPallini25-Sep-08 1:57
mveCPallini25-Sep-08 1:57 

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.