Blackbone icon indicating copy to clipboard operation
Blackbone copied to clipboard

Trouble when C&P'ing "Samples" to external project

Open moofMonkey opened this issue 7 years ago • 2 comments

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

moofMonkey avatar Jul 26 '18 11:07 moofMonkey

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) )

moofMonkey avatar Jul 26 '18 20:07 moofMonkey

Weird, inherited constructors became available a long time ago. Besides removing inherited ctors breaks one of the MakeRemoteFunction overload which is used in Samples

DarthTon avatar Jul 27 '18 14:07 DarthTon