Re: Some theoretical reason?
lpVtbl is not pointing to a valid mmeory location since you haven't allocated anything for it. All you hvae done is allocated for the IExample. Just as you did this:
IExample* example;
You need to do similar thing for pointer members of IExample too.
Re: Some theoretical reason?
>
Quote:
Originally Posted by kirants
lpVtbl is not pointing to a valid mmeory location since you >haven't allocated anything for it. All you hvae done is allocated for the >IExample. Just as you did this:
>IExample* example;
>You need to do similar thing for pointer members of IExample too.
Thanks a lot. That unveil the mystery to me!!