Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Major problem with header files Pin
toxcct22-Aug-07 22:57
toxcct22-Aug-07 22:57 
GeneralRe: Major problem with header files Pin
Cedric Moonen22-Aug-07 23:10
Cedric Moonen22-Aug-07 23:10 
GeneralRe: Major problem with header files Pin
toxcct22-Aug-07 23:19
toxcct22-Aug-07 23:19 
GeneralRe: Major problem with header files Pin
sGrabert22-Aug-07 23:22
sGrabert22-Aug-07 23:22 
GeneralRe: Major problem with header files Pin
Mark Salsbery23-Aug-07 6:16
Mark Salsbery23-Aug-07 6:16 
GeneralRe: Major problem with header files Pin
Mark Salsbery23-Aug-07 6:07
Mark Salsbery23-Aug-07 6:07 
GeneralRe: Major problem with header files Pin
toxcct23-Aug-07 6:12
toxcct23-Aug-07 6:12 
GeneralRe: Major problem with header files Pin
sGrabert22-Aug-07 23:05
sGrabert22-Aug-07 23:05 
Why would it ? Function overloading is possible in C++ and you don't need to have a declaration for your functions. So, in your case you have a declaration of a function but no body for this function. As long as you don't call that function, everything will be fine. But once you call that function, you'll get a linker error.

Okay, I called the function and finally Blush | :O got a linker error, I was expecting an error during compiling...
I developed using Delphi the last 5 years and the ambigious overloading of types/variables/function C++ without any visible effect is driving me crazy...
In Delphi you had to add OVERLOAD or use a typecast..

The main reason for this problem:
- i want to create a dll that can be called from another app, using dynamic linking
- works so far
- I changed the implementation of a function (by accident) and got a very confusing exception after calling the function from the dll but no compiler error, though i linked the header file from the dll.
GeneralRe: Major problem with header files Pin
Cedric Moonen22-Aug-07 23:18
Cedric Moonen22-Aug-07 23:18 
GeneralRe: Minor problem with header files [modified] Pin
sGrabert22-Aug-07 23:35
sGrabert22-Aug-07 23:35 
QuestionEmbed one application file in other application? Pin
bosfan22-Aug-07 22:27
bosfan22-Aug-07 22:27 
AnswerRe: Embed one application file in other application? Pin
Iain Clarke, Warrior Programmer22-Aug-07 23:32
Iain Clarke, Warrior Programmer22-Aug-07 23:32 
GeneralRe: Embed one application file in other application? Pin
bosfan23-Aug-07 0:45
bosfan23-Aug-07 0:45 
AnswerRe: Embed one application file in other application? Pin
David Crow23-Aug-07 2:55
David Crow23-Aug-07 2:55 
QuestionMIME embedded attachment Pin
monsieur_jj22-Aug-07 21:40
monsieur_jj22-Aug-07 21:40 
AnswerRe: MIME embedded attachment Pin
monsieur_jj22-Aug-07 23:37
monsieur_jj22-Aug-07 23:37 
AnswerRe: MIME embedded attachment Pin
Iain Clarke, Warrior Programmer22-Aug-07 23:42
Iain Clarke, Warrior Programmer22-Aug-07 23:42 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 14:37
monsieur_jj23-Aug-07 14:37 
GeneralRe: MIME embedded attachment Pin
Iain Clarke, Warrior Programmer23-Aug-07 21:57
Iain Clarke, Warrior Programmer23-Aug-07 21:57 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 22:21
monsieur_jj23-Aug-07 22:21 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 23:20
monsieur_jj23-Aug-07 23:20 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 15:06
monsieur_jj23-Aug-07 15:06 
GeneralRe: MIME embedded attachment Pin
monsieur_jj23-Aug-07 19:30
monsieur_jj23-Aug-07 19:30 
GeneralRe: MIME embedded attachment Pin
monsieur_jj24-Aug-07 1:13
monsieur_jj24-Aug-07 1:13 
QuestionCRichEditCtrl class and ClistBox class Pin
prithaa22-Aug-07 21:34
prithaa22-Aug-07 21:34 

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.