Not without knowing more of that DLL. If you get a 2, I'd suspect you called a wrong function, as the 2 could be the return value of AddRef. Make sure that your Vtbl contains the same functions in the same order and with the same types as in the orginal DLL; the 3 standard methods must be at the start. If some type is not supported by lite-C, find an equivalent of the same size - usually a long or void* works for everything.

If the class inherits something, be sure to add the inherited methods directly after the 3 standard methods, followed by the specific methods of the class. See the example in the manual.