Blackbone
Blackbone copied to clipboard
Trouble when C&P'ing "Samples" to external project
Pls make wiki (atleast Getting Started) about how to work with this library ._. #258 a bit helped, but this error have appeared.
C2955 'blackbone::RemoteFunctionBase': use of class template requires template argument list blackbone\process\rpc\remotefunction.hpp 180
That diff fixed problem, but I still think that's a bug.
src\blackbone\process\rpc\remotefunction.hpp
100: - using RemoteFunctionBase::RemoteFunctionBase;
101: -
102: RemoteFunction( Process& proc, R( __cdecl* ptr )(Args...) )
103: - : RemoteFunctionBase( proc, reinterpret_cast<ptr_t>(ptr) )
103: + : RemoteFunctionBase::RemoteFunctionBase( proc, reinterpret_cast<ptr_t>(ptr) )
Weird, inherited constructors became available a long time ago. Besides removing inherited ctors breaks one of the MakeRemoteFunction overload which is used in Samples