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

Managed C++/CLI

 
GeneralRe: How to determine an inherited managed class in C++ Pin
Nish Nishant20-Nov-10 6:35
sitebuilderNish Nishant20-Nov-10 6:35 
AnswerRe: How to determine an inherited managed class in C++ Pin
Philippe Mori10-Mar-11 15:49
Philippe Mori10-Mar-11 15:49 
QuestionError C2691: 'int __gc[]' Pin
maklein9918-Nov-10 4:09
maklein9918-Nov-10 4:09 
QuestionUsing VC6 MFC DLLs in VS2008 Pin
Radhakrishnan G.2-Nov-10 2:49
Radhakrishnan G.2-Nov-10 2:49 
AnswerRe: Using VC6 MFC DLLs in VS2008 Pin
Nish Nishant2-Nov-10 3:03
sitebuilderNish Nishant2-Nov-10 3:03 
Questionproblem related to "Nural networks face detection algrithm" Pin
inayathussaintoori29-Oct-10 15:14
inayathussaintoori29-Oct-10 15:14 
AnswerRepost Pin
Richard MacCutchan29-Oct-10 22:35
mveRichard MacCutchan29-Oct-10 22:35 
QuestionCasting a function pointer Pin
alleyes26-Oct-10 8:32
professionalalleyes26-Oct-10 8:32 
I have a function pointer with the following signature:

typedef bool (__stdcall *CB_CheckStatus)(unsigned);

When used as follows in a native app.
bool __stdcall UpdateStatus(unsigned pctCompl)
{
printf("\r%d%%...", pctCompl);
return false;
}

And as an parameter in a native function which uses it:
DLLAPI HRESULT __stdcall ReadFile(size_t Size, BYTE* Buff, CB_CheckStatus UpdateStatus)

Can I change the parameter as a void parameter? I want to map a delegate to this function pointer so I can utilize a BackgroundWorker for a mixed-mode wrapper

How would you do that?
Thanks
AnswerRe: Casting a function pointer Pin
Nish Nishant26-Oct-10 10:03
sitebuilderNish Nishant26-Oct-10 10:03 
QuestionMapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
alleyes25-Oct-10 14:33
professionalalleyes25-Oct-10 14:33 
AnswerRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
Luc Pattyn25-Oct-10 14:45
sitebuilderLuc Pattyn25-Oct-10 14:45 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
alleyes25-Oct-10 14:55
professionalalleyes25-Oct-10 14:55 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
Luc Pattyn25-Oct-10 15:14
sitebuilderLuc Pattyn25-Oct-10 15:14 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
alleyes25-Oct-10 15:18
professionalalleyes25-Oct-10 15:18 
AnswerRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
Nish Nishant26-Oct-10 10:02
sitebuilderNish Nishant26-Oct-10 10:02 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
alleyes27-Oct-10 3:43
professionalalleyes27-Oct-10 3:43 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
Nish Nishant27-Oct-10 4:01
sitebuilderNish Nishant27-Oct-10 4:01 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
alleyes27-Oct-10 4:31
professionalalleyes27-Oct-10 4:31 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
Nish Nishant27-Oct-10 5:24
sitebuilderNish Nishant27-Oct-10 5:24 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
alleyes27-Oct-10 7:43
professionalalleyes27-Oct-10 7:43 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
Nish Nishant27-Oct-10 7:55
sitebuilderNish Nishant27-Oct-10 7:55 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
alleyes28-Oct-10 2:40
professionalalleyes28-Oct-10 2:40 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
Nish Nishant28-Oct-10 3:47
sitebuilderNish Nishant28-Oct-10 3:47 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
alleyes28-Oct-10 6:10
professionalalleyes28-Oct-10 6:10 
GeneralRe: Mapping a function pointer (CALLBACK) to a delegate to use in BacgroundWorker function parameter Pin
Nish Nishant28-Oct-10 8:27
sitebuilderNish Nishant28-Oct-10 8:27 

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.