Click here to Skip to main content
15,900,254 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Deleting the using reference Pin
Emilio Garavaglia5-Jun-08 21:13
Emilio Garavaglia5-Jun-08 21:13 
AnswerRe: Deleting the using reference Pin
Jijo.Raj5-Jun-08 21:43
Jijo.Raj5-Jun-08 21:43 
QuestionHow to save history in SHBrowseForFolder in MFC Pin
At_work5-Jun-08 18:53
At_work5-Jun-08 18:53 
AnswerRe: How to save history in SHBrowseForFolder in MFC Pin
rp_suman5-Jun-08 19:11
rp_suman5-Jun-08 19:11 
AnswerRe: How to save history in SHBrowseForFolder in MFC Pin
_AnsHUMAN_ 5-Jun-08 19:48
_AnsHUMAN_ 5-Jun-08 19:48 
QuestionKeyboard access on Button control. Pin
Le@rner5-Jun-08 18:47
Le@rner5-Jun-08 18:47 
AnswerRe: Keyboard access on Button control. Pin
rp_suman5-Jun-08 19:15
rp_suman5-Jun-08 19:15 
Questionwhy is the size of empty class is 1byte in dos/windows 64bit version? Pin
Super Hornet5-Jun-08 18:43
Super Hornet5-Jun-08 18:43 
AnswerRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Saurabh.Garg5-Jun-08 18:57
Saurabh.Garg5-Jun-08 18:57 
QuestionRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Super Hornet5-Jun-08 19:53
Super Hornet5-Jun-08 19:53 
AnswerRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Saurabh.Garg5-Jun-08 20:00
Saurabh.Garg5-Jun-08 20:00 
QuestionRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Super Hornet5-Jun-08 20:10
Super Hornet5-Jun-08 20:10 
AnswerRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
SandipG 5-Jun-08 20:19
SandipG 5-Jun-08 20:19 
AnswerRe: why is the size of empty class is 1byte in dos/windows 64bit version? Pin
Dan5-Jun-08 20:21
Dan5-Jun-08 20:21 
Question[Message Deleted] Pin
Kwanalouie5-Jun-08 17:33
Kwanalouie5-Jun-08 17:33 
AnswerRe: Help with mouse coordinates [modified] Pin
Nibu babu thomas5-Jun-08 17:44
Nibu babu thomas5-Jun-08 17:44 
GeneralRe: Help with mouse coordinates Pin
Kwanalouie5-Jun-08 18:06
Kwanalouie5-Jun-08 18:06 
QuestionVS 6.0 C++ code imported to MS VS 2003 or above for rebuilding projects Pin
Kyle P5-Jun-08 10:33
Kyle P5-Jun-08 10:33 
AnswerRe: VS 6.0 C++ code imported to MS VS 2003 or above for rebuilding projects Pin
David Crow5-Jun-08 10:41
David Crow5-Jun-08 10:41 
GeneralRe: VS 6.0 C++ code imported to MS VS 2003 or above for rebuilding projects Pin
Kyle P5-Jun-08 16:50
Kyle P5-Jun-08 16:50 
GeneralRe: VS 6.0 C++ code imported to MS VS 2003 or above for rebuilding projects Pin
Emilio Garavaglia5-Jun-08 21:17
Emilio Garavaglia5-Jun-08 21:17 
GeneralRe: VS 6.0 C++ code imported to MS VS 2003 or above for rebuilding projects Pin
David Crow6-Jun-08 2:46
David Crow6-Jun-08 2:46 
QuestionLinker error between projects Pin
KellyR5-Jun-08 9:54
KellyR5-Jun-08 9:54 
Hi, I'm using C++ with MFC and VC++ 2005.

My problem is this:
I have two different projects, one dependent on the other. The first project compiles to produce a static lib. It also includes a namespace, let's call it "NAM" for the purpose of this question. The second project then includes the headers from the first project, and the static lib in its settings.

This all seems fine, and the first project (the lib) compiles with no problems. However when I compile the second project, I receive linker errors for all of the namespace functions called in the first project's single .cpp file. So for instance, in project 1, I might have the function:
NAM::Find_String(void)
Which compiles just fine when I compile that project alone. But in the second project, I get this weird linker error that says:
error LNK2001: unresolved external symbol _Find_String

What am I doing wrong? It's like somehow the second project doesn't see the 'namespace' declared in the first project even though all the headers (there are only 3) are included and the lib is linked correctly.

KR

AnswerRe: Linker error between projects Pin
Akt_4_U5-Jun-08 17:28
Akt_4_U5-Jun-08 17:28 
QuestionWindows Threads and CPU % usage... Pin
OCrowley5-Jun-08 8:45
OCrowley5-Jun-08 8:45 

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.