Click here to Skip to main content
15,925,399 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do you round a float variable in C++ Pin
ShilpiP29-Sep-06 23:14
ShilpiP29-Sep-06 23:14 
GeneralRe: How do you round a float variable in C++ Pin
Stephen Hewitt30-Sep-06 2:27
Stephen Hewitt30-Sep-06 2:27 
GeneralRe: How do you round a float variable in C++ Pin
Hamid_RT2-Oct-06 9:02
Hamid_RT2-Oct-06 9:02 
AnswerRe: How do you round a float variable in C++ Pin
Eytukan30-Sep-06 7:32
Eytukan30-Sep-06 7:32 
AnswerRe: How do you round a float variable in C++ Pin
BlitzPackage30-Sep-06 10:05
BlitzPackage30-Sep-06 10:05 
GeneralRe: How do you round a float variable in C++ Pin
markkuk30-Sep-06 12:52
markkuk30-Sep-06 12:52 
GeneralRe: How do you round a float variable in C++ Pin
BlitzPackage30-Sep-06 13:36
BlitzPackage30-Sep-06 13:36 
GeneralRe: How do you round a float variable in C++ Pin
Stephen Hewitt30-Sep-06 16:04
Stephen Hewitt30-Sep-06 16:04 
GeneralRe: How do you round a float variable in C++ Pin
BlitzPackage30-Sep-06 19:11
BlitzPackage30-Sep-06 19:11 
QuestionReturn an Object By Value Pin
BlitzPackage29-Sep-06 17:23
BlitzPackage29-Sep-06 17:23 
AnswerRe: Return an Object By Value Pin
Mike_V29-Sep-06 17:36
Mike_V29-Sep-06 17:36 
GeneralRe: Return an Object By Value Pin
BlitzPackage29-Sep-06 17:43
BlitzPackage29-Sep-06 17:43 
GeneralRe: Return an Object By Value Pin
Mike_V29-Sep-06 17:59
Mike_V29-Sep-06 17:59 
GeneralRe: Return an Object By Value Pin
BlitzPackage29-Sep-06 18:04
BlitzPackage29-Sep-06 18:04 
AnswerRe: Return an Object By Value Pin
Anonymuos29-Sep-06 23:01
Anonymuos29-Sep-06 23:01 
AnswerRe: Return an Object By Value Pin
bob1697230-Sep-06 5:55
bob1697230-Sep-06 5:55 
QuestionFinding Your Own Responses Back Pin
Bram van Kampen29-Sep-06 16:39
Bram van Kampen29-Sep-06 16:39 
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

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.