Click here to Skip to main content
15,921,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRun exe Pin
prathuraj15-Mar-07 7:01
prathuraj15-Mar-07 7:01 
AnswerRe: Run exe Pin
David Crow15-Mar-07 7:07
David Crow15-Mar-07 7:07 
GeneralRe: Run exe Pin
prathuraj15-Mar-07 7:50
prathuraj15-Mar-07 7:50 
QuestionRe: Run exe Pin
David Crow15-Mar-07 8:00
David Crow15-Mar-07 8:00 
QuestionProblem In Printing Pin
Neptunex15-Mar-07 6:36
Neptunex15-Mar-07 6:36 
AnswerRe: Problem In Printing Pin
Mark Salsbery15-Mar-07 7:28
Mark Salsbery15-Mar-07 7:28 
GeneralRe: Problem In Printing Pin
Neptunex16-Mar-07 21:56
Neptunex16-Mar-07 21:56 
GeneralRe: Problem In Printing Pin
Mark Salsbery17-Mar-07 8:42
Mark Salsbery17-Mar-07 8:42 
Questiontrace generation question Pin
redbones15-Mar-07 6:26
redbones15-Mar-07 6:26 
AnswerRe: trace generation question Pin
Maximilien15-Mar-07 6:39
Maximilien15-Mar-07 6:39 
AnswerRe: trace generation question Pin
led mike15-Mar-07 6:48
led mike15-Mar-07 6:48 
QuestionRe: trace generation question Pin
redbones17-Mar-07 1:36
redbones17-Mar-07 1:36 
QuestionOn Vista GetUserObjectInformation return 0 for lpnLengthNeeded... Pin
deyadav15-Mar-07 6:23
deyadav15-Mar-07 6:23 
AnswerRe: On Vista GetUserObjectInformation return 0 for lpnLengthNeeded... Pin
Mark Salsbery15-Mar-07 7:45
Mark Salsbery15-Mar-07 7:45 
GeneralRe: On Vista GetUserObjectInformation return 0 for lpnLengthNeeded... Pin
deyadav15-Mar-07 9:32
deyadav15-Mar-07 9:32 
GeneralRe: On Vista GetUserObjectInformation return 0 for lpnLengthNeeded... Pin
Mark Salsbery15-Mar-07 9:36
Mark Salsbery15-Mar-07 9:36 
QuestionMDI Pin
ScotDolan15-Mar-07 6:23
ScotDolan15-Mar-07 6:23 
AnswerRe: MDI Pin
Mark Salsbery15-Mar-07 7:58
Mark Salsbery15-Mar-07 7:58 
Questionhow to call add(int i,int j) function in a mfc dll from vb application Pin
punit singh15-Mar-07 5:11
punit singh15-Mar-07 5:11 
QuestionRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
David Crow15-Mar-07 5:24
David Crow15-Mar-07 5:24 
AnswerRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
punit singh15-Mar-07 6:01
punit singh15-Mar-07 6:01 
GeneralRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
David Crow15-Mar-07 6:07
David Crow15-Mar-07 6:07 
GeneralRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
punit singh15-Mar-07 6:36
punit singh15-Mar-07 6:36 
AnswerRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
Cedric Moonen15-Mar-07 5:24
Cedric Moonen15-Mar-07 5:24 
AnswerRe: how to call add(int i,int j) function in a mfc dll from vb application Pin
krmed15-Mar-07 5:37
krmed15-Mar-07 5:37 
Two problems I see...
First, you have
Dim ans as Integer
but then you use
a = AddValues(5,4)

Secondly, the argument you pass to MsgBox should be a string, and you're passing an integer.

Hope that helps.


Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

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.