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

C / C++ / MFC

 
AnswerRe: string array Pin
Richard MacCutchan8-Jan-10 5:28
mveRichard MacCutchan8-Jan-10 5:28 
AnswerRe: string array Pin
Rajesh R Subramanian8-Jan-10 6:07
professionalRajesh R Subramanian8-Jan-10 6:07 
GeneralRe: string array Pin
Cedric Moonen8-Jan-10 7:35
Cedric Moonen8-Jan-10 7:35 
GeneralRe: string array Pin
Rajesh R Subramanian8-Jan-10 7:51
professionalRajesh R Subramanian8-Jan-10 7:51 
GeneralRe: string array Pin
Cedric Moonen8-Jan-10 8:06
Cedric Moonen8-Jan-10 8:06 
GeneralRe: string array Pin
Richard MacCutchan8-Jan-10 8:59
mveRichard MacCutchan8-Jan-10 8:59 
JokeRe: string array Pin
CPallini9-Jan-10 4:56
mveCPallini9-Jan-10 4:56 
QuestionSimilar named function in 2 static .lib files problem Pin
Chesnokov Yuriy8-Jan-10 5:04
professionalChesnokov Yuriy8-Jan-10 5:04 
Will be there any problems with static libs linkage and what function will be linked and executed?

There are 2 lib files generated from the same project:

1) somelib.lib
2) somelib_updated.lib

Both contain the same function names, but updated has some enhanced functionality, but all the function names are the same.

3) oneimplementation.lib has static linkage with somelib.lib
4) otherimplementation.lib has static linkage with somelib_updated.lib

In 3) it provides myfunction() which uses somelib.lib code
In 4) it provides myfunction_updated() which uses somelib_updated.lib.

Thus is it targeted that due to the fact that we can not change naming in 1) and 2) we are trying to provide wrappers for them for a final exe.


The final exe build scheme is:

1) -> 3)
---------------->final exe app
2) -> 4)



Final exe linkes only to 3) and 4)

Which functions will be linked to final exe? How to make sure 1) and 2) code will be different?


Чесноков

AnswerRe: Similar named function in 2 static .lib files problem Pin
Migounette8-Jan-10 12:40
Migounette8-Jan-10 12:40 
AnswerRe: Similar named function in 2 static .lib files problem Pin
Chesnokov Yuriy10-Jan-10 1:34
professionalChesnokov Yuriy10-Jan-10 1:34 
AnswerRe: Similar named function in 2 static .lib files problem Pin
Saurabh.Garg9-Jan-10 14:34
Saurabh.Garg9-Jan-10 14:34 
GeneralRe: Similar named function in 2 static .lib files problem Pin
Chesnokov Yuriy10-Jan-10 1:32
professionalChesnokov Yuriy10-Jan-10 1:32 
Questionconverting float from host to network order Pin
Vishal Kumar Soni8-Jan-10 5:01
Vishal Kumar Soni8-Jan-10 5:01 
AnswerRe: converting float from host to network order Pin
Moak8-Jan-10 8:36
Moak8-Jan-10 8:36 
GeneralRe: converting float from host to network order Pin
Vishal Kumar Soni8-Jan-10 23:57
Vishal Kumar Soni8-Jan-10 23:57 
AnswerRe: converting float from host to network order Pin
Graham Shanks8-Jan-10 11:26
Graham Shanks8-Jan-10 11:26 
QuestionRe: converting float from host to network order Pin
Moak8-Jan-10 12:21
Moak8-Jan-10 12:21 
AnswerRe: converting float from host to network order Pin
Graham Shanks8-Jan-10 12:58
Graham Shanks8-Jan-10 12:58 
GeneralRe: converting float from host to network order Pin
Moak8-Jan-10 13:14
Moak8-Jan-10 13:14 
GeneralRe: converting float from host to network order Pin
Vishal Kumar Soni8-Jan-10 23:58
Vishal Kumar Soni8-Jan-10 23:58 
Questionwhen will EndPage() failed in MFC Pin
kir_MFC8-Jan-10 4:07
kir_MFC8-Jan-10 4:07 
AnswerRe: when will EndPage() failed in MFC [modified] Pin
Nelek8-Jan-10 4:33
protectorNelek8-Jan-10 4:33 
AnswerRe: when will EndPage() failed in MFC Pin
PJ Arends8-Jan-10 7:29
professionalPJ Arends8-Jan-10 7:29 
QuestionHiding the column header in a CListCtrl Pin
maycockt8-Jan-10 1:24
maycockt8-Jan-10 1:24 
AnswerRe: Hiding the column header in a CListCtrl Pin
Abhi Lahare8-Jan-10 1:29
Abhi Lahare8-Jan-10 1:29 

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.