Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Custom Tab Control Woes... Pin
adonisv29-Jul-03 17:08
adonisv29-Jul-03 17:08 
GeneralRe: Custom Tab Control Woes... Pin
Dave Bryant29-Jul-03 17:12
Dave Bryant29-Jul-03 17:12 
GeneralRe: Custom Tab Control Woes... Pin
adonisv29-Jul-03 17:50
adonisv29-Jul-03 17:50 
GeneralThis control is screwy and unstable! Pin
adonisv30-Jul-03 9:34
adonisv30-Jul-03 9:34 
GeneralHelp with CExpire Pin
Juan Carlos Cobas29-Jul-03 12:28
Juan Carlos Cobas29-Jul-03 12:28 
GeneralRe: Help with CExpire Pin
pranavamhari29-Jul-03 18:04
pranavamhari29-Jul-03 18:04 
GeneralRe: Help with CExpire Pin
Toni7829-Jul-03 18:14
Toni7829-Jul-03 18:14 
GeneralRe: Help with CExpire Pin
Juan Carlos Cobas30-Jul-03 3:04
Juan Carlos Cobas30-Jul-03 3:04 
GeneralRe: Help with CExpire Pin
pranavamhari30-Jul-03 6:11
pranavamhari30-Jul-03 6:11 
Questionhow to create a sub DC in a DC? Pin
CaesarCZ29-Jul-03 12:17
CaesarCZ29-Jul-03 12:17 
AnswerRe: how to create a sub DC in a DC? Pin
Ravi Bhavnani29-Jul-03 12:30
professionalRavi Bhavnani29-Jul-03 12:30 
Generalfilling and passing SAFEARRAYS Pin
bigeyedfish8129-Jul-03 10:56
bigeyedfish8129-Jul-03 10:56 
GeneralGet ChildFrame from CDocument (MDI app) Pin
Wim Jans29-Jul-03 10:41
Wim Jans29-Jul-03 10:41 
GeneralRe: Get ChildFrame from CDocument (MDI app) Pin
Neville Franks29-Jul-03 11:08
Neville Franks29-Jul-03 11:08 
GeneralRe: Get ChildFrame from CDocument (MDI app) Pin
Wim Jans29-Jul-03 11:28
Wim Jans29-Jul-03 11:28 
GeneralSpeeding Up ComboBox Entry Pin
vss11129-Jul-03 10:04
vss11129-Jul-03 10:04 
GeneralRe: Speeding Up ComboBox Entry Pin
John M. Drescher29-Jul-03 10:15
John M. Drescher29-Jul-03 10:15 
GeneralRe: Speeding Up ComboBox Entry Pin
Alexander M.,29-Jul-03 10:29
Alexander M.,29-Jul-03 10:29 
GeneralRe: Speeding Up ComboBox Entry Pin
Beer2629-Jul-03 10:34
Beer2629-Jul-03 10:34 
GeneralRe: Speeding Up ComboBox Entry Pin
armentage30-Jul-03 3:03
armentage30-Jul-03 3:03 
QuestionHow to save/delete files from within console program Pin
Anonymous29-Jul-03 8:58
Anonymous29-Jul-03 8:58 
AnswerRe: How to save/delete files from within console program Pin
David Crow29-Jul-03 9:24
David Crow29-Jul-03 9:24 
GeneralWeird linking Error Pin
Janayma29-Jul-03 8:48
Janayma29-Jul-03 8:48 
Hi folks out there !

I am new to working with VC7.0 so maybe this is my fault, but I discovered some strange linking error which is really driving me insane. And maybe some of you can tell me, what could be wrong:

The basic structure is the following :

I have header files

"HWStructs.H" with some struct declarations
"System.h" containing some namespaces. It is using the "HWStructs.H" for some namespace variables;

I also have a "SystemInfo.cpp", which is including "System.h", containing the definitions of the namespace "SystemInfo".

(All of my headers use include guards)
Last but not least I have my "main.cpp" which is including "System.h" to gain access to the namespaces;

The weird thing I am talking about is that it doesnt link on a regular basis. It links once, then not at all for quite a while, complaining abt redefinitions of all the structs I have in "HWStructs.h". Somewhen it just starts working again and at some not understandable point it stops, giving me lots of redefinitions in eithter "main.cpp" or "SystemInfo.cpp" again.

I even managed to reproduce this behaviour with some example files. There it wouldn't link the first time, only the second time hitting compile. WTF | :WTF:

So what the heck is wrong ?Confused | :confused:

I'd be incredibly grateful for any suggestions,

Chris


Generalseeing TRACE() ouputs Pin
Le centriste29-Jul-03 8:27
Le centriste29-Jul-03 8:27 
GeneralRe: seeing TRACE() ouputs Pin
David Crow29-Jul-03 8:36
David Crow29-Jul-03 8:36 

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.