Click here to Skip to main content
15,892,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Search for a word in a file from code Pin
David Crow27-Jul-05 8:01
David Crow27-Jul-05 8:01 
GeneralRe: Search for a word in a file from code Pin
bugDanny27-Jul-05 8:34
bugDanny27-Jul-05 8:34 
GeneralRe: Search for a word in a file from code Pin
David Crow27-Jul-05 8:36
David Crow27-Jul-05 8:36 
GeneralRich Edit please check this code... Pin
Aqueel27-Jul-05 6:51
Aqueel27-Jul-05 6:51 
GeneralRe: Rich Edit please check this code... Pin
David Crow27-Jul-05 7:13
David Crow27-Jul-05 7:13 
GeneralRe: Rich Edit please check this code... Pin
Aqueel27-Jul-05 7:24
Aqueel27-Jul-05 7:24 
Generalfind out which windows-design is selected Pin
gabriel.fischer27-Jul-05 5:58
gabriel.fischer27-Jul-05 5:58 
GeneralRe: find out which windows-design is selected Pin
David Crow27-Jul-05 7:10
David Crow27-Jul-05 7:10 
Generalicon to bitmap conversion Pin
rgchezhian27-Jul-05 5:45
rgchezhian27-Jul-05 5:45 
GeneralRe: icon to bitmap conversion Pin
David Crow27-Jul-05 5:48
David Crow27-Jul-05 5:48 
GeneralRe: icon to bitmap conversion Pin
rgchezhian27-Jul-05 7:53
rgchezhian27-Jul-05 7:53 
GeneralRe: icon to bitmap conversion Pin
David Crow27-Jul-05 7:58
David Crow27-Jul-05 7:58 

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.