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

Managed C++/CLI

 
QuestionManaged C++ with No touch Deployment Pin
jeongmo14-Jun-07 11:26
jeongmo14-Jun-07 11:26 
QuestionDoes a program have more than 1 process in task manager? Pin
DotNetUser5414-Jun-07 8:22
DotNetUser5414-Jun-07 8:22 
AnswerRe: Does a program have more than 1 process in task manager? Pin
Mark Salsbery14-Jun-07 9:20
Mark Salsbery14-Jun-07 9:20 
GeneralRe: Does a program have more than 1 process in task manager? Pin
led mike14-Jun-07 10:50
led mike14-Jun-07 10:50 
GeneralRe: Does a program have more than 1 process in task manager? Pin
Mark Salsbery14-Jun-07 11:26
Mark Salsbery14-Jun-07 11:26 
QuestionWhy doesn't this work? Pin
myhanguk14-Jun-07 2:16
myhanguk14-Jun-07 2:16 
AnswerRe: Why doesn't this work? Pin
prasad_som14-Jun-07 3:01
prasad_som14-Jun-07 3:01 
AnswerRe: Why doesn't this work? Pin
Mark Salsbery14-Jun-07 9:28
Mark Salsbery14-Jun-07 9:28 
Try this (modifications marked in red):

double (cTest::*nrand)(void);

void init(int choice){
if (choice==1){
nrand = &cTest::rand_cpp;
} else {
nrand = &cTest::rand_mt;
}
}

You were just assigning function pointers to local variables in init() instead of assigning
to the member variable nrand.

Mark






"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

QuestionRe: Why doesn't this work? Pin
Ahmed Ismail Mohamed15-Jun-07 22:50
Ahmed Ismail Mohamed15-Jun-07 22:50 
QuestionSerialize with BinaryFormatter Pin
hansipet14-Jun-07 0:56
hansipet14-Jun-07 0:56 
QuestionBooks for Managed C++ Pin
vibindia13-Jun-07 16:58
vibindia13-Jun-07 16:58 
AnswerRe: Books for Managed C++ Pin
Christian Graus14-Jun-07 12:46
protectorChristian Graus14-Jun-07 12:46 
Questionreading XML using SAX method? Pin
andyspartyshop13-Jun-07 5:16
andyspartyshop13-Jun-07 5:16 
AnswerRe: reading XML using SAX method? Pin
Christian Graus14-Jun-07 12:47
protectorChristian Graus14-Jun-07 12:47 
QuestionAbout const char*& Pin
Nandu_77b13-Jun-07 2:21
Nandu_77b13-Jun-07 2:21 
AnswerRe: About const char*& Pin
Mark Salsbery13-Jun-07 4:57
Mark Salsbery13-Jun-07 4:57 
GeneralRe: About const char*& Pin
Nandu_77b18-Jun-07 3:14
Nandu_77b18-Jun-07 3:14 
GeneralRe: About const char*& Pin
Mark Salsbery18-Jun-07 4:59
Mark Salsbery18-Jun-07 4:59 
QuestionHow to fill a sector Pin
romcab13-Jun-07 0:07
romcab13-Jun-07 0:07 
AnswerRe: How to fill a sector Pin
Christian Graus13-Jun-07 13:57
protectorChristian Graus13-Jun-07 13:57 
Questioncast to a stored type Pin
Xeef12-Jun-07 11:56
Xeef12-Jun-07 11:56 
QuestionRe: cast to a stored type Pin
Mark Salsbery12-Jun-07 14:10
Mark Salsbery12-Jun-07 14:10 
QuestionSDL game engine Pin
HawkAgent12-Jun-07 2:39
HawkAgent12-Jun-07 2:39 
Question Stop Closing the main Dialog when a child Dailog is open? Pin
granshah @ eVisionISF12-Jun-07 2:33
granshah @ eVisionISF12-Jun-07 2:33 
AnswerRe: Stop Closing the main Dialog when a child Dailog is open? Pin
Christian Graus12-Jun-07 11:30
protectorChristian Graus12-Jun-07 11:30 

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.