Click here to Skip to main content
16,006,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: R6034 Pin
T.RATHA KRISHNAN9-Jun-08 20:58
T.RATHA KRISHNAN9-Jun-08 20:58 
QuestionDLL problem Pin
cristi_alonso9-Jun-08 19:50
cristi_alonso9-Jun-08 19:50 
AnswerRe: DLL problem Pin
sudhir_Kumar9-Jun-08 20:10
sudhir_Kumar9-Jun-08 20:10 
GeneralRe: DLL problem Pin
Cedric Moonen9-Jun-08 20:30
Cedric Moonen9-Jun-08 20:30 
GeneralRe: DLL problem Pin
sudhir_Kumar10-Jun-08 1:47
sudhir_Kumar10-Jun-08 1:47 
AnswerRe: DLL problem Pin
Cedric Moonen9-Jun-08 20:29
Cedric Moonen9-Jun-08 20:29 
GeneralRe: DLL problem Pin
cristi_alonso9-Jun-08 21:10
cristi_alonso9-Jun-08 21:10 
GeneralRe: DLL problem Pin
Cedric Moonen9-Jun-08 21:25
Cedric Moonen9-Jun-08 21:25 
cristi_alonso wrote:
I have included one header file which contain dllimport statement.



In general, the way to do it is to include the same heared file with the trick I gave you in my previous answer. The advantage is that you don't have to maintain two files: if you have to make a modification, it will be done in one single place.


cristi_alonso wrote:
now what really happens here is that calc () is getting executed but sub() is not


How do you verify that ? Are you sure that the version of your dll in the folder of your exe is out of date and the Sub function does nothing. Recompiling your dll is not enough, you also have to copy it to the exe folder, otherwise your exe will still use the previous version. It may sound stupid, but it is a common mistake when you debug.

Cédric Moonen
Software developer

Charting control [v1.4]

GeneralRe: DLL problem Pin
cristi_alonso10-Jun-08 1:07
cristi_alonso10-Jun-08 1:07 
QuestionDisplay HTML in CHtmlview in Vista Pin
john56329-Jun-08 18:55
john56329-Jun-08 18:55 
AnswerRe: Display HTML in CHtmlview in Vista Pin
sudhir_Kumar9-Jun-08 20:18
sudhir_Kumar9-Jun-08 20:18 
QuestionHow to call .exe file ? Pin
nisha000009-Jun-08 18:38
nisha000009-Jun-08 18:38 
AnswerRe: How to call .exe file ? Pin
Naveen9-Jun-08 18:48
Naveen9-Jun-08 18:48 
AnswerRe: How to call .exe file ? Pin
SandipG 9-Jun-08 18:48
SandipG 9-Jun-08 18:48 
AnswerRe: How to call .exe file ? Pin
Mukesh Kumar9-Jun-08 18:49
Mukesh Kumar9-Jun-08 18:49 
AnswerRe: How to call .exe file ? Pin
hitonly20089-Jun-08 18:54
hitonly20089-Jun-08 18:54 
AnswerRe: How to call .exe file ? Pin
sudhir_Kumar9-Jun-08 20:12
sudhir_Kumar9-Jun-08 20:12 
GeneralRe: How to call .exe file ? Pin
Cedric Moonen9-Jun-08 20:32
Cedric Moonen9-Jun-08 20:32 
JokeRe: How to call .exe file ? Pin
Hamid_RT9-Jun-08 20:38
Hamid_RT9-Jun-08 20:38 
GeneralRe: How to call .exe file ? Pin
Cedric Moonen9-Jun-08 20:39
Cedric Moonen9-Jun-08 20:39 
GeneralRe: How to call .exe file ? Pin
Hamid_RT9-Jun-08 20:47
Hamid_RT9-Jun-08 20:47 
JokeRe: How to call .exe file ? Pin
toxcct9-Jun-08 21:04
toxcct9-Jun-08 21:04 
JokeRe: How to call .exe file ? Pin
Cedric Moonen9-Jun-08 21:08
Cedric Moonen9-Jun-08 21:08 
JokeRe: How to call .exe file ? Pin
toxcct9-Jun-08 21:19
toxcct9-Jun-08 21:19 
AnswerRe: How to call .exe file ? Pin
Hamid_RT9-Jun-08 20:17
Hamid_RT9-Jun-08 20:17 

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.