Use the CallBack methods of App42_UNITY3D_SDK_2.7.dll.
Because the non-CallBack methods will be marked as depricated in the future, as they are not unity safe.
Or Are you getting this error in the SDK sample. Just change the variable values and try to test the methods with the sample provided with the SDK.