Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: .* and .*? Pin
includeh1027-Jul-05 11:55
includeh1027-Jul-05 11:55 
GeneralRe: .* and .*? Pin
John R. Shaw27-Jul-05 12:10
John R. Shaw27-Jul-05 12:10 
GeneralGDI + to save graphics from the screen into a file Pin
flamy27-Jul-05 10:47
flamy27-Jul-05 10:47 
GeneralRe: GDI + to save graphics from the screen into a file Pin
mark novak27-Jul-05 15:04
mark novak27-Jul-05 15:04 
GeneralRe: GDI + to save graphics from the screen into a file Pin
flamy27-Jul-05 15:21
flamy27-Jul-05 15:21 
General'Web' or 'Tree' Display Pin
bugDanny27-Jul-05 10:43
bugDanny27-Jul-05 10:43 
Generaldialog box trouble Pin
DaveHuber27-Jul-05 10:27
DaveHuber27-Jul-05 10:27 
GeneralRe: dialog box trouble Pin
bugDanny27-Jul-05 10:49
bugDanny27-Jul-05 10:49 
GeneralRe: dialog box trouble Pin
DaveHuber28-Jul-05 4:48
DaveHuber28-Jul-05 4:48 
GeneralDriver programming question Pin
JakeTruman27-Jul-05 9:47
JakeTruman27-Jul-05 9:47 
GeneralRe: Driver programming question Pin
Toby Opferman27-Jul-05 14:37
Toby Opferman27-Jul-05 14:37 
GeneralRe: Driver programming question Pin
JakeTruman3-Aug-05 12:01
JakeTruman3-Aug-05 12:01 
QuestionHow to disable the help in VC6 Pin
JWood27-Jul-05 9:22
JWood27-Jul-05 9:22 
AnswerRe: How to disable the help in VC6 Pin
David Crow27-Jul-05 9:45
David Crow27-Jul-05 9:45 
GeneralRe: How to disable the help in VC6 Pin
JWood28-Jul-05 4:57
JWood28-Jul-05 4:57 
AnswerRe: How to disable the help in VC6 Pin
Blake Miller27-Jul-05 12:08
Blake Miller27-Jul-05 12:08 
Generalproblem with multiple defined symbols Pin
Qvicksilver27-Jul-05 9:07
Qvicksilver27-Jul-05 9:07 
GeneralRe: problem with multiple defined symbols Pin
David Crow27-Jul-05 9:43
David Crow27-Jul-05 9:43 
GeneralRe: problem with multiple defined symbols Pin
Qvicksilver27-Jul-05 10:12
Qvicksilver27-Jul-05 10:12 
GeneralRe: problem with multiple defined symbols Pin
John R. Shaw27-Jul-05 11:32
John R. Shaw27-Jul-05 11:32 
That depends on what is in main.h. Are there just prototypes and classes/structs defined or does it also contain function difinition (which should be specified as inline). If you are not defining the same function twice in your code, it is possible that the compiler is generating a function in every file that includes main.h. The simpilest solution is to back up to where all the code is in one file (and compiles OK), then transfer the functions from the origanal file to the new file one at a time and recompile each time to see if an error occurs.

Note: inline is a suggestion to the compiler; if an inline function is large, then the compiler will generate a function instead of inlining it. This some times results in the problem you are having, but it is rare and the compiler may have safeties in place to prevent this.

INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
GeneralRe: problem with multiple defined symbols Pin
Qvicksilver28-Jul-05 6:42
Qvicksilver28-Jul-05 6:42 
GeneralRe: problem with multiple defined symbols Pin
John R. Shaw28-Jul-05 8:39
John R. Shaw28-Jul-05 8:39 
GeneralRe: problem with multiple defined symbols Pin
sunit527-Jul-05 21:01
sunit527-Jul-05 21:01 
GeneralRe: problem with multiple defined symbols Pin
Qvicksilver28-Jul-05 6:46
Qvicksilver28-Jul-05 6:46 
GeneralSearch for a word in a file from code Pin
bugDanny27-Jul-05 7:45
bugDanny27-Jul-05 7:45 

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.