Click here to Skip to main content
16,020,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionError executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Md Saleem Navalur23-Nov-08 23:54
Md Saleem Navalur23-Nov-08 23:54 
AnswerRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Ahmed Charfeddine24-Nov-08 3:08
Ahmed Charfeddine24-Nov-08 3:08 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Md Saleem Navalur24-Nov-08 19:57
Md Saleem Navalur24-Nov-08 19:57 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Ahmed Charfeddine24-Nov-08 21:47
Ahmed Charfeddine24-Nov-08 21:47 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Md Saleem Navalur25-Nov-08 1:03
Md Saleem Navalur25-Nov-08 1:03 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Ahmed Charfeddine25-Nov-08 2:14
Ahmed Charfeddine25-Nov-08 2:14 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Axel Zur3-Feb-11 20:22
Axel Zur3-Feb-11 20:22 
QuestionProblem using Pointer Functions Pin
ajorge200823-Nov-08 23:32
ajorge200823-Nov-08 23:32 
Hi to all!

I never used Pointer Functions, and now i'm trying to use a C Pointer Function in Visual Studio 2005. But there's a problem... the pointer function isn't working properly... This kind of functions doesn't work in the same way in C and in C++?

My pointer function declaration in C is:

void (*FktFunction)( void * RegistFuncPtr, TOnDriverEvent eventcallback);


and the call definition is:

(*FktFunction)(TDriverLayer_RegisterDevice, TSMAData_OnNewEvent);


At this time, the function TDriverLayer_RegisterDevice isn't working at all.

The declaration of that function is:

int TDriverLayer_RegisterDevice(struct TDevice * newdev);


Anyone could help me with this?

Best regards.
AnswerRe: Problem using Pointer Functions Pin
CPallini23-Nov-08 23:40
mveCPallini23-Nov-08 23:40 
GeneralRe: Problem using Pointer Functions Pin
ajorge200824-Nov-08 0:18
ajorge200824-Nov-08 0:18 
GeneralRe: Problem using Pointer Functions Pin
Cedric Moonen24-Nov-08 0:56
Cedric Moonen24-Nov-08 0:56 
GeneralRe: Problem using Pointer Functions Pin
ajorge200824-Nov-08 1:03
ajorge200824-Nov-08 1:03 
GeneralRe: Problem using Pointer Functions Pin
CPallini24-Nov-08 1:03
mveCPallini24-Nov-08 1:03 
GeneralRe: Problem using Pointer Functions Pin
ajorge200824-Nov-08 1:09
ajorge200824-Nov-08 1:09 
QuestionRe: Problem using Pointer Functions Pin
CPallini24-Nov-08 1:32
mveCPallini24-Nov-08 1:32 
AnswerRe: Problem using Pointer Functions Pin
ajorge200824-Nov-08 1:39
ajorge200824-Nov-08 1:39 
GeneralRe: Problem using Pointer Functions Pin
CPallini24-Nov-08 1:42
mveCPallini24-Nov-08 1:42 
Questionhow to access Pin
ramina sen23-Nov-08 23:28
ramina sen23-Nov-08 23:28 
AnswerRe: how to access Pin
CPallini23-Nov-08 23:38
mveCPallini23-Nov-08 23:38 
QuestionWhy CreateCompatibleDC not only CreateDC? Pin
kDevloper23-Nov-08 23:24
kDevloper23-Nov-08 23:24 
AnswerRe: Why CreateCompatibleDC not only CreateDC? Pin
akirilov24-Nov-08 0:59
akirilov24-Nov-08 0:59 
AnswerRe: Why CreateCompatibleDC not only CreateDC? Pin
Mark Salsbery24-Nov-08 6:39
Mark Salsbery24-Nov-08 6:39 
Questionhow i can use the code Pin
ramina sen23-Nov-08 23:22
ramina sen23-Nov-08 23:22 
AnswerRe: how i can use the code Pin
enhzflep23-Nov-08 23:53
enhzflep23-Nov-08 23:53 
GeneralRe: how i can use the code Pin
ramina sen24-Nov-08 3:22
ramina sen24-Nov-08 3:22 

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.