Click here to Skip to main content
15,920,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNotification of unhecking the checkbox inside the DateTimeCtrl... Pin
tamasan29-Sep-06 16:29
tamasan29-Sep-06 16:29 
AnswerRe: Notification of unhecking the checkbox inside the DateTimeCtrl... Pin
ShilpiP29-Sep-06 19:34
ShilpiP29-Sep-06 19:34 
AnswerRe: Notification of unhecking the checkbox inside the DateTimeCtrl... Pin
Hamid_RT2-Oct-06 9:38
Hamid_RT2-Oct-06 9:38 
QuestionErrors encountered when linking Dialog based application with C code Pin
searcher0829-Sep-06 16:24
searcher0829-Sep-06 16:24 
AnswerRe: Errors encountered when linking Dialog based application with C code Pin
ShilpiP29-Sep-06 19:44
ShilpiP29-Sep-06 19:44 
AnswerRe: Errors encountered when linking Dialog based application with C code Pin
Hamid_RT29-Sep-06 20:37
Hamid_RT29-Sep-06 20:37 
AnswerRe: Errors encountered when linking Dialog based application with C code Pin
Hamid_RT30-Sep-06 21:08
Hamid_RT30-Sep-06 21:08 
QuestionRe: Errors encountered when linking Dialog based application with C code Pin
searcher082-Oct-06 10:08
searcher082-Oct-06 10:08 
You are right. I am a student but an old one. This is the first time linking C code with C++ code. Normally, I used only C++ and it is simply using the defined classes.

I have this GUI that was developed and this C-code that performs image processing. I have copied the main() code to the GUI and declared the global variables in the dialog class.

The image processing files are brought into the workspace and the GUI made dependent on these files. No problem on compiling. However, during the linking up, there are some extern variables in the image processing files that need referencing to. They are declared in the Dialog cpp file. That is the reason for the "unresolved external symbol _img" and the strings of other error message.

I have included the Dialog.h in the source file of the image processing file and they could not recognize the class terms i.e. more error occurred.

2nd question is the declaration of C- code in a C++ program. Can I use this method? The two functions are C functions.
afx_msg void decode(void);
afx_msg void Configure(void);

Thanks a lot for your time and advise. Greatly appreciated.

searcher08

AnswerRe: Errors encountered when linking Dialog based application with C code Pin
Hamid_RT2-Oct-06 21:42
Hamid_RT2-Oct-06 21:42 
GeneralRe: Errors encountered when linking Dialog based application with C code Pin
searcher083-Oct-06 6:41
searcher083-Oct-06 6:41 
QuestionGetCountPerPage and Icon view Pin
Mohammad A Gdeisat29-Sep-06 16:19
Mohammad A Gdeisat29-Sep-06 16:19 
AnswerRe: GetCountPerPage and Icon view Pin
ShilpiP29-Sep-06 19:55
ShilpiP29-Sep-06 19:55 
GeneralRe: GetCountPerPage and Icon view Pin
Mohammad A Gdeisat29-Sep-06 22:02
Mohammad A Gdeisat29-Sep-06 22:02 
Questionfade in and out effect Pin
wintson198229-Sep-06 15:40
wintson198229-Sep-06 15:40 
AnswerRe: fade in and out effect Pin
Hamid_RT29-Sep-06 20:19
Hamid_RT29-Sep-06 20:19 
QuestionMicrosoft MIDI Mapper Pin
BeerBelly29-Sep-06 15:33
BeerBelly29-Sep-06 15:33 
AnswerRe: Microsoft MIDI Mapper Pin
Hamid_RT2-Oct-06 9:37
Hamid_RT2-Oct-06 9:37 
GeneralRe: Microsoft MIDI Mapper Pin
BeerBelly3-Oct-06 1:50
BeerBelly3-Oct-06 1:50 
GeneralRe: Microsoft MIDI Mapper Pin
Hamid_RT3-Oct-06 3:01
Hamid_RT3-Oct-06 3:01 
Questionhow to rename a file or a directory? Pin
Mohammad A Gdeisat29-Sep-06 14:41
Mohammad A Gdeisat29-Sep-06 14:41 
AnswerRe: how to rename a file or a directory? Pin
Mike_V29-Sep-06 17:40
Mike_V29-Sep-06 17:40 
AnswerRe: how to rename a file or a directory? Pin
Hamid_RT29-Sep-06 19:56
Hamid_RT29-Sep-06 19:56 
AnswerRe: how to rename a file or a directory? Pin
ShilpiP29-Sep-06 20:02
ShilpiP29-Sep-06 20:02 
AnswerRe: how to rename a file or a directory? Pin
James R. Twine30-Sep-06 18:02
James R. Twine30-Sep-06 18:02 
QuestionMouse tracing letters and symbols on screen Pin
matt986229-Sep-06 14:39
matt986229-Sep-06 14:39 

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.