Does JSCallBack in Firebreath help in this matter?Because what I just saw it only handles events occured in the firebreath(native c++) project.Am I right here? I used the concept of IConnectionPoint interface to establish a connection with the outgoing interface containing the Event signatures. My code closely resembles this post.
Also I found this info regarding Connection of COM with client.Have a question here now: Does my PluginAPI class needs to implement this Outgoing interface in PluginAPI.h file? Like this,
class PluginAPI : public FB::JSAPIAuto, public ManagedDLL::ICalculatorEvents
{
//register methods
}
If so, Then it's raising 2 errors
telling cannot instantiate abstract class. Points me to these lines of make_shared.hpp
template< class T, class A1, class A2 > boost::shared_ptr< T > make_shared( A1 && a1, A2 && a2 ) { boost::shared_ptr< T > pt( static_cast< T* >( 0 ), BOOST_SP_MSD( T ) );
boost::detail::sp_ms_deleter< T > * pd = boost::get_deleter< boost::detail::sp_ms_deleter< T > >( pt ); void * pv = pd->address(); ::new( pv ) T( ////HERE boost::detail::sp_forward<A1>( a1 ), boost::detail::sp_forward<A2>( a2 ) );
and 2. to alignment_of.hpp
template <typename T>
struct alignment_of_hack
{
char c;
T t; ///HERE
alignment_of_hack();
};
Stuck here for the last 2 days. Also any workaround for this.