Click here to Skip to main content
15,905,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: usb modem problem Pin
ali_heidari_7-Mar-15 17:54
ali_heidari_7-Mar-15 17:54 
QuestionCreating an .Obj File Pin
Bram van Kampen6-Mar-15 12:46
Bram van Kampen6-Mar-15 12:46 
AnswerRe: Creating an .Obj File Pin
Mauro Leggieri6-Mar-15 14:31
Mauro Leggieri6-Mar-15 14:31 
AnswerRe: Creating an .Obj File Pin
Richard MacCutchan6-Mar-15 21:33
mveRichard MacCutchan6-Mar-15 21:33 
AnswerRe: Creating an .Obj File Pin
Frankie-C7-Mar-15 6:04
Frankie-C7-Mar-15 6:04 
QuestionConvert Borland c++ project to VC++ Pin
nextel1225-Mar-15 23:19
nextel1225-Mar-15 23:19 
AnswerRe: Convert Borland c++ project to VC++ Pin
Dave Kreskowiak6-Mar-15 9:20
mveDave Kreskowiak6-Mar-15 9:20 
QuestionError : Application was unable o start correctly(0xc000007b). Pin
002comp4-Mar-15 19:15
002comp4-Mar-15 19:15 
AnswerRe: Error : Application was unable o start correctly(0xc000007b). Pin
Jochen Arndt4-Mar-15 21:02
professionalJochen Arndt4-Mar-15 21:02 
GeneralRe: Error : Application was unable o start correctly(0xc000007b). Pin
002comp8-Mar-15 18:56
002comp8-Mar-15 18:56 
GeneralRe: Error : Application was unable o start correctly(0xc000007b). Pin
Jochen Arndt8-Mar-15 21:58
professionalJochen Arndt8-Mar-15 21:58 
AnswerRe: Error : Application was unable o start correctly(0xc000007b). Pin
Frankie-C4-Mar-15 23:32
Frankie-C4-Mar-15 23:32 
GeneralRe: Error : Application was unable o start correctly(0xc000007b). Pin
002comp8-Mar-15 18:57
002comp8-Mar-15 18:57 
GeneralRe: Error : Application was unable o start correctly(0xc000007b). Pin
Frankie-C8-Mar-15 23:58
Frankie-C8-Mar-15 23:58 
QuestionHow to program Excel named ranges with automation Pin
garyflet4-Mar-15 9:41
garyflet4-Mar-15 9:41 
QuestionRe: How to program Excel named ranges with automation Pin
Richard MacCutchan4-Mar-15 21:03
mveRichard MacCutchan4-Mar-15 21:03 
AnswerRe: How to program Excel named ranges with automation Pin
garyflet5-Mar-15 7:19
garyflet5-Mar-15 7:19 
GeneralRe: How to program Excel named ranges with automation Pin
Richard MacCutchan5-Mar-15 8:04
mveRichard MacCutchan5-Mar-15 8:04 
GeneralRe: How to program Excel named ranges with automation Pin
Richard MacCutchan5-Mar-15 21:06
mveRichard MacCutchan5-Mar-15 21:06 
Questiong++ Compiler not including header file Pin
PaulS_UK3-Mar-15 11:34
PaulS_UK3-Mar-15 11:34 
AnswerRe: g++ Compiler not including header file Pin
Jochen Arndt3-Mar-15 20:47
professionalJochen Arndt3-Mar-15 20:47 
GeneralRe: g++ Compiler not including header file Pin
PaulS_UK3-Mar-15 23:07
PaulS_UK3-Mar-15 23:07 
Thanks Jochen

I might not have given you enough information. The actual text of the linking error message is:

In function `process(int, char*, ControlData*, char*, char*)':
PROCESS.CPP: (.text+0x788): undefined reference to `readsig(MiscParams*, char*)'
PROCESS.CPP: (.text+0xaac): undefined reference to `sig_save(Signal*, char*)'
PROCESS.CPP: (.text+0xdd4): undefined reference to `display(Signal*, MiscParams*, int)'.............
......etc etc etc

so there are many undefined references to functions from within the function 'process' contained in PROCESS.CPP

however; all these functions are defined in funcdefs.h as follows:

C#
extern int readsig ( MiscParams *misc , char *namelist , int *nsigs ,
                     Signal ***signals , char *error ) ;


etc etc etc

as I understand it, the various individual *.cpp files are referring to functions that are defined within funcdefs.h shouldn't these definitions be included from this file by the pre processor instruction and therefore be defined references?

Or are you saying that it is the function 'process' in PROCESS.CPP that is calling other undefined references? The very first such call is 'readsig' which is defined in functions.h

Or are you saying that I should just call functions.h functions.cpp?

This is driving me nuts so thanks for your help!

++++++++++EDIT+++++++++++

Jochen - I think I'm beginning to get your drift! The fundefs.h file only contains function prototypes not definitions Smile | :)

modified 4-Mar-15 5:19am.

GeneralRe: g++ Compiler not including header file Pin
Jochen Arndt3-Mar-15 23:26
professionalJochen Arndt3-Mar-15 23:26 
GeneralRe: g++ Compiler not including header file Pin
Richard MacCutchan3-Mar-15 23:26
mveRichard MacCutchan3-Mar-15 23:26 
QuestionAnother academic inquiry - what is the protected / private code purpose / function in this class generated by ATmel STudio Pin
Vaclav_3-Mar-15 5:10
Vaclav_3-Mar-15 5:10 

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.