sankar012898
asked on
Question on COM
hi ,
I have an IDL file .I want to know how to
declare a function pointer as a function argument in
the IDL file .
when I declared it like -->
int Save([in] FILE *fp , unsigned int (*pFn)(const void *buffer, size_t size, size_t count, FILE *stream));
The MIDL compiler ignores this declaration .
Here Save Method accepts a file pointer and also
a function pointer as an argument .However when I declared
it this way , the MIDL compiler ignored it .
I want to know how to declare it so that the
MIDL compiler accepts it .
If you have any clue to this problem , please
let me know .
Thanks in advance ,
bye
sankar
I have an IDL file .I want to know how to
declare a function pointer as a function argument in
the IDL file .
when I declared it like -->
int Save([in] FILE *fp , unsigned int (*pFn)(const void *buffer, size_t size, size_t count, FILE *stream));
The MIDL compiler ignores this declaration .
Here Save Method accepts a file pointer and also
a function pointer as an argument .However when I declared
it this way , the MIDL compiler ignored it .
I want to know how to declare it so that the
MIDL compiler accepts it .
If you have any clue to this problem , please
let me know .
Thanks in advance ,
bye
sankar
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.