I have un-installed 3DGS re-installed it, cleaned my registry, set access rights, ran both debug and release builds all to no avail.

The call stack where the program crashes is as follows:

1) EngVar.initializePointers(IntPtr engVarPointer)

2) [within the function above]
#if A7_WRAPPER
#else
renderLayerEventHandler =
new Scheduler.NativeEventHandler<EventVoid>(renderLayerPointer);
#endif

3) setIntPtrFromIntPtr(IntPtr intPtrToVariable, IntPtr intPtrToWrite)

The exception occurs in the last function call.