View Single Post
  #5  
Old 08-31-2004, 16:17
GrosTuba
 
Posts: n/a
A typedef problem, maybe...

Hi

When you write
Code:
typedef void (*NotifyOnlineOrig)(DATE *,int);
, you are defining a type that is then recognized by the compiler, you are not declaring a variable at all.

You may try something like
Code:
typedef void (*t_NotifyOnlineOrig)(DATE *,int);
t_NotifyOnlineOrig NotifyOnlineOrig;
This way, you define a type AND a variable of this type that can be used to store a pointer to the old Notify routine. Of course, you may have to add or remove a few pointer indirections, but the basic idea is here...

Have a nice day

Tuba
Reply With Quote