Click here to Skip to main content
15,885,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to find a word in a string from the end? Pin
Luc Pattyn12-Jul-08 9:27
sitebuilderLuc Pattyn12-Jul-08 9:27 
QuestionRe: how to find a word in a string from the end? Pin
Nandu_77b12-Jul-08 10:30
Nandu_77b12-Jul-08 10:30 
AnswerRe: how to find a word in a string from the end? Pin
Bram van Kampen12-Jul-08 13:41
Bram van Kampen12-Jul-08 13:41 
QuestionConverting CString to const char* [modified] -Solved again Pin
Marc Clifton12-Jul-08 6:02
mvaMarc Clifton12-Jul-08 6:02 
AnswerRe: Converting CString to const char* [modified] -Solved again Pin
Mark Salsbery12-Jul-08 8:11
Mark Salsbery12-Jul-08 8:11 
AnswerRe: Converting CString to const char* [modified] -Solved again Pin
Nandu_77b12-Jul-08 9:05
Nandu_77b12-Jul-08 9:05 
GeneralRe: Converting CString to const char* [modified] -Solved again Pin
Marc Clifton12-Jul-08 9:11
mvaMarc Clifton12-Jul-08 9:11 
QuestionWTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton12-Jul-08 5:34
mvaMarc Clifton12-Jul-08 5:34 
My C++ is rusty, about the last time I did C++ stuff was with VS7. So here I am with VS9, doing pure MFC/C++ (none of the CLR crap).

So, I've got a "lib" project and a console "test" project. The linker can only find functions that are inline'd in the header file. It can't find functions defined in the lib.cpp class!

What happened? And actually, why can't I find the lib.dll file? It creates lib.dll.embed.manifest, but no foo.dll!

In fact, I think I just answered my first question: I'm not referencing lib.dll in my test project, so it's only resolving inline functions. Why am I not getting a lib.dll lib? How do I get one?

Do I add a path to the Linker\General "Additional Library Directories" or do I add it under Common Properties "Framework and References"?

This used to be so much easier. Sigh | :sigh:


[edit] Ummm. Why is the output going to a project in my solution that is excluded from the build and not even referencing the lib project? Why isn't it going to the folder specific to the project itself? WTF has MS done!!! [/edit]

[edit2]The output file property in the Librarian was using (OutDir) rather than (IntDir). WTF? Why would it do that? [/edit2]

Marc


modified on Saturday, July 12, 2008 11:45 AM

AnswerRe: WTF: Linker can only find inline functions [modified] - Solved Pin
bob1697212-Jul-08 7:11
bob1697212-Jul-08 7:11 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton12-Jul-08 9:10
mvaMarc Clifton12-Jul-08 9:10 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Bram van Kampen12-Jul-08 13:55
Bram van Kampen12-Jul-08 13:55 
AnswerRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Saurabh.Garg12-Jul-08 19:58
Saurabh.Garg12-Jul-08 19:58 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton13-Jul-08 3:04
mvaMarc Clifton13-Jul-08 3:04 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Saurabh.Garg13-Jul-08 4:28
Saurabh.Garg13-Jul-08 4:28 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton13-Jul-08 5:43
mvaMarc Clifton13-Jul-08 5:43 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Saurabh.Garg13-Jul-08 4:30
Saurabh.Garg13-Jul-08 4:30 
GeneralRe: WTF: Linker can only find inline functions [modified] - Solved Pin
Marc Clifton13-Jul-08 5:45
mvaMarc Clifton13-Jul-08 5:45 
QuestionCArray in CMap Pin
Trupti Mehta12-Jul-08 4:35
Trupti Mehta12-Jul-08 4:35 
AnswerRe: CArray in CMap Pin
Ștefan-Mihai MOGA12-Jul-08 23:06
professionalȘtefan-Mihai MOGA12-Jul-08 23:06 
GeneralRe: CArray in CMap Pin
Trupti Mehta13-Jul-08 0:36
Trupti Mehta13-Jul-08 0:36 
QuestionHow can create an SDI type project inside in another SDI type project? Pin
Le@rner12-Jul-08 2:28
Le@rner12-Jul-08 2:28 
AnswerRe: How can create an SDI type project inside in another SDI type project? Pin
Nelek14-Jul-08 21:06
protectorNelek14-Jul-08 21:06 
QuestionUpdate only a part of a View with OnUpdateAllViews 2nd ! Pin
CrocodileBuck12-Jul-08 2:05
CrocodileBuck12-Jul-08 2:05 
AnswerRe: Update only a part of a View with OnUpdateAllViews 2nd ! Pin
Prasann Mayekar12-Jul-08 3:41
Prasann Mayekar12-Jul-08 3:41 
GeneralRe: Update only a part of a View with OnUpdateAllViews 2nd ! Pin
CrocodileBuck12-Jul-08 4:09
CrocodileBuck12-Jul-08 4:09 

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.