Click here to Skip to main content
15,896,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Sending HTTP Post via TCP/IP Pin
Moak14-Sep-10 0:22
Moak14-Sep-10 0:22 
GeneralRe: Sending HTTP Post via TCP/IP Pin
Dustin Henry14-Sep-10 7:02
Dustin Henry14-Sep-10 7:02 
QuestionValidating console input Pin
Danzy8313-Sep-10 7:33
Danzy8313-Sep-10 7:33 
AnswerRe: Validating console input Pin
mk1488213-Sep-10 9:08
mk1488213-Sep-10 9:08 
AnswerRe: Validating console input Pin
Aescleal13-Sep-10 11:10
Aescleal13-Sep-10 11:10 
Questiondelete option in IE8 address bar Pin
inza113-Sep-10 7:04
inza113-Sep-10 7:04 
Answersomeone?any idea? Pin
inza122-Sep-10 4:50
inza122-Sep-10 4:50 
QuestionCalling APIs Problem In Drivers Pin
Coder-12345613-Sep-10 7:00
Coder-12345613-Sep-10 7:00 
AnswerRe: Calling APIs Problem In Drivers Pin
JudyL_MD13-Sep-10 11:07
JudyL_MD13-Sep-10 11:07 
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 
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 

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.