Click here to Skip to main content
15,907,913 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to call a function inside another function in file like utility.c Pin
Richard Andrew x6422-Aug-14 8:59
professionalRichard Andrew x6422-Aug-14 8:59 
Questionerror: invalid operands to binary / (have ‘float’ and ‘int *’) Pin
mybm119-Aug-14 20:24
mybm119-Aug-14 20:24 
AnswerRe: error: invalid operands to binary / (have ‘float’ and ‘int *’) Pin
enhzflep19-Aug-14 20:51
enhzflep19-Aug-14 20:51 
GeneralRe: error: invalid operands to binary / (have ‘float’ and ‘int *’) Pin
mybm119-Aug-14 21:01
mybm119-Aug-14 21:01 
GeneralRe: error: invalid operands to binary / (have ‘float’ and ‘int *’) Pin
enhzflep19-Aug-14 21:18
enhzflep19-Aug-14 21:18 
GeneralRe: error: invalid operands to binary / (have ‘float’ and ‘int *’) Pin
mybm120-Aug-14 0:42
mybm120-Aug-14 0:42 
AnswerRe: error: invalid operands to binary / (have ‘float’ and ‘int *’) Pin
David Crow20-Aug-14 3:15
David Crow20-Aug-14 3:15 
QuestionVariable not same across process in DLL Pin
peterasloan17-Aug-14 18:49
peterasloan17-Aug-14 18:49 
I have 2 dlls where one is run time loaded (Run.dll) and calls the other(other.dll)
Also the application calls the other.dll as well.

Now the other.dll has a static variable in it that is only used in itself i.e internally to the dll which gets changed by one of it's functions.

At the start of the program I call a this function in the other.dll to set the variable but later on when I run time load the run.dll which calls the function in the other.dll the variable is not set.

I thought the any variables in the other.dll which is statically linked to the app and to the run.dll will only have one instance of itself in memory especially regarding the variables?

How can I solve it to ensure that the variable in other.dll is the same across the process?

I forget to mention that I'm using the windows api etc.
AnswerRe: Variable not same across process in DLL Pin
Richard MacCutchan17-Aug-14 20:39
mveRichard MacCutchan17-Aug-14 20:39 
AnswerRe: Variable not same across process in DLL Pin
leon de boer18-Aug-14 5:18
leon de boer18-Aug-14 5:18 
QuestionCall MFC regular dll from other app Pin
john563217-Aug-14 1:56
john563217-Aug-14 1:56 
AnswerRe: Call MFC regular dll from other app Pin
«_Superman_»17-Aug-14 6:10
professional«_Superman_»17-Aug-14 6:10 
AnswerRe: Call MFC regular dll from other app Pin
leon de boer18-Aug-14 5:28
leon de boer18-Aug-14 5:28 
QuestionHow manage the lose focus from CListCtrl Control Pin
Drakesal16-Aug-14 20:45
Drakesal16-Aug-14 20:45 
AnswerRe: How manage the lose focus from CListCtrl Control Pin
SoMad16-Aug-14 21:10
professionalSoMad16-Aug-14 21:10 
GeneralRe: How manage the lose focus from CListCtrl Control Pin
Drakesal16-Aug-14 21:12
Drakesal16-Aug-14 21:12 
GeneralRe: How manage the lose focus from CListCtrl Control Pin
SoMad16-Aug-14 21:57
professionalSoMad16-Aug-14 21:57 
GeneralRe: How manage the lose focus from CListCtrl Control Pin
Drakesal16-Aug-14 22:24
Drakesal16-Aug-14 22:24 
GeneralRe: How manage the lose focus from CListCtrl Control Pin
SoMad16-Aug-14 23:07
professionalSoMad16-Aug-14 23:07 
QuestionCan't read certain registry keys Pin
Daniel 'Tak' M.16-Aug-14 9:45
Daniel 'Tak' M.16-Aug-14 9:45 
AnswerRe: Can't read certain registry keys Pin
Richard Andrew x6416-Aug-14 10:06
professionalRichard Andrew x6416-Aug-14 10:06 
GeneralRe: Can't read certain registry keys Pin
Daniel 'Tak' M.16-Aug-14 10:10
Daniel 'Tak' M.16-Aug-14 10:10 
AnswerRe: Can't read certain registry keys Pin
Richard Andrew x6416-Aug-14 10:18
professionalRichard Andrew x6416-Aug-14 10:18 
GeneralRe: Can't read certain registry keys Pin
Daniel 'Tak' M.16-Aug-14 10:31
Daniel 'Tak' M.16-Aug-14 10:31 
AnswerRe: Can't read certain registry keys Pin
Richard Andrew x6416-Aug-14 10:37
professionalRichard Andrew x6416-Aug-14 10: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.