Firemonkey, C++ Builder, Control-Model-Presentaion, TPresentationProxyFactory registeration Error

  

There is an unresolved external error in calling of register method of TPresentationProxyFactory, when passing the template based class TWinPresentationProxy__1, as the paramter, xxx is a TWinPresentation descendant class.

TPresentationProxyFactory::Current->Register(‘xxx’, __classid(TWinPresentationProxy__1<xxx>));

It is interesting that the Delphi equivalent line of code is working! Also interesting that TWinPresentationProxy__1 is a PASCALIMPLEMENTATION class?

Comments are closed.