Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: seeing TRACE() ouputs Pin
Le centriste29-Jul-03 8:37
Le centriste29-Jul-03 8:37 
GeneralRe: seeing TRACE() ouputs Pin
David Crow29-Jul-03 8:42
David Crow29-Jul-03 8:42 
GeneralRe: seeing TRACE() ouputs Pin
Le centriste29-Jul-03 8:43
Le centriste29-Jul-03 8:43 
GeneralRe: seeing TRACE() ouputs Pin
Ryan Binns29-Jul-03 18:41
Ryan Binns29-Jul-03 18:41 
GeneralRe: seeing TRACE() ouputs Pin
Le centriste30-Jul-03 3:24
Le centriste30-Jul-03 3:24 
GeneralRe: seeing TRACE() ouputs Pin
Ryan Binns30-Jul-03 3:27
Ryan Binns30-Jul-03 3:27 
QuestionHow to play a specific buffer,not a file? Pin
xiaochnegwx29-Jul-03 8:17
xiaochnegwx29-Jul-03 8:17 
AnswerRe: How to play a specific buffer,not a file? Pin
David Crow29-Jul-03 8:36
David Crow29-Jul-03 8:36 
GeneralHelp! Pin
xiaochnegwx29-Jul-03 19:03
xiaochnegwx29-Jul-03 19:03 
AnswerRe: How to play a specific buffer,not a file? Pin
Alexander M.,29-Jul-03 9:32
Alexander M.,29-Jul-03 9:32 
AnswerRe: How to play a specific buffer,not a file? Pin
kochhar29-Jul-03 13:09
kochhar29-Jul-03 13:09 
GeneralRe: How to play a specific buffer,not a file? Pin
xiaochnegwx29-Jul-03 19:05
xiaochnegwx29-Jul-03 19:05 
Generalwriting a click event for CDialog Pin
haritadala29-Jul-03 8:07
haritadala29-Jul-03 8:07 
GeneralRe: writing a click event for CDialog Pin
Frank K29-Jul-03 19:23
Frank K29-Jul-03 19:23 
QuestionHow to hide the PropertyPage headers Pin
Eugene Pustovoyt29-Jul-03 7:21
Eugene Pustovoyt29-Jul-03 7:21 

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.