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

C / C++ / MFC

 
AnswerRe: string concatenation Pin
Johann Gerell26-Feb-06 19:56
Johann Gerell26-Feb-06 19:56 
GeneralRe: string concatenation Pin
Ryan Binns26-Feb-06 21:53
Ryan Binns26-Feb-06 21:53 
GeneralRe: string concatenation Pin
Johann Gerell26-Feb-06 23:27
Johann Gerell26-Feb-06 23:27 
GeneralRe: string concatenation Pin
Ryan Binns26-Feb-06 23:32
Ryan Binns26-Feb-06 23:32 
GeneralRe: string concatenation Pin
PJ Arends26-Feb-06 22:35
professionalPJ Arends26-Feb-06 22:35 
GeneralRe: string concatenation Pin
Johann Gerell26-Feb-06 23:29
Johann Gerell26-Feb-06 23:29 
AnswerRe: string concatenation Pin
David Crow27-Feb-06 3:16
David Crow27-Feb-06 3:16 
QuestionInterlockedExchange : redefinition errors Pin
Judah Gabriel Himango26-Feb-06 17:48
sponsorJudah Gabriel Himango26-Feb-06 17:48 
Hi guys

I'm porting some VC6 code to Visual Studio 2005. When I compile, I'm getting the following errors:
combase.h(253): error C2373: 'InterlockedExchange' : redefinition; different type modifiers

combase.h(253): error C2491: 'InterlockedExchange' : definition of dllimport function not allowed

combase.h(253): error C3861: 'InterlockedExchange': identifier not found, even with argument-dependent lookup


C++ being a secondary language for me, I'm having trouble figuring this out. Previously this code compiled fine under VC6, yet I get these compiler errors under VS7 and VS8.

Combase.h is a DirectShow base definition header, it appears...

Any thoughts at all would be appreciated.

Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Connor's Christmas Spectacular!
Judah Himango



-- modified at 23:54 Sunday 26th February, 2006
AnswerRe: InterlockedExchange : redefinition errors Pin
Dennis Gourjii27-Feb-06 0:49
Dennis Gourjii27-Feb-06 0:49 
GeneralRe: InterlockedExchange : redefinition errors Pin
Judah Gabriel Himango27-Feb-06 5:22
sponsorJudah Gabriel Himango27-Feb-06 5:22 
QuestionNeed help (Urgent) Pin
rajeevktripathi26-Feb-06 17:21
rajeevktripathi26-Feb-06 17:21 
AnswerRe: Need help (Urgent) Pin
Ryan Binns26-Feb-06 17:26
Ryan Binns26-Feb-06 17:26 
QuestionRe: Need help (Urgent) Pin
rajeevktripathi26-Feb-06 18:05
rajeevktripathi26-Feb-06 18:05 
AnswerRe: Need help (Urgent) Pin
Naveen26-Feb-06 21:04
Naveen26-Feb-06 21:04 
QuestionRe: Need help (Urgent) Pin
rajeevktripathi26-Feb-06 21:24
rajeevktripathi26-Feb-06 21:24 
AnswerRe: Need help (Urgent) Pin
Naveen26-Feb-06 21:45
Naveen26-Feb-06 21:45 
AnswerRe: Need help (Urgent) Pin
Ryan Binns26-Feb-06 21:47
Ryan Binns26-Feb-06 21:47 
QuestionHow to get dc of CScrollView before it's drawn? Pin
followait26-Feb-06 15:29
followait26-Feb-06 15:29 
AnswerRe: How to get dc of CScrollView before it's drawn? Pin
Ryan Binns26-Feb-06 17:08
Ryan Binns26-Feb-06 17:08 
GeneralRe: How to get dc of CScrollView before it's drawn? Pin
followait26-Feb-06 17:17
followait26-Feb-06 17:17 
GeneralRe: How to get dc of CScrollView before it's drawn? Pin
Ryan Binns26-Feb-06 17:21
Ryan Binns26-Feb-06 17:21 
GeneralRe: How to get dc of CScrollView before it's drawn? Pin
Nibu babu thomas26-Feb-06 17:30
Nibu babu thomas26-Feb-06 17:30 
Questionabout Shell_NotifyIcon Pin
HOW WHAT26-Feb-06 13:46
HOW WHAT26-Feb-06 13:46 
AnswerRe: about Shell_NotifyIcon Pin
Stephen Hewitt26-Feb-06 16:10
Stephen Hewitt26-Feb-06 16:10 
GeneralRe: about Shell_NotifyIcon Pin
HOW WHAT26-Feb-06 18:42
HOW WHAT26-Feb-06 18: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.