View Single Post
client21
Senior Member
Join Date: Apr 2013
Old 06-04-2018 , 03:40   Re: SourceHook compile errors
Reply With Quote #3

ISmmPlugin.h

#define GET_V_IFACE_ANY(v_factory, v_var, v_type, v_name) \
v_var = (v_type *)ismm->VInterfaceMatch(ismm->v_factory(), v_name, 0); \
if (!v_var) \
{ \
if (error && maxlen) \
{ \
ismm->Format(error, maxlen, "Could not find interface: %s", v_name); \
} \
return false; \
}

Total commander can't find this stupid maxlen var.

Last edited by client21; 06-04-2018 at 03:40.
client21 is offline