Click here to Skip to main content
15,887,430 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSet the RibbonComboBox to Drop List type by code Pin
coolhem13-Sep-10 4:23
coolhem13-Sep-10 4:23 
AnswerRe: Set the RibbonComboBox to Drop List type by code Pin
Eugen Podsypalnikov13-Sep-10 9:15
Eugen Podsypalnikov13-Sep-10 9:15 
GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
coolhem13-Sep-10 14:56
coolhem13-Sep-10 14:56 
GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
Eugen Podsypalnikov13-Sep-10 19:55
Eugen Podsypalnikov13-Sep-10 19:55 
GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
coolhem13-Sep-10 21:25
coolhem13-Sep-10 21:25 
GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
Eugen Podsypalnikov14-Sep-10 0:00
Eugen Podsypalnikov14-Sep-10 0:00 
GeneralRe: Set the RibbonComboBox to Drop List type by code Pin
coolhem14-Sep-10 22:59
coolhem14-Sep-10 22:59 
QuestionLibraries and compiler compatibility Pin
funwithdolphin13-Sep-10 3:10
funwithdolphin13-Sep-10 3:10 
Hi,

I have an application built on VS2005 which uses a static library built using VS6.0.

I have noticed an issue of incorrect function getting called from a static library linked at compiled time. Note that this static library was built using Visual Studio 6.0. Whereas my application which is using the static library for linking at compile time is built using VS2005.

At run time, I see that incorrect/different functions are getting called rather than the ones which are supposed to get called.

To solve this issue:
I rebuilt the static library (.lib) using VS2005. Then this newly built static library was used for compilation along with my application on VS2005. Then the functions are getting called correctly.

I have 2 questions here: Confused | :confused:

1) This means that if there is any static library built with older version of VS6.0, then it will not work correctly with an application built with VS2005. We need to rebuild it with the same compiler as the application is built with. Is this true? why this happens in case of static libraries?

2) If above point-1 is true, then isn't it necessary to rebuild DDLs also with VS2005? If no, then why it is ok that a DLL built with older version of compiler works fine with application built with newer compiler version?
AnswerRe: Libraries and compiler compatibility Pin
«_Superman_»13-Sep-10 4:04
professional«_Superman_»13-Sep-10 4:04 
AnswerRe: Libraries and compiler compatibility Pin
Chris Losinger13-Sep-10 4:11
professionalChris Losinger13-Sep-10 4:11 
AnswerRe: Libraries and compiler compatibility Pin
Aescleal13-Sep-10 6:24
Aescleal13-Sep-10 6:24 
GeneralRe: Libraries and compiler compatibility Pin
Joe Woodbury13-Sep-10 6:38
professionalJoe Woodbury13-Sep-10 6:38 
GeneralRe: Libraries and compiler compatibility Pin
Chris Losinger13-Sep-10 9:15
professionalChris Losinger13-Sep-10 9:15 
GeneralRe: Libraries and compiler compatibility Pin
Aescleal13-Sep-10 11:07
Aescleal13-Sep-10 11:07 
GeneralRe: Libraries and compiler compatibility Pin
Joe Woodbury13-Sep-10 11:26
professionalJoe Woodbury13-Sep-10 11:26 
QuestionProblem with Painting logic Pin
narayanagvs13-Sep-10 0:42
narayanagvs13-Sep-10 0:42 
AnswerRe: Problem with Painting logic Pin
Niklas L13-Sep-10 1:53
Niklas L13-Sep-10 1:53 
QuestionAccess Denied in Local System Account Service Pin
gothic_coder12-Sep-10 21:18
gothic_coder12-Sep-10 21:18 
AnswerRe: Access Denied in Local System Account Service Pin
bob1697213-Sep-10 8:51
bob1697213-Sep-10 8:51 
GeneralRe: Access Denied in Local System Account Service Pin
gothic_coder13-Sep-10 21:17
gothic_coder13-Sep-10 21:17 
GeneralRe: Access Denied in Local System Account Service Pin
bob1697214-Sep-10 3:19
bob1697214-Sep-10 3:19 
GeneralRe: Access Denied in Local System Account Service Pin
gothic_coder14-Sep-10 20:52
gothic_coder14-Sep-10 20:52 
GeneralRe: Access Denied in Local System Account Service Pin
bob1697220-Sep-10 4:59
bob1697220-Sep-10 4:59 
QuestionUngroup Excel columns Pin
Mugdha_Aditya12-Sep-10 19:23
Mugdha_Aditya12-Sep-10 19:23 
AnswerRe: Ungroup Excel columns Pin
Niklas L13-Sep-10 2:23
Niklas L13-Sep-10 2:23 

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.