Click here to Skip to main content
15,923,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detecting that an executable is already running (so duplicates don't run) Pin
Nick_Kisialiou23-Apr-06 14:03
Nick_Kisialiou23-Apr-06 14:03 
GeneralRe: Detecting that an executable is already running (so duplicates don't run) Pin
Stephen Hewitt23-Apr-06 14:22
Stephen Hewitt23-Apr-06 14:22 
AnswerRe: Detecting that an executable is already running (so duplicates don't run) Pin
David Crow24-Apr-06 3:07
David Crow24-Apr-06 3:07 
GeneralRe: Detecting that an executable is already running (so duplicates don't run) Pin
Blake Miller26-Apr-06 7:48
Blake Miller26-Apr-06 7:48 
QuestionCan anyone tell me why am i getting these errors? Pin
rahultaing22-Apr-06 22:59
rahultaing22-Apr-06 22:59 
AnswerRe: Can anyone tell me why am i getting these errors? Pin
John R. Shaw22-Apr-06 23:16
John R. Shaw22-Apr-06 23:16 
AnswerRe: Can anyone tell me why am i getting these errors? Pin
Trollslayer23-Apr-06 0:07
mentorTrollslayer23-Apr-06 0:07 
GeneralRe: Can anyone tell me why am i getting these errors? Pin
Rilhas23-Apr-06 1:45
Rilhas23-Apr-06 1:45 
There is an important nuance to note: I think Elaine's answer is correct for the first errors, where redefinition is the problem, but some other errors point out that the multiple definitions have different linkage. This would mean that the multiple inclusions could have some of the conditions change. For example, if this was in a header file:

#ifdef USE_C
extern C {
#endif

typedef struct {
int x;
int y;
int z;
} Vector;

#ifdef USE_C
}
#endif

Then if one inclusion defines USE_C and the other doesn't then you may get the diferent linkage error, because one will declare the structure as C and the other as C++.



Rilhas
AnswerRe: Can anyone tell me why am i getting these errors? Pin
Stephen Hewitt23-Apr-06 13:50
Stephen Hewitt23-Apr-06 13:50 
QuestionHelp:How to change the images in the CTreeCtrl dynamicly? Pin
bruspark22-Apr-06 22:47
bruspark22-Apr-06 22:47 
AnswerRe: Help:How to change the images in the CTreeCtrl dynamicly? Pin
includeh1023-Apr-06 2:53
includeh1023-Apr-06 2:53 
QuestionProperty Sheet and Property Pages Pin
Imtiaz Murtaza22-Apr-06 22:06
Imtiaz Murtaza22-Apr-06 22:06 
AnswerRe: Property Sheet and Property Pages Pin
Michael Dunn22-Apr-06 22:58
sitebuilderMichael Dunn22-Apr-06 22:58 
Questionremoving a substring from a std::string Pin
rahultaing22-Apr-06 19:57
rahultaing22-Apr-06 19:57 
AnswerRe: removing a substring from a std::string Pin
Stephen Hewitt22-Apr-06 20:27
Stephen Hewitt22-Apr-06 20:27 
Questionsubstring in a std::string Pin
rahultaing22-Apr-06 19:21
rahultaing22-Apr-06 19:21 
AnswerRe: substring in a std::string Pin
Stephen Hewitt22-Apr-06 19:45
Stephen Hewitt22-Apr-06 19:45 
QuestionWait for Thread Pin
RedDragon2k22-Apr-06 16:35
RedDragon2k22-Apr-06 16:35 
AnswerRe: Wait for Thread Pin
Stephen Hewitt22-Apr-06 17:36
Stephen Hewitt22-Apr-06 17:36 
GeneralRe: Wait for Thread Pin
RedDragon2k23-Apr-06 16:11
RedDragon2k23-Apr-06 16:11 
AnswerRe: Wait for Thread Pin
Nick_Kisialiou22-Apr-06 21:59
Nick_Kisialiou22-Apr-06 21:59 
GeneralRe: Wait for Thread Pin
Stephen Hewitt22-Apr-06 22:21
Stephen Hewitt22-Apr-06 22:21 
AnswerRe: Wait for Thread Pin
John R. Shaw22-Apr-06 22:24
John R. Shaw22-Apr-06 22:24 
QuestionForwarding Functions between DLL's Pin
Bram van Kampen22-Apr-06 14:37
Bram van Kampen22-Apr-06 14:37 
AnswerRe: Forwarding Functions between DLL's Pin
cmk22-Apr-06 14:57
cmk22-Apr-06 14:57 

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.