Click here to Skip to main content
15,920,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CComboBoxEx click bug Pin
Weiye Chen19-Jun-06 23:37
Weiye Chen19-Jun-06 23:37 
GeneralRe: CComboBoxEx click bug Pin
jackssf19-Jun-06 23:58
jackssf19-Jun-06 23:58 
Questionkey press problem Pin
aaaan19-Jun-06 21:48
aaaan19-Jun-06 21:48 
AnswerRe: key press problem Pin
Laxman Auti19-Jun-06 22:00
Laxman Auti19-Jun-06 22:00 
AnswerRe: key press problem Pin
Cedric Moonen19-Jun-06 22:01
Cedric Moonen19-Jun-06 22:01 
AnswerRe: key press problem Pin
Hamid_RT19-Jun-06 22:05
Hamid_RT19-Jun-06 22:05 
AnswerRe: key press problem Pin
Eytukan19-Jun-06 23:23
Eytukan19-Jun-06 23:23 
Questionunresolved external symbol -- help please Pin
hendry19719-Jun-06 21:32
hendry19719-Jun-06 21:32 
Hi...

i got problem when compiling & linking my app in visualC++. I got the error msg like this:

------------------- the error msg -------------------
Linking...
Cobalagiah.obj : error LNK2001: unresolved external symbol "public: static int __cdecl ReadBitstreamFile::create(class ReadBitstreamFile * &)" (?create@ReadBitstreamFile@@SAHAAPAV1@@Z)
Debug/Cobalagiah.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Cobalagiah.exe - 2 error(s), 0 warning(s)

------------------- end of the error msg -------------------

the situation is as follow. there is one workspace with many projects in it. I have to make my own project in the same workspace and utilize some classes from other projects (within the same workspace).
So i set the directory paths to include the other header files (Tools - Options - Directories tab). by doing that i can put the code #include "ReadBitstreamFile.h" and compiling it was ok.
but then when I put this code in the main function (just for testing)

----------------- my testing code -----------------
int main(int argc, char* argv[])
{
ReadBitstreamFile *pcReadBitstreamFile;
ReadBitstreamFile::create( pcReadBitstreamFile );
printf("Hello World!\n");
return 0;
}
----------------- end of my testing code -----------------

that error occurs. note that the "create" function is a static function. it is defined in other class in other project.

anybody can help, please?


regards,
Hendry
email at: hendry197-at-msn-dot-com
AnswerRe: unresolved external symbol -- help please Pin
Cedric Moonen19-Jun-06 21:40
Cedric Moonen19-Jun-06 21:40 
AnswerRe: unresolved external symbol -- help please Pin
Weiye Chen19-Jun-06 21:47
Weiye Chen19-Jun-06 21:47 
AnswerRe: unresolved external symbol -- help please Pin
Hamid_RT19-Jun-06 22:07
Hamid_RT19-Jun-06 22:07 
GeneralRe: unresolved external symbol -- help please Pin
hendry19719-Jun-06 22:30
hendry19719-Jun-06 22:30 
QuestionCListBox Properties Pin
chethu66519-Jun-06 21:19
chethu66519-Jun-06 21:19 
AnswerRe: CListBox Properties Pin
voorugonda prashanth19-Jun-06 21:26
voorugonda prashanth19-Jun-06 21:26 
AnswerRe: CListBox Properties Pin
Hamid_RT19-Jun-06 21:43
Hamid_RT19-Jun-06 21:43 
AnswerRe: CListBox Properties Pin
voorugonda prashanth19-Jun-06 21:46
voorugonda prashanth19-Jun-06 21:46 
GeneralRe: CListBox Properties Pin
chethu66519-Jun-06 23:08
chethu66519-Jun-06 23:08 
AnswerRe: CListBox Properties Pin
Viorel.19-Jun-06 21:47
Viorel.19-Jun-06 21:47 
QuestionNcAPI Pin
Le Thanh Cong19-Jun-06 21:13
Le Thanh Cong19-Jun-06 21:13 
QuestionProblem using virtual COM port Pin
tctan19-Jun-06 20:56
tctan19-Jun-06 20:56 
Questionhow can i run C++ code in BREW. Pin
nitinjdalal19-Jun-06 20:26
nitinjdalal19-Jun-06 20:26 
QuestionHow can FilePath change to LPCTSTR ?? Pin
mimimimilaw19-Jun-06 20:15
mimimimilaw19-Jun-06 20:15 
QuestionRe: How can FilePath change to LPCTSTR ?? Pin
kakan19-Jun-06 20:19
professionalkakan19-Jun-06 20:19 
AnswerRe: How can FilePath change to LPCTSTR ?? [modified] Pin
_AnsHUMAN_ 19-Jun-06 20:22
_AnsHUMAN_ 19-Jun-06 20:22 
AnswerRe: How can FilePath change to LPCTSTR ?? Pin
Weiye Chen19-Jun-06 20:27
Weiye Chen19-Jun-06 20:27 

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.