Click here to Skip to main content
15,903,033 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Calling managed function from unmanaged function Pin
santoshkaif10-Sep-09 18:43
santoshkaif10-Sep-09 18:43 
QuestionRe: Calling managed function from unmanaged function Pin
santoshkaif21-Sep-09 2:20
santoshkaif21-Sep-09 2:20 
AnswerRe: Calling managed function from unmanaged function Pin
N a v a n e e t h22-Sep-09 15:31
N a v a n e e t h22-Sep-09 15:31 
QuestionMultiple Forms in VS2005 Pin
rtshield6-Sep-09 15:17
rtshield6-Sep-09 15:17 
AnswerRe: Multiple Forms in VS2005 Pin
N a v a n e e t h6-Sep-09 15:58
N a v a n e e t h6-Sep-09 15:58 
QuestionWeird problem with writing to a label in a form. (VC++ 2008) Pin
alzaeem4-Sep-09 6:55
alzaeem4-Sep-09 6:55 
AnswerRe: Weird problem with writing to a label in a form. (VC++ 2008) Pin
N a v a n e e t h4-Sep-09 18:12
N a v a n e e t h4-Sep-09 18:12 
GeneralRe: Weird problem with writing to a label in a form. (VC++ 2008) Pin
alzaeem5-Sep-09 17:32
alzaeem5-Sep-09 17:32 
N a v a n e e t h wrote:
In the code you have given, updateNoise is not called before drawPlot.

I meant that if drawPlot is called before updateNoise, then plotting works fine but still no updating of noise labels; but if updateNoise is called first, then neither works.

N a v a n e e t h wrote:
That is weird. Do you mean it returns when executing the line temp = global->_noise_value[1];? What is the type of _noise_value? Is that a managed array? Have you inspected the values in this array? Is updateNoise executed on the main thread?

No it returns when it executes the first line that is supposed to change the text on the label.
noise_value is a c array declared on the stack. When debugging, temp gets a valid double value form _noise_value[0]. These values tend to be very small, around e-10, but I am guessing ToString shouldn't have a problem with that.

_noise_value is available to multiple threads, and there is no explicit synchronization mechanism for its access, but what happens is that a thread calculates noise values, writes them to a file and then sets the Event for the other thread to update the Labels; there is no risk of the noise values changing before the labels are updated because noise is only calculated around once every 10 seconds. Anyway even if the noise values change, from what I know that should only result in writing the wrong values to the labels.
AnswerRe: Weird problem with writing to a label in a form. (VC++ 2008) Pin
Luc Pattyn6-Sep-09 1:20
sitebuilderLuc Pattyn6-Sep-09 1:20 
Questionmodify a DLL(binary) to call another DLL function/exe or embed a code...I need some concepts clarification Pin
Member 43963092-Sep-09 21:58
Member 43963092-Sep-09 21:58 
AnswerRe: modify a DLL(binary) to call another DLL function/exe or embed a code...I need some concepts clarification Pin
Richard MacCutchan3-Sep-09 2:24
mveRichard MacCutchan3-Sep-09 2:24 
Questionthe error in managed c++ function call unmanaged c++ function Pin
jetjeankimo2-Sep-09 17:43
jetjeankimo2-Sep-09 17:43 
AnswerRe: the error in managed c++ function call unmanaged c++ function Pin
N a v a n e e t h3-Sep-09 0:00
N a v a n e e t h3-Sep-09 0:00 
GeneralRe: the error in managed c++ function call unmanaged c++ function Pin
jetjeankimo3-Sep-09 16:12
jetjeankimo3-Sep-09 16:12 
GeneralRe: the error in managed c++ function call unmanaged c++ function Pin
N a v a n e e t h4-Sep-09 5:59
N a v a n e e t h4-Sep-09 5:59 
GeneralRe: the error in managed c++ function call unmanaged c++ function Pin
jetjeankimo4-Sep-09 16:31
jetjeankimo4-Sep-09 16:31 
GeneralRe: the error in managed c++ function call unmanaged c++ function Pin
N a v a n e e t h4-Sep-09 17:51
N a v a n e e t h4-Sep-09 17:51 
GeneralRe: the error in managed c++ function call unmanaged c++ function Pin
jetjeankimo4-Sep-09 18:21
jetjeankimo4-Sep-09 18:21 
GeneralRe: the error in managed c++ function call unmanaged c++ function Pin
jetjeankimo5-Sep-09 21:33
jetjeankimo5-Sep-09 21:33 
QuestionSpy++ Pin
ant-damage2-Sep-09 2:19
ant-damage2-Sep-09 2:19 
AnswerRe: Spy++ Pin
Randor 2-Sep-09 10:20
professional Randor 2-Sep-09 10:20 
GeneralRe: Spy++ Pin
ant-damage3-Sep-09 4:22
ant-damage3-Sep-09 4:22 
GeneralRe: Spy++ Pin
EliottA3-Sep-09 5:13
EliottA3-Sep-09 5:13 
GeneralRe: Spy++ Pin
ant-damage3-Sep-09 5:32
ant-damage3-Sep-09 5:32 
GeneralRe: Spy++ Pin
EliottA3-Sep-09 5:33
EliottA3-Sep-09 5:33 

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.