Could not load file or assembly. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))
I would check your licenses.licx file and ensure the version specified in there matches exactly with the DLL you are referencing.
We often remove everything after the version in this file due to similar problems.
And LC usually refers to the license compiler, lc.exe.
It was another broken reference that caused this error.