COM inheritance Q

Mike Hearn mike at navi.cx
Thu Jan 13 15:45:25 CST 2005


On Thu, 13 Jan 2005 15:21:27 -0600, Robert Shearman wrote:
> But you'll get a warning because the WineD3DResource functions will take 
> a different type iface variable as their first parameter. You could cast 
> it to the correct type, but you'll lose all type checking on the 
> function and I wouldn't recommend it.

Hmm, true, how annoying. 

Still, I think relaxing type safety in this instance is better than lots
of relay functions that just rename the function especially in high
performance code like Direct3D.

thanks -mike




More information about the wine-devel mailing list