Click here to Skip to main content
15,893,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOut Of Scope, Debugging Problem Pin
thenutz7211-Mar-09 11:50
thenutz7211-Mar-09 11:50 
AnswerRe: Out Of Scope, Debugging Problem Pin
BobInNJ11-Mar-09 13:48
BobInNJ11-Mar-09 13:48 
AnswerRe: Out Of Scope, Debugging Problem Pin
Stuart Dootson11-Mar-09 13:50
professionalStuart Dootson11-Mar-09 13:50 
AnswerRe: Out Of Scope, Debugging Problem Pin
«_Superman_»11-Mar-09 18:54
professional«_Superman_»11-Mar-09 18:54 
QuestionDLL openning own window Pin
Krzysiaczek9911-Mar-09 9:04
Krzysiaczek9911-Mar-09 9:04 
AnswerRe: DLL openning own window Pin
Sarath C11-Mar-09 9:54
Sarath C11-Mar-09 9:54 
GeneralRe: DLL openning own window Pin
Krzysiaczek9911-Mar-09 11:36
Krzysiaczek9911-Mar-09 11:36 
QuestionExcel in C++ Pin
su_penguin11-Mar-09 7:38
su_penguin11-Mar-09 7:38 
Hello all,

1. In VS, I've created a Square.cpp file which contains the following:


double /*__stdcall*/ square_in_C(double &arg) {return (arg*arg);}


2. I've created a .def file containing the following:

LIBRARY MyXLib
EXPORTS
square_in_C

3. I've added a Module to an Excel file containing the following:

Declare Function square_in_C _
Lib "C:/PATHTOFILE/debug/MyXLib.dll" (arg As Double) As Double


4. Cell B4 contains the number 4. Cell B6 contains "=square_in_C(B4)" (without quotes).

The result in B6: #VALUE!

Anyone know what I'm doing wrong?

Thanks
QuestionRe: Excel in C++ Pin
David Crow11-Mar-09 8:07
David Crow11-Mar-09 8:07 
AnswerRe: Excel in C++ Pin
su_penguin11-Mar-09 8:46
su_penguin11-Mar-09 8:46 
GeneralRe: Excel in C++ Pin
David Crow11-Mar-09 8:52
David Crow11-Mar-09 8:52 
AnswerRe: Excel in C++ Pin
Stuart Dootson11-Mar-09 8:35
professionalStuart Dootson11-Mar-09 8:35 
GeneralRe: Excel in C++ Pin
su_penguin11-Mar-09 8:49
su_penguin11-Mar-09 8:49 
GeneralRe: Excel in C++ Pin
Stuart Dootson11-Mar-09 13:35
professionalStuart Dootson11-Mar-09 13:35 
AnswerRe: Excel in C++ Pin
Sarath C11-Mar-09 22:51
Sarath C11-Mar-09 22:51 
QuestionProblem with webservice! Pin
Bryan Karlsson11-Mar-09 7:19
Bryan Karlsson11-Mar-09 7:19 
AnswerRe: Problem with webservice! Pin
Stuart Dootson11-Mar-09 7:35
professionalStuart Dootson11-Mar-09 7:35 
QuestionMulticasting Socket - how to identify which interface data was received in? Pin
Danielle Schmitt11-Mar-09 7:10
Danielle Schmitt11-Mar-09 7:10 
AnswerRe: Multicasting Socket - how to identify which interface data was received in? Pin
Code-o-mat11-Mar-09 7:33
Code-o-mat11-Mar-09 7:33 
GeneralRe: Multicasting Socket - how to identify which interface data was received in? Pin
Danielle Schmitt11-Mar-09 8:02
Danielle Schmitt11-Mar-09 8:02 
GeneralRe: Multicasting Socket - how to identify which interface data was received in? Pin
Code-o-mat11-Mar-09 10:10
Code-o-mat11-Mar-09 10:10 
GeneralRe: Multicasting Socket - how to identify which interface data was received in? Pin
Danielle Schmitt12-Mar-09 9:32
Danielle Schmitt12-Mar-09 9:32 
GeneralRe: Multicasting Socket - how to identify which interface data was received in? Pin
Code-o-mat12-Mar-09 9:58
Code-o-mat12-Mar-09 9:58 
GeneralRe: Multicasting Socket - how to identify which interface data was received in? Pin
Danielle Schmitt12-Mar-09 11:12
Danielle Schmitt12-Mar-09 11:12 
QuestionFinding status of On screen keyboard Pin
jimjim73311-Mar-09 6:37
jimjim73311-Mar-09 6:37 

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.