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

C / C++ / MFC

 
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 
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 
As a really crass generalisation:

- if your library or DLL has a C interface and your programming language can use libraries or DLLs with a C interface then you can probably get away with mixing compiler versions. This is especially true for DLLs that you load manually.

- If your library or DLL are written in C++ make sure you compile your application with the same version of the compiler. Name mangling, object layout and loads of other things change from compiler version to compiler version. As well make sure you compile with as many identical compiler switches to avoid anything a bit weird sneaking in knackering your build.

So this means that I can use a VC 6 C library from a VC2010 C++ application (I had to generate a new import library from the DEF file) but there's no way I could use static libraries from even VC++2008.

Cheers,

Ash
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 
GeneralRe: Ungroup Excel columns Pin
Mugdha_Aditya13-Sep-10 3:32
Mugdha_Aditya13-Sep-10 3:32 
QuestionChoosing files from a directory Pin
Danzy8312-Sep-10 11:36
Danzy8312-Sep-10 11:36 
AnswerRe: Choosing files from a directory Pin
Luc Pattyn12-Sep-10 12:03
sitebuilderLuc Pattyn12-Sep-10 12:03 

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.